powered by
logistf
Sets parameters for logistf calls.
logistf.mod.control(tau = 0.5, terms.fit = NULL)
Penalization parameter (default = 0.5)
A numeric vector of terms to fit. Intercept has to be included if needed.
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)
Run the code above in your browser using DataLab