Learn R Programming

BAREB (version 0.1.2)

updatec: Function to update c in missingess model

Description

This function takes current parameters, gives updated c in missingess model. Note a double type of value is returned

Usage

updatec(Zstar, mu,  D, sigmac,sigma_square, n, T0)

Value

updatec(Zstar, mu, D, sigmac, n, T0) returns the updated c in missingess model.

Arguments

Zstar

generated latent value for missingness model

mu

current estimated mean matrix for CAL

D

the D matrix in the paper

sigmac

hyperparamter for c (variance)

sigma_square

current estimated noise variance

n

number of patients

T0

number of teeth

Author

Yuliang Li

See Also

update_RJ for a complete example for all functions in this package.