xtycovDS: Estimation of lambda max

View source: R/xtycovDS.R

xtycovDSR Documentation

Estimation of lambda max

Description

Lambda max corresponds to the lambda for which all beta are equal to 0, except for covariate betas, which fully vary

Usage

xtycovDS(x, y, covar, type, betaCov)

Arguments

x

One matrix for multiplication

y

The other matrix for multiplication

covar

Positions corresponding to adjusting covariates in the X dataset

type

regress or classify

betaCov

estimated beta coefficients from a linear model including only covariates as predictors

Details

This was used to estimate the maximum \lambda

Value

The result matrix

Author(s)

Han Cao & Augusto Anguita-Ruiz


transbioZI/dsMTLBase documentation built on Jan. 20, 2025, 8:18 p.m.