bhpm.pointmass.weights {bhpm} | R Documentation |
This function generate a template for weights for the proposal distribution used to sample theta variables in models which use a point-mass.
bhpm.pointmass.weights(cluster.data)
cluster.data |
A file or data frame containing the cluster data for analysis. |
A dataframe containing the weightings template for each outcome grouping, outcome and, if required, cluster.
R. Carragher
data(bhpm.cluster.data1)
pmw <- bhpm.pointmass.weights(bhpm.cluster.data1)
head(pmw, 2)