[R] Penalized Logistic Regression - Query
Charles C. Berry
cberry at tajo.ucsd.edu
Fri Sep 25 05:32:05 CEST 2009
On Thu, 24 Sep 2009, Axel Urbiz wrote:
> Dear R users,
>
> Is there any package that I could use to perform Penalized Logistic
> Regression (i.e. Ridge/Lasso regularization) including also an offset term
> in the model (i.e. a variable with a known coefficient of 1 rather than an
> estimated coefficient)? I couldn't find any package that would allow using
> offset terms.
Did you try the strategy suggested by the posting guide? viz.
RSiteSearch( "penalize logistic offset", restric='functions' )
Works like a charm!
HTH,
Chuck
>
> Any guidance will help.
>
> Many thanks!
>
> Axel.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901
More information about the R-help
mailing list