Re: [R] Exponential, Weibull and log-logistic distributions in glm()

From: Gorjanc Gregor <Gregor.Gorjanc_at_bfro.uni-lj.si>
Date: Fri 12 Aug 2005 - 21:34:07 EST


>> Dear R-users!
>>
>> I would like to fit exponential, Weibull and log-logistic via glm() like
>> functions. Does anyone know a way to do this? Bellow is a bit longer
>> description of my problem.
>
> I think you want to use survreg(). It will still work when there is no
> censoring.
>
>
> Adding these families to glm() would be difficult. They are really not
> generalized linear models in any of the useful senses: not exponential
> families, don't have estimating functions linear in the response
> variable, not fitted by iteratively reweighted least squares.

Thank you very much for the response. I didn't want to get into survival since this is really not my field, but it seems that providing those distributions in glm() is not so easy as I thought. Based on your hint I tried with survreg and estimates seems reasonable.

best, Gregor



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Aug 12 21:38:30 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 15:16:11 EST