Displaying 2 results from an estimated 2 matches for "gam_tot".
Did you mean:
gam_fit
2018 Mar 04
2
Random effect in GAM (mgcv)
...variables as fixed effects in the model.
Also, since we have 5 repetitions of the response and of some covariates
measurement in time per department and culture type, I put a random
effect on the Department per Culture type and the Year as fixed effect
as well.
The model takes the form?:
*gam_tot <- gam (resp ~ Culture + Clust**er**:Culture + s(**Year**,k=4,
by=Culture) + s(**X1**, by=Culture) + s(**X2**, by=Culture) + s(Depts,
bs="re", by=Culture) *
*, family=betar(link="logit"),method="REML",data=data,select=FALSE)*
Then, I estimated the part of the m...
2018 Mar 04
0
Random effect in GAM (mgcv)
...> Also, since we have 5 repetitions of the response and of some covariates
> measurement in time per department and culture type, I put a random
> effect on the Department per Culture type and the Year as fixed effect
> as well.
>
>
> The model takes the form :
>
>
> *gam_tot <- gam (resp ~ Culture + Clust**er**:Culture + s(**Year**,k=4,
> by=Culture) + s(**X1**, by=Culture) + s(**X2**, by=Culture) + s(Depts,
> bs="re", by=Culture) *
>
> *, family=betar(link="logit"),method="REML",data=data,select=FALSE)*
>
>
> Then,...