Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <n.j.cox@durham.ac.uk> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: Adding observation names to tsappend |
Date | Tue, 19 Oct 2010 17:47:21 +0100 |
This is an FAQ: FAQ . . . . . . . . . . . . . . . . . . . . . . . Replacing missing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N. J. Cox 2/03 How can I replace missing values with previous or following nonmissing values? http://www.stata.com/support/faqs/data/missing.html Nick n.j.cox@durham.ac.uk Degas Wright I have the following data after using the _tsappend_ and the _predict_ command, how do I add the same ticker name to rows 237-240, without listing "AAPL". I will be working on panel data and after the predict, I will need it to extend the ticker names to the _tsappend_ rows. Ticker Forecast Date 234. AAPL -3.15e-09 2010w38 235. AAPL 5.20e-10 2010w39 ------------------------------ 236. AAPL -8.58e-11 2010w40 237. 1.42e-11 2010w41 238. -2.34e-12 2010w42 239. 3.86e-13 2010w43 240. -6.37e-14 2010w44 . * * 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/