grouplasso2pop_to_semipadd2pop: Convert output from grouplasso2pop to the fitted functions of...

View source: R/semipadd2pop.R

grouplasso2pop_to_semipadd2popR Documentation

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

Description

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

Usage

grouplasso2pop_to_semipadd2pop(
  X1,
  nonparm1,
  groups1,
  knots.list1,
  emp.cent1,
  QQ1.inv,
  b1,
  X2,
  nonparm2,
  groups2,
  knots.list2,
  emp.cent2,
  QQ2.inv,
  b2
)

Arguments

X1

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

nonparm1

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

groups1

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

knots.list1

a list of vectors with the knot locations for nonparametric effects for data set 1

emp.cent1

a list of vectors of the empirical basis function centerings for data set 1

QQ1.inv

the matrix with which to back-transform the group lasso coefficients for data set 1

b1

the group lasso coefficients for data set 1

X2

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

nonparm2

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

groups2

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

knots.list2

a list of vectors with the knot locations for nonparametric effects for data set 2

emp.cent2

a list of vectors of the empirical basis function centerings for data set 2

QQ2.inv

the matrix with which to back-transform the group lasso coefficients for data set 2

b2

the group lasso coefficients for data set 2


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