Re: [R] multiple comparisons for GAMs

2012-08-07 Thread peter dalgaard
On Aug 7, 2012, at 18:48 , Bird_Girl wrote: > I have looked into using glht (‘multcomp’ package) to do multiple comparisons > for a model fit with GAM {mgcv} but after reading the description of the > ‘multcomp’ package, I believe this method only applies to parametric models > and linear hypothe

Re: [R] multiple comparisons for GAMs

2012-08-07 Thread Bird_Girl
I have looked into using glht (‘multcomp’ package) to do multiple comparisons for a model fit with GAM {mgcv} but after reading the description of the ‘multcomp’ package, I believe this method only applies to parametric models and linear hypotheses. When I ran the code glht(model,linfct….) I got a

Re: [R] multiple comparisons for GAMs

2012-08-03 Thread peter dalgaard
On Aug 2, 2012, at 21:09 , Bird_Girl wrote: > Hi, > > I have a question regarding whether it is possible to do post hoc tests on a > model fit with GAM {mgcv}. My response variable is abundance (no. > individuals per plot), and I have one continuous predictor (light) and one > factor (height) w

[R] multiple comparisons for GAMs

2012-08-02 Thread Bird_Girl
Hi, I have a question regarding whether it is possible to do post hoc tests on a model fit with GAM {mgcv}. My response variable is abundance (no. individuals per plot), and I have one continuous predictor (light) and one factor (height) which includes 7 levels. > mod2=gam(log_abundance~s(light