Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Simulation question.


From   [email protected]
To   [email protected]
Subject   st: Simulation question.
Date   Thu, 3 Feb 2005 08:32:16 -0500

Hi,

I have a simulation problem.

Usually, what I've seen done in simulations is to change
values in independent variables and see their result on the
(predicted dependent variable).

Ex:

reg GDP pop invest
predict gdphat
su gdphat
replace pop =pop * 1.03                                 /* 3% growth of
population*/
predict gdphat2
su gdphat2
g diff = gdphat - gdphat2                                   /*Measure of the
impact of the population growth */

Now, here is my question:

Suppose I want to double  my GDP ?
I am interested in how my independent variables will change (in their
coeffcients and/or in their observations ???)
to meet the new values of GDP.
I guess I am facing a constraint problem but do not know how to do this in
Stata.

How can I do that?

Best regards.

Amadou.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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