vi.calc: Calculate V_i = Z_i D t(Z_i) + sig_e^2 I_n_i

Description Usage Arguments Value

View source: R/Functions2.R View source: R/Functions5.R

Description

Calculate V_i = Z_i D t(Z_i) + sig_e^2 I_n_i

Calculate V_i = Z_i D t(Z_i) + sig_e^2 I_n_i

Usage

1
2
3
vi.calc(zi, sigma.vc, rho.vc, sigma.e)

vi.calc(zi, sigma.vc, rho.vc, sigma.e)

Arguments

zi

n_i by 2 design matrix for the random effects

sigma.vc

vector of variance components on standard deviation scale

rho.vc

vector of correlations among the random effects. The length should be q choose 2

sigma.e

std dev of the measurement error distribution

sigma0

std dev of the random intercept distribution

sigma1

std dev of the random slope distribution

rho

correlation between the random intercept and slope

sigmae

std dev of the measurement error distribution

zi

n_i by q design matrix for the random effects

Value

V_i

V_i


schildjs/ods4lda documentation built on March 16, 2020, 8:16 a.m.