What should be degree of freedom for a categorical variables in penalized splines?

I am using a categorical variable with two categories i.e.

coldspell 0  1
          No Yes

I am using this variable in penalized splines. What should be the degree of freedom for this variable?


Read more here: https://stackoverflow.com/questions/67396494/what-should-be-degree-of-freedom-for-a-categorical-variables-in-penalized-spline

Content Attribution

This content was originally published by hasan sohail at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: