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

From |
Kit Baum <baum@bc.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Re: running a foreach loop over a sequence of dates |

Date |
Thu, 4 Dec 2008 07:42:29 -0500 |

< >

Kit Baum, Boston College Economics and DIW Berlin http://ideas.repec.org/e/pba1.html An Introduction to Modern Econometrics Using Stata: http://www.stata-press.com/books/imeus.html On Dec 4, 2008, at 02:33 , Augusto wrote:

*** begin pseudo-code foreach t in 1992q1/2000q4 { reg y L.y L.x if tin(1960q1, `t') reg y L.y L.x if tin(`=`t'-20', `t') } *** end pseudo-code

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

- Prev by Date:
**st: Re: video from multiple graph exports** - Next by Date:
**st: Re: running a foreach loop over a sequence of dates** - Previous by thread:
**Re: st: Re: Running a foreach loop over a sequence of dates** - Next by thread:
**st: Re: running a foreach loop over a sequence of dates** - Index(es):

© Copyright 1996–2015 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |