Created
January 30, 2019 00:50
-
-
Save josef-pkt/29ad2116e9af0864e5100ded89efe1f5 to your computer and use it in GitHub Desktop.
Basic GAM example with formula after merge
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the link to Patsy. That's a really useful package!
From the link, I note:
So, it seems that
df
(statsmodels
) isk
(mgcv
) minus one.Also, it seems that you're right about
degree=3
meaning cubic splines:To be honest, I really don't understand the mathematics behind splines and all that, but at least with this information, I can line up your documentation with
mgcv
's. Thanks!