Displaying 1 result from an estimated 1 matches for "wealth2".
Did you mean:
wealth
2013 Mar 23
1
Time trends with GAM
...ing the model to find the other knots?
2) how can I extract the matrix from the fitted GAM so that I can use it in
as an impute for a different model.
The types of models I am running are to the following form:
gam <- gam(mortality.under.2~ maternal_age_c+ I(maternal_age_c^2)+
s(birth_year,by=wealth2) +
+ wealth2 + sex +
residence+ maternal_educ + birth_order,
,data=colombia2,family="binomial")
I've read the extensive documentation for the GAM but I am not sure still.
Any suggestion is really appreciated.
Thanks,
Antonio Pedro
[[alternativ...