expectedXi: Estimate variational parameter for the current subject.

View source: R/RcppExports.R

expectedXiR Documentation

Estimate variational parameter for the current subject.

Description

Function calculates value of variational parameter using maximum likelihood.

Usage

expectedXi(theta, mu, mi, psi, Ci)

Arguments

theta

spline basis functions for the current subject.

mu

vector of spline coefficients for the population mean.

mi

vector of expected mean scores for the current subject.

psi

matrix of spline coefficients for the principal component basis functions.

Ci

expected covariance matrix of scores for the current subject.

Value

A vector of variational parameters for the current subject.


registr documentation built on Oct. 3, 2022, 1:05 a.m.