[R] 1 continuous non-normal variable ~ 4 factors + 1 continuous covariate (with interactions)
Dr. Pablo E. Verde
PabloEmilio.Verde at uni-duesseldorf.de
Tue Apr 12 15:01:43 CEST 2011
> Im struggling on something... I have one continuous variable (A), and I
> to explain it with 4 factors, and maybe one continuous covariate.
> And of course, my variable A is not normal at all (it's a duration in
> seconds, whole numbers).
> What can I do? I would know how do deal with it if I had one factor, maybe
> two, but in that case Im really not sure what I am supposed to do to write
> model that is statistically correct.
If you are working with a positive outcome variable, one approach is to use
glm( ..., family ="Gamma"),
other approach is to use survreg() in the package survival.
> View this message in context:
> Sent from the R help mailing list archive at Nabble.com.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help