Skip to contents

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.

Usage

generate_initial_schools_bootstrap(parameters_list, age_class_variable)

Arguments

parameters_list

A list of model parameters as generated by get_parameters

age_class_variable

An individual::CategoricalVariable for the age classes