b_samp: Sample subject specific random effects

View source: R/RcppExports.R

b_sampR Documentation

Sample subject specific random effects

Description

Sample subject specific random effects

Usage

b_samp(Omega, beta, R, theta, X, q, Z, ZtZ, N)

Arguments

Omega

current covariance matrix

beta

current fixed effect coefficients vector

R

component of current outcome vector (Y.I=cos(theta)*R, Y.II=sin(theta)*R)

X

design matrix model parameters (differs per person)

q

dimension Z(number of random effects)

Z

design matrix for random effects (differs per person)

ZtZ

transpose(Z)*Z

N

sample size at second level


bpnreg documentation built on May 29, 2024, 12:35 p.m.