expectedXi: Estimate variational parameter for the current subject.

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Function calculates value of variational parameter using maximum likelihood.

Usage

1
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.


julia-wrobel/registr documentation built on Jan. 16, 2022, 2:51 a.m.