Hello,
I am trying to format the x axis of a histogram with a specific range. I want to have a bmi percentile variable on the x axis with a custom range from 0 to 5, 5 to 85, and 85 to 100.
Is there a way to do this or would I have to create 3 separate histograms?
so far the command I have is:
histogram bmipct if Grade == "6", bin(494) start(0) frequency
I tried editing the x axis range with the graph editor but do not see how to make the custom range I want.
Thanks.
Related Posts with Histogram formatting
Extracting month value from timestampI am working with survey data and there is a variable called "timestamp". Here is an observation fro…
Zero inflated negative binomial regression vs negative binomial regressionHello everyone, I am running an analysis to see if serum cholesterol together with sex, DBP, and Ag…
Confirmatory factor analysis with high-frequency longitudinal dataDoes anybody know of a Stata program that can do confirmatory factor analysis in longitudinal data o…
Village fixed effects using logit for PSMHello everyone, I want to run a logit using village fixed effects then use it with propensity score…
Why Multivariate L1 distance from Coarsened Exact Matching (CEM) is so high compared to Univariate imbalance for each matching covariate?I was looking at a paper (link here) by Blackwell et al. (2010) on CEM in Stata. In one example usin…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram formatting
Post a Comment