[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 
> need
> 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 
> a
> 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.

Cheers,

Pablo


>
> Thanks,
>
> Al
>
> --
> View this message in context: 
> http://r.789695.n4.nabble.com/1-continuous-non-normal-variable-4-factors-1-continuous-covariate-with-interactions-tp3444378p3444378.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list