convertToCyclopsVariance: Convert to Cyclops Prior Variance

View source: R/ModelFit.R

convertToCyclopsVarianceR Documentation

Convert to Cyclops Prior Variance

Description

convertToCyclopsVariance converts the regularization parameter lambda from glmnet into a prior variance.

Usage

convertToCyclopsVariance(lambda, nobs)

Arguments

lambda

Regularization parameter from glmnet

nobs

Number of observation rows in dataset

Value

Prior variance under a Laplace() prior


Cyclops documentation built on June 22, 2024, 10:24 a.m.