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)

Arguments

x

outputs from model_bh_variance_intra

Value

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

Details

S3 method. The different test apply to the model are explained in the book here.

See also