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
Saving a Matrix from the Predict CommandI'm interested in saving a matrix generated by Mark Schaffer 's cvlasso from lassopack so that I may…
Issues with local macroHello, I'm running a diff-in-diff using a policy with three phases of treatment. There's the issue …
question about etable?Dear all, I use etable to output the regression results, but find a bug. Code: webuse grunfeld,cl…
VAR with trend-stationary variablesHi! I'm currently trying to estimate a VAR with 3 variables - consumption, investment and a credit s…
quietly globalRunning a loop in Stata...I often put quietly before several commands. Is there a way to suppress ou…
Subscribe to:
Post Comments (Atom)
0 Response to How to bound x-axis on histogram
Post a Comment