estimate_scores: Solve the GLMM based on the Estimates of the scores for the...

Description Usage Arguments Value

View source: R/functions.R

Description

Solve the GLMM based on the Estimates of the scores for the multilevel scenario

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
estimate_scores(
  data_formatted,
  s_mat,
  J,
  I,
  eigen_vals1,
  eigen_vals2,
  eigen_funcs1,
  eigen_funcs2,
  mu_t
)

Arguments

data_formatted

NJ x D binary matrix

s_mat

Matrix of estimated latent state values S

J

Number of curves per subject

I

N Number of subjects

eigen_vals1

Vector of Eigenvalues of the first level (individual) effects

eigen_vals2

Vector of Eigenvalues of the second level (daily) effects

eigen_funcs1

Matrix K1 x D of eigenfunctions of first level

eigen_funcs2

Matrix K2 x D of eigenfunctions of second level

mu_t

Mean function vector

Value

First Level Scores for every individual


acweisha/gFPCAClassif documentation built on Dec. 18, 2021, 10:23 p.m.