This function takes current parameters, gives updated c in missingess model. Note a double type of value is returned
updatec(Zstar, mu, D, sigmac,sigma_square, n, T0)
updatec(Zstar, mu, D, sigmac, n, T0)
returns the updated c in missingess model.
generated latent value for missingness model
current estimated mean matrix for CAL
the D matrix in the paper
hyperparamter for c (variance)
current estimated noise variance
number of patients
number of teeth
Yuliang Li
update_RJ for a complete example for all functions in this package.