
From  David Kantor <kantor.d@att.net> 
To  statalist@hsphsun2.harvard.edu 
Subject  Re: st: Segmenting a dataset 
Date  Thu, 17 May 2007 16:10:14 0400 
At 03:46 PM 5/17/2007, Morrison Hodges wrote:
Do you want to just see what the medians are? If so, just do..I have a dataset of 10 variables and 5000 observations. I need to calculate the median of each variable in groups of 30 observations, i.e., the median of each variable in observations 130, then the median for 3160, then 6190, etc. I know I can get the median from the p50 value of summarize, but I'm not sure how to obtain consecutive segments of 30 observations each to perform summarize on. Can anyone help? Thanks, Morry Hodges
© Copyright 1996–2016 StataCorp LP  Terms of use  Privacy  Contact us  What's new  Site index 