check_model.fit_model_local_foreign 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_local_foreign
check_model(x)

Arguments

x

outputs from model_local_foreign

Value

It returns a list with the following elements:

  • model_local_foreign the output from the model

  • data_ggplot a list containing information for ggplot:

    • data_ggplot_residuals a list containing :

      • data_ggplot_normality

      • data_ggplot_skewness_test

      • data_ggplot_kurtosis_test

      • data_ggplot_shapiro_test

      • data_ggplot_qqplot

    • data_ggplot_variability_repartition_pie

    • data_ggplot_var_intra

Details

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

See also