Bookmark and Share

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

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

st: RE: Simple panel data mean plot

From   "Nick Cox" <>
To   <>
Subject   st: RE: Simple panel data mean plot
Date   Thu, 24 Jun 2010 11:06:39 +0100

-collapse- first; then it's -twoway line-. 



I have a very simple problem: I have a panel dataset and would like to
easily get an overview graph that plots the mean of all observations as
a function of year and connects them with a line. Basically I want to
plot the results from:

table year, contents (mean VARIABLE)

The 'mband' command is the closest I found, but this command uses the
median and not the mean.

*   For searches and help try:

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