Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Recipe 4: Estimating Differential Reform Response

This is an advanced recipe that should be followed only after mastering the basic recipe. This recipe shows how to estimate the reform response in charitable giving when the response elasticities vary by earnings group. It employs the groupby technique used in the Creating a Custom Table recipe, so you might want to read that recipe first.


Response in Charitable Giving by Earnings Group
Earnings Group    	 Num(#M)	Resp($B)	 Resp(%)
[-9e+99, 50000)   	 151.185	   0.656	    0.40
[50000, 9e+99)    	  53.299	   3.080	    1.99
ALL               	 204.484	   3.736	    1.17