logistf.mod.control: Controls additional parameters for 'logistf'

View source: R/logistf.mod.control.R

logistf.mod.controlR Documentation

Controls additional parameters for logistf

Description

Sets parameters for logistf calls.

Usage

logistf.mod.control(tau = 0.5, terms.fit = NULL)

Arguments

tau

Penalization parameter (default = 0.5)

terms.fit

A numeric vector of terms to fit. Intercept has to be included if needed.

Value

tau

Penalization parameter (default = 0.5)

terms.fit

A numeric vector of terms to fit. Intercept has to be included if needed.

Examples

data(sexagg)
fit2<-logistf(case ~ age+oc+vic+vicl+vis+dia, data=sexagg, weights=COUNT, 
modcontrol=logistf.mod.control(terms.fit=c(1,2)))
summary(fit2)


logistf documentation built on Aug. 18, 2023, 5:06 p.m.