predict.cvek: Predicting New Response

Description Usage Arguments Details Value Author(s)

Description

Predicting new response based on given design matrix and the estimation result.

Usage

1
2
## S3 method for class 'cvek'
predict(object, data_new)

Arguments

object

(list) Estimation results returned by estimation() procedure.

data_new

(dataframe) The new set of predictors, whose name is the same as those of formula estimation().

Details

After we obtain the estimation result, we can predict new response.

Value

y_pred

(vector of length n) Predicted new response.

Author(s)

Wenying Deng


statmlhb/CVEK documentation built on May 5, 2019, 3:47 a.m.