ridgereg-class: ridge regression

Description Fields

Description

Function "visualize_airport_delays" is implemented in this class. To call this function,first need to build an object of this class r1 <- ridgereg$new(Petal.Length~Species, data = iris, lambda = 1) r1$visualize_airport_delays().

Fields

regco:

regression coefficient (beta with a hat)

fitted_value:

fitted value (y with a hat)

residuals

: residuals (e with a hat)

deg_of_fredom

: degree of fredom

resi_var:

variance of residuals

regco_var:

variance of regression coefficient

t_regco:

t value of regression coefficient

object:

input formula

data

: input dataframe(the data reference of formula)

dataname:

name of dataframe

fname

: string of formula(without bracket)

mat1:

created by model.matrix()

y:

true value in dataframe not estimated value


WuhaoStatistic/bonuslab documentation built on Dec. 18, 2021, 7:20 p.m.