You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue on chapter 25, in the Synthetic Diff-in-Diff plot, which comes right after the paragraph:
To grasp what SDID is doing, we can plot the Diff-in-Diff lines for the treated (California) and the SDID Synthetic Control. Notice how we are projecting the trend we see in the synthetic control onto the treated unit to get the counterfactual
. The difference between the dashed purple line and the lower solid purple line is the
. We start those lines in 1987 to show how the time weights zero out all periods but 1986, 87 and 88. The time weights are also shown in the small plot down below.
It should be:
ax1.plot(data_piv.index, sc_did, label="Synthetic Control (SDID)")
ax1.plot(data_piv.index, data_piv["california"],label="California")
That is the labels are reversed.
The text was updated successfully, but these errors were encountered:
There is an issue on chapter 25, in the Synthetic Diff-in-Diff plot, which comes right after the paragraph:
It should be:
That is the labels are reversed.
The text was updated successfully, but these errors were encountered: