The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Performs capture-recapture estimation by averaging over decomposable graphical models. This implements the approach introduced in Madigan and York (1997).
Stable CRAN release:
install.packages("dga")
Five lists example from Madigan and York (1997):
library(dga)
# Number of lists and prior hyperparameter
<- 5
p data(graphs5) # Decomposable graphical models on 5 lists.
<- 0.5
delta <- 1:300 # Reasonable range for the number of unobserved individuals.
Nmissing
# Counts corresponding to list inclusion patterns.
<- c(0,27,37,19,4,4,1,1,97,22,37,25,2,1,3,5,83,36,34,18,3,5,0,2,30,5,23,8,0,3,0,2)
Y <- array(Y, dim=c(2,2,2,2,2))
Y <- sum(Y) + Nmissing
N
# Model-wise posterior probaiblities on the total population size.
# weights[i,j] is the posterior probability for j missing individuals under model graphs5[[j]].
<- bma.cr(Y, Nmissing, delta, graphs5)
weights
# Plot of the posterior distribution.
plotPosteriorN(weights, N)
Written by James Johndrow, Kristian Lum, and Patrick Ball.
copyright (c) 2015 Human Rights Data Analysis Group (HRDAG) https://hrdag.org
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.