intro-stat-learning / ISLP_labs

Up-to-date version of labs for ISLP
BSD 2-Clause "Simplified" License
767 stars 443 forks source link

l_gam() instead of year_term in gam_logit_ #29

Open htdbui opened 2 weeks ago

htdbui commented 2 weeks ago

https://github.com/intro-stat-learning/ISLP_labs/blob/5d793a33a8d5025181439b8d0f193c37c69ee20a/Ch07-nonlin-lab.ipynb#L3059

The use of year_term (s_gam) for the year in gamlogit (after the first category in education is removed) instead of l_gam, which is used for the year in gam_logit, may need reconsideration to maintain consistency in the results.