Extracts central estimates from stan_fit object for specified parameter
extract_central_estimates.Rd
Extracts central estimates from stan_fit object for specified parameter
Arguments
- seromodel
stan_fit object obtained from sampling a model with fit_seromode
- serosurvey
survey_year
Year in which the survey took place (only needed to plot time models)
age_min
Floor value of the average between age_min and age_max
age_max
The size of the sample
n_sample
Number of samples for each age group
n_seropositive
Number of positive samples for each age group
- alpha
1 - alpha indicates the credibility level to be used
- par_name
String specifying the parameter to be extracted from
seromodel