extract_components_uni function

Extract Model Components to be Compared from Univariate Model

Extract Model Components to be Compared from Univariate Model

This is an internal function that helps to compare different models. The models resulting from a multiFAMM() call are typically very big. This function extracts the main information from a univariate model so that a smaller R object can be saved.

extract_components_uni(model)

Arguments

  • model: Univariate multiFAMM model object from which to extract the information.

Returns

A list with the following elements

  • error_var: A list containing the following elements

    • model_weights: Model weights used in the final multiFAMM.
    • modelsig2: Estimate of sigma squared in the final model.
    • uni_vars: Univariate estimates of sigma squared.
  • eigenvals: List containing the estimated eigenvalues.

  • fitted_curves: multiFunData object containing the fitted curves.

  • eigenfcts: multiFunData object containing the estimated eigenfunctions.

  • cov_preds: multiFunData object containing the estimated covariate effects.

  • ran_preds: List containing multiFunData objects of the predicted random effects.

  • scores: List containing matrices of the estimated scores.

Details

So far the grid is fixed to be on [0,1].

  • Maintainer: Alexander Volkmann
  • License: GPL (>= 2)
  • Last published: 2021-09-28

Useful links