Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72764

Graphing median of groups of observations with a panel dataset

$
0
0
Hi,
I'm using a panel dataset with dimensions ID and year for the i and t dimensions respectively.
I would like to produce some summary graphs for certain subgroups of ID. For example I have a variable spec which takes values 1 to 6, and I would like to calculate the median of each grouping by for values spec=1, spec=2 for each year in the dataset. Then I would like to graph each of these six groups together in one graph. Any suggestions on how to do this would be greatly appreciated.

Viewing all articles
Browse latest Browse all 72764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>