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 on April 23, and its replacement, 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 <>
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,


*   For searches and help try:

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