cv.twosets: Two-fold Cross-Validation

Description Usage Arguments Value

View source: R/pass.R

Description

To calcuate two-fold cross-validation based on a random splitting

Usage

1
cv.twosets(data1, beta1.hat, data2, beta2.hat)

Arguments

data1

The first subsample

beta1.hat

The sparse solution obtained from the first subsample

data2

The second subsample

beta2.hat

The sparse solution obtained from the second subsample

Value

cv.value

The two-fold cross-validation value.


pass documentation built on May 30, 2017, 3:33 a.m.