Differences between revisions 2 and 3
Revision 2 as of 2025-01-10 14:19:09
Size: 992
Comment: Killing Econometrics page
Revision 3 as of 2025-01-10 14:19:28
Size: 936
Comment: Killing Econometrics page
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Econometrics/Binning
Line 16: Line 15:
=== In Regression Models === === In Modeling ===

Binning

Binning is the process of transforming a continuous variable into either a categorical variable or a set of discrete indicator variables.


Usage

In Modeling

There is significant discussion surrounding the use of binning in regression models.

If the intention of binning is to capture non-linearity, then a non-linear model is generally preferable. Another common solution to that problem is to regress on a variable and the square of that variable.

Gelman discusses the approach partly in Regression and Other Stories and in blog posts: "One thing that people don't always realize is that you can do binning and linear together, for example in R, y ~ z + age + age.65.74 + age75.84 + age.85.up" [link and styling mine].


CategoryRicottone

Statistics/Binning (last edited 2025-01-10 14:19:28 by DominicRicottone)