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
Help with gravity equation estimated using PPML (Stata 14.2)Good evening, everyone! The following is a snippet of my database( I have data of Brazil's exports …
Analyzing two time pointsI am analyzing data with the mental health component score (measured 0-100) for 4500 individuals. Th…
Confidence intervals for 5 year survival after multiple imputationHi Statalist, I would be grateful for some help predicting IPT-weighted 5-year (60 months) survival…
Local list of variables as argument of programI'm trying to enter a list of variables as an argument for a program. Unfortunately, I've been runni…
Twoway scatter plot: how to modify axis lengthHello, This is my first post here so if I did something wrong I apologize. I'm working with a data…
Subscribe to:
Post Comments (Atom)
0 Response to How to bound x-axis on histogram
Post a Comment