Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# Re: st: policy simulation

 From Nick Winter <[email protected]> To [email protected] Subject Re: st: policy simulation Date Fri, 27 Jul 2012 00:11:14 -0400

Based on a quick look, I think appropriate calls to the -margins- command would give you the raw materials for that table. Producing the table would take some assembly.
```
```
-marginsplot-, after -margins-, might give the raw materials for an even better display of those basic results. But again, it would take some bonding with the possibilities of the command.
```
- Nick

On 7/26/2012 7:29 PM, Shikha Sinha wrote:
```
```Thanks Nick, Dan, and Maarten.

I guess there is no specific command to do this in stata. However, it
is very common in health economics research to do some sort of policy
simulation. For example, what would happen to child mortality if
vaccination rate is increased by 10% or 20%.

Essentially, I was trying to estimate Table 8 in the following paper:

and http://www.ifpri.org/sites/default/files/publications/dp70.pdf

Thanks,
Shikha
On Wed, Jul 25, 2012 at 7:56 AM, Nick Winter <[email protected]> wrote:
```
```Or,

. regress y X1 X2 i.ORT

. margins ORT

--Nick Winter

On 7/25/2012 10:12 AM, Dan Waldo wrote:
```
```Maarten's observation from yesterday is quite correct.
But if you mis-spoke and you really want to look at the effect on your
dependent variable of everybody having ORT=1, a clunky way to do this
(assuming that X1 and X2 are uncorrelated with ORT) would be to use the
predict command to generate the estimated y (say, y_hat) and then

. gen policy_effect =y_hat-(b1*x1 + b2*x2 + b3) [you'd pull the
coefficients from the e(b) vector ]

On Tue, Jul 24, 2012 at 2:46 AM, Shikha Sinha wrote:
```
```I want to conduct a counterfactual policy simulation in state. I
estimate the following model:

Y = b1X1 + b2X2 +b3ORT +e

ORT is the main independent variable and is binary. The estimated b3
coefficient is 0.06. Now I want to answer the counterfactual question:
what would have been b3 if everyone got access to ORT? How do I get
this?
```
```*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```
```
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```
```*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```
```
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```