Man pages for AurMad/STOCfree
STOC free model: prediction of probability of freedom from longitudinal data

add_risk_factorAdds a risk factor to a new infection dataset
date_from_lagGenerates an initial date from a reference date and a time...
dnorm_logitThe normal distribution on the logit scale
ess_STOCfree_paramEffective sample sizes of STOC free model parameters
extract_herd_from_status_idExtract data from a STOCfree_data object based on status ids
extract_STOCfree_month_prevExtracting draws from the posterior distributions for monthly...
extract_STOCfree_paramExtracting parameter MCMC samples from the results of a STOC...
extract_STOCfree_predExtracting MCMC samples for the predicted probabilities of...
herdBTMBulk tank milk ELISA test results for 100 herds
herd_summarySummary of herd level probabilities of infection generated by...
introDate and number of animals introduced in the tested farms
invlogitInverse logit function
logitlogit function
logit_nwinfLogistic regression for the probability of new infection
logit_nwinf_laggedModelling of all possible lagged relationships between risk...
make_month_idCreates a data.frame with first date of month and...
make_nwinf_dataCreates a dataset with new infection events from herd level...
param_summarySummary quantiles for the STOC free model parameters
plot_priors_rfPlotting prior distributions for the risk factors of new...
plot_priors_status_dynPlots the prior distributions for the parameters related to...
plot_priors_testsPlot the distribution for the prior distributions on test...
plot.STOCfree_month_prevBoxplot of monthly prevalences predicted by the STOC free...
plot.STOCfree_paramplot method for STOCfree parameters
plot.STOCfree_predplot method for herd-level predicted probabilities of being...
print.STOCfree_paramprint method for STOCfree parameters
print.STOCfree_predprint method for predicted probabilities of status positive
read_STOCfree_month_prevImporting output files for predicted monthly prevalences...
read_STOCfree_paramImporting MCMC samples for model parameters from the results...
read_STOCfree_predImporting MCMC samples for the predicted probabilities of...
set_priors_rfSet priors associated with risk factors of new infection
set_priors_status_dynSets the parameters associated with priors related to...
set_priors_testsSet parameters for the Beta distributions used to represent...
sf_add_risk_factorAdd a risk factor to STOCfree_data
sf_remove_risk_factorRemove risk factor from STOCfree_data
show_priors_status_dynShows the parameters associated with priors related to...
show_rfList of risk factors of new infection in a STOCfree_data
show_testsShows parameter of the Beta distributions used to represent...
STOCfree_dataSTOCfree_data class
STOCfree_JAGSJAGS implementation of the STOC free model
STOCfree_JAGS_dataCreates the JAGS model input data
STOCfree_StanStan implementation of the STOC free model
summary.STOCfree_paramsummary method for the STOCfree_param class
summary.STOCfree_predsummary method for herd-level predicted probabilities of...
write_JAGS_modelWrites a text file with the JAGS model. For internal use.
write_Stan_modelWrites the code for the Stan model. For internal use.
AurMad/STOCfree documentation built on Sept. 13, 2022, 3:20 a.m.