search for: birth_order

Displaying 2 results from an estimated 2 matches for "birth_order".

2013 Mar 26
2
GAM model with interactions between continuous variables and factors
...indicating that they are different but their predictions are essentially the same. Thanks a bunch, > gam.1 <- gam(mortality.under.2~ maternal_age_c+ I(maternal_age_c^2)+ + s(birth_year,by=wealth) + + + wealth + sex + + residence+ maternal_educ + birth_order, + ,data=rwanda2,family="binomial") > > gam.2 <- gam(mortality.under.2~ maternal_age_c+ I(maternal_age_c^2)+ + s(birth_year,by=wealth) + + + sex + + residence+ maternal_educ + birth_order, + ,data=rwanda2,fam...
2013 Mar 23
1
Time trends with GAM
...itted 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 [[alternative HTML version deleted]]