getBeta: gets the ML estimate of the covariates given coeffients...

View source: R/latentModel.R

getBetaR Documentation

gets the ML estimate of the covariates given coeffients @param theta (3 x 1) log(\sigma_Y), log(\tau), log(\sigma_U) @param likobj (list) contaning: Yu (n x 1) the data (modifed by U in the SVD(X)) Xu (n x k + 1) the covariates, for \beta (modifed by U in the SVD(X)) H (n x n_c) covariance matrix HHt (n x n) SVDX (list) singular value decomposition of X @param restricted (bool) use restricted maximum likelihood @param Xu - (k x 1) covariates supplied (optional)

Description

gets the ML estimate of the covariates given coeffients @param theta (3 x 1) log(\sigma_Y), log(\tau), log(\sigma_U) @param likobj (list) contaning: Yu (n x 1) the data (modifed by U in the SVD(X)) Xu (n x k + 1) the covariates, for \beta (modifed by U in the SVD(X)) H (n x n_c) covariance matrix HHt (n x n) SVDX (list) singular value decomposition of X @param restricted (bool) use restricted maximum likelihood @param Xu - (k x 1) covariates supplied (optional)

Usage

getBeta(theta, likObj, Xu = NULL)

JonasWallin/PolyMixed documentation built on April 8, 2023, 4:26 p.m.