updatemu {BAREB} | R Documentation |
Function to update estimated mean CAL values based on current parameters
Description
This function takes current parameters, gives an estimated mean CAL values.
Usage
updatemu(R, Z, X, Gamma, K, Beta, E, m,n,p, q)
Arguments
R |
current site level clustering matrix |
Z |
the site level covariate matrix |
X |
the patient level covariate matrix |
Gamma |
current site level linear coefficients array |
K |
a vector recording numbers of site level clusters |
Beta |
current patient level linear coefficients matrix |
E |
current patient level clustering vector |
m |
number of sites |
n |
number of patients |
p |
dimension of patient level covariates |
q |
dimension of site level covariates |
Value
updatemu(R, Z, X, Gamma, K, Beta, E, m,n,p, q)
returns the updated estimated mean CAL matrix.
Author(s)
Yuliang Li
See Also
update_RJ for a complete example for all functions in this package.
[Package BAREB version 0.1.2 Index]