predict_var_prior: predict_var_prior

View source: R/Predict.R

predict_var_priorR Documentation

predict_var_prior

Description

Predicts the variance of response, given covariates X, logit regression coefficients alpha and a specified model of expert functions.

Usage

predict_var_prior(X, alpha, model, exposure_future = list())

Arguments

X

A matrix of covariates.

alpha

A matrix of logit regression coefficients.

model

A matrix specifying the expert functions.

exposure_future

A vector indicating the time exposure of each observation. If nothing is supplied, it is set to 1.0 by default.

Value

result A matrix of predicted variance of response, based on prior probabilities.


sparktseung/LRMoE documentation built on March 21, 2022, 3:22 a.m.