I am not sure whether I would call this a "sensitivity analysis". Is it not
just a marginal effect as in -mfx-? Remember that the coefficients thrown up
by your regression are available as _b[] where you enter the covariate in
question into the square brackets. You could use -display- to calculate
results here.
HTH
Martin
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of sam seeto
Sent: Tuesday, October 07, 2008 9:15 AM
To: [email protected]
Subject: st: How to do one-way and two-way sensitivity analysis in stata?
Dear Stata users,
I would like to run a sensitivity analysis for my OLS results, I have been
looking at the help menu but still have no idea how to do it.
For example, I have done a regression of y on x1, x2 and x3.
And I would like to estimate the value of y holding x2 and x3 constant while
changing x1, i.e. one-way sensitivity analysis.
I also want to estimate the value of y holding x3 constant while changing x1
and x2, that is, running a 2-way sensitivity analysis.
Any help in the coding is appreciated.
Thank you.
Sam
*
* 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/