estimateErrorFlexCoDEKernel: Estimate error (risk) of FlexCoDE object via test set

Description Usage Arguments Value

View source: R/basicFunctionsKernel.R

Description

Estimate error (risk) of FlexCoDE object via test set

Usage

1
estimateErrorFlexCoDEKernel(objectCDE, kernelTestTrain, zTest, se = TRUE)

Arguments

objectCDE

is an object of the class FlexCoDEtypically typically fitted used fitFlexCoDE beforehand

zTest

Response z of the sample used to test the model (one observation per row)

se

Should standard error be computed? Default is TRUE

xTest

Covariates x of the sample used to test the model (one observation per row)

Value

Estimated error (with SE if desired)


rizbicki/FlexCoDE documentation built on Feb. 10, 2022, 3:14 p.m.