post_lasso: post-selection estimation

View source: R/postlasso.R

post_lassoR Documentation

post-selection estimation

Description

post-selection estimation

Usage

post_lasso(x, y, coef.est, intercept = TRUE, scalex = FALSE)

Arguments

x

Predictor matrix (n-by-p matrix)

y

Response variable

coef.est

shrinkage estimation results

intercept

A boolean: include an intercept term or not

Value

A list contains estimated intercept and slope

ahat

Estimated intercept

bhat

Estimated slope

Examples

post_lasso(x,y,coef.est)


zhan-gao/LasForecast documentation built on Sept. 18, 2024, 9:40 p.m.