predict.plasso: Predict after Post-Lasso.

View source: R/plasso.R

predict.plassoR Documentation

Predict after Post-Lasso.

Description

Predict after Post-Lasso.

Usage

## S3 method for class 'plasso'
predict(plasso, xnew = NULL, se_rule = 0, weights = FALSE)

Arguments

plasso

plasso object

xnew

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

se_rule

If equal to zero predictions from CV minimum (default). Negative values go in the direction of smaller models (e.g. se_rule=-1 creates the standard 1SE rule), positive values go in the direction of larger models (e.g. se_rule=1 creates the standard 1SE+ rule)

weights

If TRUE, weights underlying the prediction for xnew calculated


MCKnaus/causalDML documentation built on Aug. 19, 2023, 5:47 p.m.