predictionXonly: predictionXonly predicts Xd given the estimated parameters of...

Description Usage Arguments Value

Description

predictionXonly predicts Xd given the estimated parameters of the mixture and the regression coef within component X1:(d-1)

Usage

1
predictionXonly(XonlyModel, covariate, Y = NULL)

Arguments

XonlyModel

a list containing bestModel, the mixture model to create the group and regCoef the regression coef within group

covariate

the vector (or matrix (n,d-1) ) X1:(d-1) of the covariates to predict Xd

Y

an optionnel vector with length equals to the number of rows for Xd. If given, the rmse is computed.

Value

a numeric vector Xd size(n)


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