sim_eval_components: Evaluate the model components in the simulation

sim_eval_componentsR Documentation

Evaluate the model components in the simulation

Description

This function takes the folder containing the results of a simulation scenario and returns a data frame with relative MSE values for the separate model components.

Usage

sim_eval_components(folder, m_true_comp, label_cov, relative = TRUE, I = 9,
  J = 16, reps = 5, nested = FALSE, fixed_fpc = TRUE, sigma2 = NULL)

Arguments

folder

Folder with saved objects from the simulation.

m_true_comp

True model components used for the simulation.

label_cov

Vector of labels for the covariates.

relative

Is the relative error measure to be used or the absolute? Defaults to TRUE.

I

Number of levels for component B. Defaults to 9.

J

Number of levels for component C. Defaults to 16.

reps

Number of repetitions of the levels of B and C. Defaults to 5.

nested

TRUE if the model component C is nested. Defaults to FALSE.

fixed_fpc

FALSE if the number of FPCs in the model is selected by the model not by the user. This means that eigenvalues, scores and eigenfunctions are not evaluated. Defaults to TRUE.

sigma2

Vector of true values can be supplied if they differ from the values in m_true_comp. Defaults to NULL.


alexvolkmann/multifammPaper documentation built on Sept. 9, 2024, 8:47 p.m.