Re: [R] Non-linear Weibull model for aggregated parasite data

2009-12-14 Thread Terry Therneau
" I am trying to fit a non-linear model for a parasite dataset. Initially, I ... The survreg() function will fit a weibull distribution. It has the further ability to include censored data, a facility you don't need. library(survival) fit <- survreg(Surv(coccidiaopg) ~ age + year + sex*s

[R] Non-linear Weibull model for aggregated parasite data

2009-12-12 Thread Dan E.
Hi, I am trying to fit a non-linear model for a parasite dataset. Initially, I tried log-transforming the data and conducting a 2-way ANCOVA, and found that the equal variance of populations and normality assumptions were violated. Gaba et al. (2005) suggests that the Weibull Distribution is be