Re: [R] Post hoc tests in gam (mgcv)

2012-11-06 Thread Jean V Adams
David, How would you interpret the results of a post hoc test for sexcolor when you have an interaction term with sexcolor in your model? Perhaps it would be helpful to plot doy vs. predicted tle with confidence intervals for each of the four levels of sexcolor at a fixed tl (e.g., the mean).

[R] Post hoc tests in gam (mgcv)

2012-11-05 Thread chirleu
Hi. I'm analysing some fish biological traits with a gam in mgcv. After several tries, I got this model log(tle) = sexcolor + s(doy, bs = cc, by = sexcolor) +log(tl) sexcolor is a factor with 4 levels doy is day of year, which is modeled as a smoother tl is total length of the fish The summary