Learn R Programming

CorReg (version 1.0.5)

cleanYtest: Selection method based on p-values (coefficients)

Description

Selection method based on p-values (coefficients)

Usage

cleanYtest(Y = Y, X = X, pvalmin = 0.05, bonferroni = F, A = NULL)

Arguments

Y
the response variable
X
the dataset of the covariates (without the response)
pvalmin
the maximal bound for p-value associated to remaining coefficients
bonferroni
boolean defining wether a Bonferroni correction is applied or not
A
optional vector of coefficients to coerce some zeros