Hello! Thanks in advance for any help!
I have a problem constructing a histogram. I have a distribution with a very large proportion of 0's (75% - 80%).
I run a normal histogram and get:
I want to change the histogram so that the y-axis is between 0 and 10 without changing the percentages. If I limit the value by using "if tstind>0" then the percentage values will be off.
Is there a way to do this in Stata where I limit the y-axis but don't change the proportions.
Thanks in advance for trying to help!
Leo
I have a problem constructing a histogram. I have a distribution with a very large proportion of 0's (75% - 80%).
I run a normal histogram and get:
Code:
hist tstind, percent
I want to change the histogram so that the y-axis is between 0 and 10 without changing the percentages. If I limit the value by using "if tstind>0" then the percentage values will be off.
Is there a way to do this in Stata where I limit the y-axis but don't change the proportions.
Thanks in advance for trying to help!
Leo
Comment