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

From |
"Carlo Lazzaro" <carlo.lazzaro@tiscalinet.it> |

To |
<statalist@hsphsun2.harvard.edu> |

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

Date |
Thu, 4 Dec 2008 15:12:34 +0100 |

Dear Martin, Kit and All Statalisters interested in Kit's forthcoming textbook, not later than this morning, the Italian official Stata dealer reported me April as an expected availability for this highly welcomed volume! Kind Regards (and Sad Regrets), Carlo -----Messaggio originale----- Da: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di Martin Weiss Inviato: giovedì 4 dicembre 2008 13.51 A: statalist@hsphsun2.harvard.edu Oggetto: st: RE: Re: running a foreach loop over a sequence of dates Line for the server... " But it's in my forthcoming book from Stata Press..." Hurry up, so that international readers of your book can enjoy these insights into Augusto`s problem over the christmas period... HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Kit Baum Sent: Thursday, December 04, 2008 1:47 PM To: statalist@hsphsun2.harvard.edu Subject: st: Re: running a foreach loop over a sequence of dates < > Good point, but the one 'command' you run in -rolling- can be your own. Just write 'program augusto' that does what you want it to do and returns what you want to keep for each rolling window. Only takes a few lines of code (which I don't have time to write as an example at this moment, regrettably). But it's in my forthcoming book from Stata Press... 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: > - -rolling- seems to be doing the job I want, especially if combined > with "[r]recursive". The problem I see there is that I can perform > only one command within the "frame" of this rolling window, not a > series of commands (like postestimation commands), as I was thinking > of when specifying it as a loop. * * 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/ * * 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/ * * 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/

**References**:**st: RE: Re: running a foreach loop over a sequence of dates***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**Re: st: significance test between two kendalls' tau coefficents ?** - Next by Date:
**st: RE: significance test between two kendalls' tau coefficents ?** - Previous by thread:
**st: RE: 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–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |