Prev: Finding Duplicates using two attributes as identifiers
Next: How to display indent and blank line break in pdf/rtf output?
From: JC on 28 Jan 2010 17:08 i am trying to create a histogram to show the frequency of symptoms scores for subjects. The scores range from numeric scale of 0-10. (the scores are only whole values). so my dataset looks like this: subject asessment date assessment type sympt 1 sympt 2 sympt 3 A 1/1/2010 ER 0 3 6 A 1/2/2010 ER 1 4 5 A 1/3/2010 ER 6 2 10 B
From: JC on 28 Jan 2010 17:13
On Jan 28, 5:08 pm, JC <jenclin...(a)gmail.com> wrote: > i am trying to create a histogram to show the frequency of symptoms > scores for subjects. > > The scores range from numeric scale of 0-10. (the scores are only > whole values). > so my dataset looks like this: > > subject asessment date assessment type sympt 1 sympt 2 > sympt 3 > A 1/1/2010 ER > 0 3 6 > A 1/2/2010 ER > 1 4 5 > A 1/3/2010 ER > 6 2 10 > B Sorry i accidently hit send too fast subject date assessmt sympt 1 A 1/1/2010 ER 3 A 1/2/2010 ER 6 A 1/3/2010 ER 1 B 1/2/2010 ER 0 B 1/3/2010 ER 9 when i run this code: proc univariate data=BL_P7; var sympt 1; histogram sympt 1; run; it gives me a percent on the Y-axis and gives me the x-axis with decimals.....how can that be when the variable sympt 1 is only integers? and how can i make the Y-axis the frequency of assessmt? Thanks!! jen |