Bookmark and Share

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


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

Re: st: RE: Adding observation names to tsappend


From   David Kantor <[email protected]>
To   [email protected]
Subject   Re: st: RE: Adding observation names to tsappend
Date   Tue, 19 Oct 2010 13:05:08 -0400

In addition to the advice given by Nick Cox, you may want to check carryforward on SSC.
ssc desc carryforward
ssc install carryforward

This embodies some of the ideas in the FAQ into a program.

--David

At 12:47 PM 10/19/2010, Nick Cox wrote:
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
[email protected]

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/


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