Initialize the input data structure.
initData(md)
A list holds all the input data with optional missing data info.
A list object including all the necessary data variables needed by the sampler.
Original data.
Vector containing the number of individuals in each household in the data.
Number of households in the data
The transposed household level data -- each column now represents each household.
Vector containing the household index for each individual in the data.
The total number of individuals N across all n households in the input data.
The real total number of individuals N across all n households. The is the same as n_individuals if the household head hasn't been moved to the household level and different otherwise.
Number of individual-level variables.
Vector containing the number of levels for each of the p
variables.
The transposed individual level data -- each column now represents each individual.
The max value in d
Vector containing the number of observed households for the different household sizes in the original data.