Hi!
I am using binscatter to plot two variables, that only have 0 or positive values.
Without using the controls option, all the binscatter blue dots are in positive territory, in the X and Y axis (see here) - as expected. Once I add controls (including fixed effects), however, some of the dots appear to have negative values, in the X axis (see here).
What is the intuition behind this result? The helpfile says that the "controls" option residualizes X and Y variables on controls before plotting, but I struggle to get an intuitive explanation.
For context: In my analysis, my units are municipalities. The X variable is immigration change, in percentage points of population, over a certain period. The Y variable is a prediction of immigration change (a separate variable), calculated using a shift-share instrument. Controls include changes in control variables, as well as regional fixed effects.
I am using binscatter to plot two variables, that only have 0 or positive values.
Without using the controls option, all the binscatter blue dots are in positive territory, in the X and Y axis (see here) - as expected. Once I add controls (including fixed effects), however, some of the dots appear to have negative values, in the X axis (see here).
What is the intuition behind this result? The helpfile says that the "controls" option residualizes X and Y variables on controls before plotting, but I struggle to get an intuitive explanation.
For context: In my analysis, my units are municipalities. The X variable is immigration change, in percentage points of population, over a certain period. The Y variable is a prediction of immigration change (a separate variable), calculated using a shift-share instrument. Controls include changes in control variables, as well as regional fixed effects.
Comment