Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: line plot with individual's median

From   "Cathy L. Antonakos" <>
Subject   st: line plot with individual's median
Date   Thu, 31 Aug 2006 19:03:19 -0400 (EDT)

I am using the following command to plot time-series data for individual nursing home residents.

twoway connected wanpcto hourx, by(resid)

This produces an individual graph for each resident.

Now I want to add the median for the resident - plotted as a line.
I'll calculate that beforehand and call it 'medianpct'.

Is there a way to add a yline command to do that?

Thank you.

Cathy Antonakos, PhD

*   For searches and help try:

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