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: compare panel line plots


From   May Ster <mayfrank@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: compare panel line plots
Date   Thu, 5 May 2011 19:46:43 +0100

Dear all,

Apologize if my question is too basic. However, i can't seem to find
the manual or instruction anywhere else regarding -xtline- command.

I'm using -xtline- to compare panel data line plots of the predicted
value -Yhat- and the actual data ; let's called it -Y-

FYI, the actual value -Y- contains missing data.

After regression, i use -predict Yhat-
Then, i use -xtline Yhat-
The graph of -Yhat- looks fine having all the value estimated.

However, when i use -xtline Yhat Y-  as i would like to compare the
predicted -Yhat- and the actual -Y- , two graphs given only compare
line plots in the area where -Y- contains value(meaning the areas
there is missing -Y-, the two graphs have gone missing too).

Could anyone instruct how to get the line plot for -Yhat- in the area
where there is missing data (as it was evident when using the command
-xtline Yhat-  ?


Thank you very much in advance,

M.Frank

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