Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Christopher Baum <kit.baum@bc.edu> |
To | Emma Calvert <emma.calvert@ucd.ie> |
Subject | st: Re: xtmod, lag/lead variables |
Date | Tue, 1 Nov 2011 09:39:25 -0400 |
Dear Emma, I have no idea what a 'moderated regression' is; that is not common terminology in my field. If the routine doesn't like using something like L.gdp, then gen lgdp = L.gdp and see if it accepts that. But for interactions, in general terms, the new factor-variable notation introduced in Stata 11, along with the margins command, is likely to be more useful than this program from what I understand of it. Furthermore, in Stata 12, there is also a marginsplot command, which might be reason enough to upgrade. Cheers Kit On Nov 1, 2011, at 9:14 AM, Emma Calvert wrote: > Hello > > Sorry for bothering you about this but I was looking for some help with the Stata program XTMOD (your name is listed on the website!). The author is no longer at Lausanne. I’ve tried searching on the internet, but can’t find anything relating to my query. > > I would like to graph an interaction (data = cross-sectional time series) but the model uses lag/lead variables. XTMOD doesn’t seem to work. Is there a way around it? I’m using Stata 11. > > I’m new to time series and the commands I’ve used before re interactions, e.g., postgr3, don’t seem to work, so I’m a bit lost. > > Many thanks > Emma > > > > Emma Calvert > School of Applied Social Sciences > Room B108, Geary Institute > University College Dublin > Belfield, Dublin 4 > Tel: +353 1 716 4681 > emma.calvert@ucd.ie > Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html * * 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/