Bookmark and Share

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

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

st: Re: xtmod, lag/lead variables

From   Christopher Baum <>
To   Emma Calvert <>
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.


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

Kit Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

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