Dear Prof. Clyde,
Thanks very much for your answer. Greatly appreciated.
I understood the case now, so if the margins calculate the predicted outcomes according to the regression command, then that means all points in the blue curve for all years reflect what leverage would have been if the policy had not already been adopted by everyone. On the contrary, all points in the red curve for all years reflect what leverage would have been if the policy had already been adopted by everyone.
But, do you think that we can get the curve for the actual values (averages) instead of the predictive values by using the following command:
But if the above command is correct, I don't know how to graph it?
Thanks very much for your answer. Greatly appreciated.
I understood the case now, so if the margins calculate the predicted outcomes according to the regression command, then that means all points in the blue curve for all years reflect what leverage would have been if the policy had not already been adopted by everyone. On the contrary, all points in the red curve for all years reflect what leverage would have been if the policy had already been adopted by everyone.
But, do you think that we can get the curve for the actual values (averages) instead of the predictive values by using the following command:
Code:
by Event Year, sort: summ Leverage
Comment