Learn R Programming

CorReg (version 1.0.5)

Y_generator: Response variable generator with a linear model

Description

Response variable generator with a linear model

Usage

Y_generator(X = X, Amax = NULL, sigma_Y = 10, positive = 0.6,
  Z = NULL, tp1 = 1, tp2 = 1, tp3 = 1, pb = 0)

Arguments

X
the dataset
Amax
maximum number of non-zero coefficients
sigma_Y
the standard deviation of the noise
positive
the ratio of positive coefficients
Z
the structure adjacency matrix
tp1
ratio of the right-side covariates in A
tp2
ratio of the left-side covariates in A
tp3
ratio of the totally independent covariates (if exists) in A
pb
kind of problem : 0=none, 1=simple, 2=strong