I wonder if someone could explain to me where Stata is finding my y axis when I plot this histogram? I want to to read N with whole numbers, or % of total. I know how to change the actual titles for the axis, but not to get Stata to recognise the graph to be N or % of total.
This is to plot the spread of ages in a study of 607 patients.
This is the beginning of the table:
. tab Age_num
Age | Freq. Percent Cum.
------------+-----------------------------------
9 | 1 0.17 0.17
19 | 1 0.17 0.34
21 | 1 0.17 0.50
23 | 1 0.17 0.67
25 | 1 0.17 0.84
27 | 1 0.17 1.01
28 | 1 0.17 1.17
29 | 3 0.50 1.68
33 | 2 0.34 2.01
Then with histogram Age_num I get this graph, it is the red box that is my problem and I don't understand why Stata is showing me this - neither the frequency nor the Percentage correlates to a peak of just over 0.04??? Many thanks for any explanations
This is to plot the spread of ages in a study of 607 patients.
This is the beginning of the table:
. tab Age_num
Age | Freq. Percent Cum.
------------+-----------------------------------
9 | 1 0.17 0.17
19 | 1 0.17 0.34
21 | 1 0.17 0.50
23 | 1 0.17 0.67
25 | 1 0.17 0.84
27 | 1 0.17 1.01
28 | 1 0.17 1.17
29 | 3 0.50 1.68
33 | 2 0.34 2.01
Then with histogram Age_num I get this graph, it is the red box that is my problem and I don't understand why Stata is showing me this - neither the frequency nor the Percentage correlates to a peak of just over 0.04??? Many thanks for any explanations
Comment