Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: How to do one-way and two-way sensitivity analysis in stata?


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: How to do one-way and two-way sensitivity analysis in stata?
Date   Tue, 7 Oct 2008 09:29:28 +0200

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: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of sam seeto
Sent: Tuesday, October 07, 2008 9:15 AM
To: statalist@hsphsun2.harvard.edu
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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index