Good morning, all. I'm new to stata
I want to graphically represent a variable 25,840 observations, ranging -7.5 - 7.5. However, the histogram plot keeps starting from -10 to +10. I have consulted multiple online resources, and I've tried out the following code:
histogram zfacility_index, width(0.34) percent normal ytitle(Proportion of facilities) xtitle(Composite Index Score) xscale(range(-7.5 7.5)) title(Alt B composite score distribution)
Moreso, despite changing my y-axis option to percentage, I keep getting a scale value (0 to 4) instead of percentage values.
How can I change these? Thanks
I want to graphically represent a variable 25,840 observations, ranging -7.5 - 7.5. However, the histogram plot keeps starting from -10 to +10. I have consulted multiple online resources, and I've tried out the following code:
histogram zfacility_index, width(0.34) percent normal ytitle(Proportion of facilities) xtitle(Composite Index Score) xscale(range(-7.5 7.5)) title(Alt B composite score distribution)
Moreso, despite changing my y-axis option to percentage, I keep getting a scale value (0 to 4) instead of percentage values.
How can I change these? Thanks
Comment