mz.friedman1: generate modified friedman1 data set: 5 real, 5 uniform...

Description Usage Arguments Value Note

View source: R/mz.R

Description

generate modified friedman1 data set: 5 real, 5 uniform noise, 5 correlated with real, p-15 normal noise

Usage

1
mz.friedman1(n = 100, p = 55)

Arguments

n

sample size

p

total predictors (>15)

Value

y is numeric vector, x is numeric data frame, already z scored (to matrix: data.matrix(x)), xy is a data frame with xy

Note

Y = 10sin(pi X1 X2) + 20(X3 − 0.5)^2 + 10 X4 + 5 X5 + e


jerryzhujian9/mzR documentation built on Jan. 10, 2022, 10:17 a.m.