predFMR: predictFMR computes the prediction for the given covariates...

Description Usage Arguments Value

Description

predictFMR computes the prediction for the given covariates data with FMR model and parameter theta

Usage

1
predFMR(covariates, theta)

Arguments

covariates

a matrix or data.frame with the d columns of X

theta

a list containing the parameter value to be used for prediction

Value

a vector of length nrow(covariates) containing the prediction i.e \hatY^(k)_i \P(Z_i=k\vert X_i)


MarieEtienne/MixtLiP documentation built on May 7, 2019, 2:51 p.m.