predict.bic.PTReg: Make predictions from a "bic.PTReg" object

View source: R/predict.bic.PTReg.R

predict.bic.PTRegR Documentation

Make predictions from a "bic.PTReg" object

Description

This function makes predictions from a BIC PTReg model, using the stored "bic.PTReg" object. This function makes it easier to use the results of BIC to make a prediction.

Usage

## S3 method for class 'bic.PTReg'
predict(object, newE, newG, ...)

Arguments

object

Fitted "bic.PTReg" object.

newE

Matrix of new values for E at which predictions are to be made.

newG

Matrix of new values for G at which predictions are to be made.

...

Not used. Other arguments to predict.

Value

The object returned depends on the ... argument which is passed on to the predict method for PTReg objects.

References

Yaqing Xu, Mengyun Wu, Shuangge Ma, and Syed Ejaz Ahmed. Robust gene-environment interaction analysis using penalized trimmed regression. Journal of Statistical Computation and Simulation, 88(18):3502-3528, 2018.

See Also

bic.PTReg, and coef, and plot methods, and PTReg.


GEInter documentation built on May 20, 2022, 1:17 a.m.