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

Re: st: Controlling for variables in stata


From   David K Evans <[email protected]>
To   [email protected]
Subject   Re: st: Controlling for variables in stata
Date   Thu, 11 Nov 2004 06:12:50 -0500 (EST)

One way would be to simply add a few dummy variables for varying levels of
development:

regress ln_fdi ln_ip ln_rn ln_ti dummy_poor dummy_middle_income

Of course, depending on your number of observations, the dummies can be
more nuanced. This has the advantage over simply "controlling for income"
that it doesn't impose a specific functional form on the effect of income.
D

------------------------------------------------------------------------

PhD student, Harvard Economics Department
Phone: (O) 617-495-5634, (H) 617 - 493 - 1536
Address: Currier Mail Center #554, Cambridge, MA 02138

------------------------------------------------------------------------

On Thu, 11 Nov 2004, Rozilee Asid wrote:

> Dear statalister
>
> How to control for specific variable in stata regression command for example
> my model is look like this
> ln_fdi = alpha0+alpha1.ln_ip+alpha2.ln_rnd+alpha3.ln_ti and I want to
> control for level of countries development in my equation.
>
> Hope someone could help me in this matter.
>
> Thank you
>
> Rozilee
>
>
> *
> *   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/
>
*
*   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