predict_mean_prior.Rd
Predicts the mean values of response, given covariates X
, logit regression coefficients alpha
and a specified model
of expert functions.
predict_mean_prior(X, alpha, model, exposure_future = list())
A matrix of covariates.
A matrix of logit regression coefficients.
An ExpertMatrix
A vector indicating the time exposure (future) of each observation. If nothing is supplied, it is set to 1.0 by default.
result: A matrix of predicted mean values of response, based on prior probabilities.