[EpiData-list] Re: EpiData Analysis - Definition of histogram

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Sun May 13 14:21:14 CDT 2007


Good point by Jamie Hockin. We should incorporate into histogram (and 
epicurve) the ability to define length of interval.
Until this is done users can work like this (in the test version)
* generate the grouped variable:  (age into five year groups)
gen i ag = age div 5
labelvalue ag /3="<20" /4="20-24" /5="25-29" /etc .......  (3 because in 
this example 16 was the minimum age)
histogram ag /xa         // which will work as desired

Regards
Jens Lauritsen



More information about the EpiData-list mailing list