Generate a vector of school assignments for all individuals in the population
Source:R/variables.R
generate_initial_schools_bootstrap.Rd
Alternative to generate_initial_schools
. Rather than using a parametric
distribution, this function uses sampling with replacement from a reference
dataset. This is known as bootstrapping. The dataset used is schools_uk
.
Arguments
- parameters_list
A list of model parameters as generated by
get_parameters
- age_class_variable
An
individual::CategoricalVariable
for the age classes