compute_random_coef: compute_random_coef computes the random effects: intercepts...

Description Usage Arguments Value See Also

Description

compute_random_coef computes the random effects: intercepts and slopes from raudenbush and bryk (2002) Hierarchial linear models, 2nd edition, EQUATION 14.15a

Usage

1
compute_random_coef(c_inv, fixed_coef, zy, zx)

Arguments

c_inv

The inverse of the uncertainty matrix,

fixed_coef

A vector with coefficients of the fixed effects.

zy

The product of random effects variables and dependent variable, a vector.

zx

The product of random effects variables and fixed effect variables, a matrix.

Value

A vector with predicted random effects coefficients.

See Also

compute_c_inv.


L-Ippel/SEMA documentation built on May 30, 2019, 8:23 a.m.