Bookmark and Share

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Interactions using -xtivreg- Instrumental Variables estimation


From   David Torres <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Interactions using -xtivreg- Instrumental Variables estimation
Date   Tue, 30 Jul 2013 17:46:06 -0400

Hello, all,

So I'm using an instrumental variables approach with two-level data using Stata's -xtivreg- command.  My single IV relates to a level-one time-varying variable.  I'd like to include interactions between the level one variable and dummies at level two denoting sex and race/ethnicity.

How is this done?  Do I produce interactions between the instrument and my dummies, as well as between the variable being instrumented for and my dummies, and then simply insert everything in my model like this:

xtivreg mathsc year male black hispan othrace (var1 var1*male var1*black var1*hispan var1*othrace = instrument instrument*male instrument*black instrument*hispan instrument*othrace), re

or should I be setting the model up differently?

Thanks in advance for your help.

--

David Diego Torres, PhD
NSF SBE Postdoctoral Research Fellow
Houston Education Research Consortium
Rice University
6100 Main Street, MS-28
Houston, TX  77005
Phone: 713-348-2984
Email: ddtorres at rice dot edu 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index