print.iOLS_path {IOLS}R Documentation

print.iOLS_path

Description

Function that prints an iOLS_path fitted model object.

Usage

## S3 method for class 'iOLS_path'
print(m, delta_rank = NULL, ...)

Arguments

m

An iOLS_path fitted model object.

delta_rank

Among all the hyper-parameters delta, we can choose to plot the "iOLS_path" fitted model object corresponding to the chosen delta_rank. If a value is not precised, the default value is NULL and the function will only display the estimated parameter(s) in function of log(delta).

...

other parameters.

Value

a display of a iOLS_path fitted model object.

Examples

data(DATASET)
y = DATASET$y
x = as.matrix(DATASET[,c("X1","X2")])
lm = lm(log(y+1) ~ x)
lm_coef = c(coef(lm))
X = cbind(rep(1, nrow(x)), x)
k = iOLS_path(y, X, b_init = lm_coef, deltainf = 10^-5,
deltasup = 10^4, nbre_delta = 20,
epsi = 10^-3, error_type = "HC0")

#Printing of all the iOLS regression:
print(k)

#Printing of the 6th iOLS regression :
print(k, delta_rank = 6)


[Package IOLS version 0.1.4 Index]