Re: [R] Help on GAM

2007-03-01 Thread Dacha Atienza
I want to do this model using mgcv caco1.gam-gam(caco1$Pa~s(caco1$T10)+s(caco1$S10)+s(caco1$C10), data=caco1) But I want to indicate the degrees of freedom of each term, how I have to do it? Then, I saw that always the results refered to positive interactions, there are not negative ones?

Re: [R] Help on GAM

2007-03-01 Thread Simon Wood
On Thursday 01 March 2007 08:38, Dacha Atienza wrote: I want to do this model using mgcv caco1.gam-gam(caco1$Pa~s(caco1$T10)+s(caco1$S10)+s(caco1$C10), data=caco1) But I want to indicate the degrees of freedom of each term, how I have to do it? e.g. s(caco1$T10,k=6,fx=TRUE) will give you a 5

[R] HELP on GAM MODELS

2007-03-01 Thread Dacha Atienza
I think it will be better if I explained what I want to do. I have the abundance of Penilia (zooplankter) as y and I have the temperature, salinity and chlorophyll concentration at different depths. I want to know which how the abundance of Penilia is modulate by those environmetal variables and

[R] Help on GAM

2007-02-28 Thread Dacha Atienza
1) I have a semiparametric model, like *Y~x1+s(x2)+s(x3)* When I rum gam package I only obtained the estimates and the statistics of the nonparametric part. How can I get the parametric part? Please could you give me the complete comand to do it. 2) How are the negative coefficients identified. I

Re: [R] Help on GAM

2007-02-28 Thread Wensui Liu
which library are you using for gam? On 2/28/07, Dacha Atienza [EMAIL PROTECTED] wrote: 1) I have a semiparametric model, like *Y~x1+s(x2)+s(x3)* When I rum gam package I only obtained the estimates and the statistics of the nonparametric part. How can I get the parametric part? Please could