Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: lags and leads


From   Bobasu Alina <ally_bib@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: lags and leads
Date   Sun, 1 May 2011 02:33:58 -0700 (PDT)

Hello! I am new to Stata and thus have several questions. First of all I would 
like to ask you how can I specify the expected value of a variable for the next 
period. I know how lags are specified but I cannot find information regarding 
the value of the variable for the next period, something like variable(1)? 

Secondly I would like to ask you how can I import data by defining the variable 
on a time set? If I have the value of income for annual data covering 1997-2009 
how can I import the data in order to regress afterwards the variable on its 
lags? if I do not import the data in this way I obtain the following message: 
time variable not set.
Thank you very much. I look forward for your answer!
Ally

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index