python-causality-handbook icon indicating copy to clipboard operation
python-causality-handbook copied to clipboard

Question about 15 - Synthetic Control

Open iamdengjie opened this issue 1 year ago • 0 comments

15 - Synthetic Control

We got calif_weights from regression from un-treatment data before year 1989. And we got calif_synth by below:

calif_synth = cigar.query("~california").pivot(index='year', columns="state")["cigsale"].values.dot(calif_weights)

My question is the data after year 1989 should be all treated for 39 states. Why the control result can represent the un-treatment result? It should use untreated result after year 1989 and calif_weights to simulate the un-treatment result/counterfactual for California after year 1989

iamdengjie avatar Jun 19 '24 03:06 iamdengjie