get_predictors: get_predictors returns matrix of predictor variable data...

Description Usage Arguments Value

Description

get_predictors returns matrix of predictor variable data elements

Usage

1
get_predictors(y, betas, corr, p, error_fun)

Arguments

y

target value observations

betas

coefficients to use to make the target values

corr

correlation parameters that is a vector of length p. The X columns created with a correlation parameter value greater than 0 are authentic predictors and those with no correlation parameter are noise

p

number of predictive variables

error_fun

error function

Value

matrix of continuous predictive variables


rmsharp/stepwiser documentation built on May 26, 2019, 9:33 a.m.