Dear Mr. Cox,
Thanks so much for your help! I did miss the mean part. It worked well
when using --egen-- to get the mean of Y_hat, and then plotting mean
of Y_hat by groups over time.
Again, thanks for helping me out.
Mandy
On Fri, Mar 12, 2010 at 1:11 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
> Nothing in your code instructs Stata to work with means. You are
> instructing Stata to plot all the values for all the panels. You should
> not be surprised that it does precisely that.
>
> There are various ways to proceed. One is to -collapse- to means and
> then plot the results.
>
> Nick
> n.j.cox@durham.ac.uk
*
* 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/