This function makes predictions from a PTReg model, using the stored "PTReg" object.
# S3 method for PTReg
predict(object, newE, newG, ...)Fitted "PTReg" object.
Matrix of new values for E at which predictions are to be
made.
Matrix of new values for G at which predictions are to be
made.
Not used. Other arguments to predict.
The object returned depends on the … argument which is passed
on to the predict method for PTReg objects.
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.
PTReg, coef and plot methods, and bic.PTReg.