grouplasso_to_semipadd: Convert output from grouplasso to the fitted functions of the...

View source: R/semipadd.R

grouplasso_to_semipaddR Documentation

Convert output from grouplasso to the fitted functions of the semi-parametric additive model

Description

Convert output from grouplasso to the fitted functions of the semi-parametric additive model

Usage

grouplasso_to_semipadd(X, nonparm, groups, knots.list, emp.cent, QQ.inv, b)

Arguments

X

the matrix with the observed covariate values (including a column of ones for the intercept)

nonparm

a vector indicating for which covariates a nonparametric function is to be estimated

groups

a vector indicating to which group the entries of the coefficient vector b belong

knots.list

a list of vectors with the knot locations for nonparametric effects

emp.cent

a list of vectors of the empirical basis function centerings

QQ.inv

the matrix with which to back-transform the group lasso coefficients

b

the group lasso coefficients


gregorkb/semipadd2pop documentation built on Oct. 2, 2022, 1:37 p.m.