PR.boot.err.Func: Application of Penalized Regression method

Description Usage Arguments Details Value

View source: R/PR_boot_err_Func.R

Description

Returns the estimated accurasy measures of Sensitivity, Specificity, and Misclassification using Confusion matrix.

Usage

1
2
PR.boot.err.Func(x.train, y.train, x.test, y.test, alphaLevel,
  family = "binomial", type = "class")

Arguments

x.train

A data frame of training data set for independent variables.

y.train

A data frame of training data set for dependent variable.

x.test

A data frame of testing data set for independent variables.

y.test

A data frame of testing data set for dependent variable.

alphaLevel

User defined Alpha tunning parameter setting.

family

A distribution of the outcome variable.

type

Is this a classification or regression?

Details

A Penalized Regression model is trained using a training data set and estimate accuracy measures using a test data set. The number of tree is defined by a user and the default value of it is 300.

Value

A list of PR.fit PR fitted object. A non0coeff is the estimated non-zerio coefficients. A PR.err.vect a matrix of the estimated accurasy measures of Sensitivity, Specificity, and Misclassification for Training set, Testing set and overall one.


jjsayleraxio/JTIMLmaster documentation built on Nov. 4, 2019, 2:57 p.m.