View source: R/summarise_seromodel.R
summarise_seromodel | R Documentation |
Summarise specified model
summarise_seromodel(
seromodel,
serosurvey,
alpha = 0.05,
par_loo_estimate = "elpd_loo",
loo_estimate_digits = 1,
central_estimate_digits = 2,
rhat_digits = 2
)
seromodel |
stan_fit object obtained from sampling a model with fit_seromodel |
serosurvey |
|
alpha |
1 - alpha indicates the credibility level to be used |
par_loo_estimate |
Name of the loo estimate to be extracted. Available options are:
For additional information refer to loo. |
loo_estimate_digits |
Number of loo estimate digits |
central_estimate_digits |
Number of central estimate digits |
rhat_digits |
Number of rhat estimate digits |
A list summarising the specified model
model_name
Name of the model
elpd
elpd and its standard deviation
foi
Estimated foi with credible interval (for 'constant' model)
foi_rhat
foi rhat value (for 'constant' model)
seroreversion_rate
Estimated seroreversion rate
seroreversion_rate_rhat
Seroreversion rate rhat value
data(veev2012)
seromodel <- fit_seromodel(veev2012, iter = 100)
summarise_seromodel(seromodel, veev2012)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.