I'm using the command
histogram [cat var]
to output a histogram in stata. I only care about the values of the categorical variable which are greater than 0, but there are some negative values and they also show up in the histogram. I understand that I could drop those values and then generate the histogram again (and I have done that and seen it work), but I am wondering if I could restrict the histogram to when the values are greater than 0 during its generation.
Related Posts with How to bound x-axis on histogram
Panel model - Heteroskedasticity and Graphical representationHi everyone! I am conducting my masters degree thesis, performing a panel model in Stata. The panel …
F test and Chi2 testHi everyone: I would like to verify the relationship between F and chi2. But it is found that they …
How to compute the sum of the first occurence within Group(s) in Stata?I have a small long format dataset below. * Example generated by -dataex-. For more info, type help …
Ask for Help with Computation of Running Sum of a Variable within Multiple Variables in Stata.The long format dataset is presented as follows. It has 3 columns, gender (male=1; female=2), period…
Alternative to fixed-effects Binomial Model for longitudinal dataHi all: My dependent variable, v6mouses, is drug use; 60.15% of the result is 0 and 26.92% of the r…
Subscribe to:
Post Comments (Atom)
0 Response to How to bound x-axis on histogram
Post a Comment