penalty {springer}R Documentation

This function provides the penalty functions. Users can choose one of the three penalties: sparse group MCP, group MCP and MCP.

Description

This function provides the penalty functions. Users can choose one of the three penalties: sparse group MCP, group MCP and MCP.

Usage

penalty(x, n, t, p, q, beta, lam1, structure, p1, lam2)

Arguments

x

the matrix of predictors, consisting of the clinical covariates, environmental factors, genetic factors and gene-environment interactions.

n

the sample size.

t

the number of clinical covariates.

p

the number of predictors, which consists of the clinical covariates, environmental factors, genetic factors and gene-environment interactions.

q

the number of environment factors.

beta

the coefficient vector.

lam1

the tuning parameter \lambda_1 for individual-level penalty.

structure

Three choices are available for structured variable selection. "bilevel" for sparse-group selection on both group-level and individual-level. "group" for selection on group-level only. "individual" for selection on individual-level only.

p1

the number of genetic factors.

lam2

the tuning parameter \lambda_2 for group-level penalty.

Details

When structure="bilevel", sparse group MCP is adopted and variable selection for longitudinal data including both genetic main effects and gene-environment interactions will be conducted on both individual and group levels (bi-level selection):

If structure="group", group MCP will be used and only group-level selection will be conducted on ||\eta_{v}||_{2}; if structure="individual", MCP will be adopted and only individual-level selection will be conducted on each \eta_{vu}, (u=1,\ldots,q).

The minimax concave penalty (MCP) is adopted as the baseline penalty function in the springer package. Methods based on other popular choices, such as SCAD and LASSO, will be examined in the future.

Value

H

the penalty function.


[Package springer version 0.1.9 Index]