predict_var_posterior | R Documentation |
Predicts the variance of response, given observations Y
, covariates X
,
logit regression coefficients alpha
and a specified model
of expert functions.
predict_var_posterior( Y, X, alpha, model, exposure_past = list(), exposure_future = list(), exact_Y = F )
Y |
A matrix of responses. |
X |
A matrix of covariates. |
alpha |
A matrix of logit regression coefficients. |
model |
A matrix specifying the expert functions. |
exposure_past |
A vector indicating the time exposure (past) of each observation. If nothing is supplied,it is set to 1.0 by default. |
exposure_future |
A vector indicating the time exposure (future) of each observation. If nothing is supplied,it is set to 1.0 by default. |
exact_Y |
Bool variable. indicating if |
result A matrix of predicted variance of response, based on posterior probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.