R/check_model.fit_model_bh_variance_intra.R
check_model.fit_model_bh_variance_intra.Rd
check_model.fit_model_bh_variance_intra
computes tests to assess if the model went well.
It is important to run this step before going ahead with the analysis otherwise you may make mistakes in the interpretation of the results.
# S3 method for fit_model_bh_variance_intra check_model(x)
x | outputs from |
---|
It returns a list with the following elements:
MCMC : a data fame resulting from the concatenation of the two MCMC for each parameter
MCMC_conv_not_ok : a data fame resulting from the concatenation of the two MCMC for each parameter for environment where some parameters did not converge for mu and beta
data_ggplot a list containing information for ggplot:
mu
sigma
epsilon
S3 method. The different test apply to the model are explained in the book here.