Dear Statalisters,
This is a very simple question.
I am using Stata 14.
I am doing an histogram with the percentages of a given variable. See next:
histogram [variable name], percent addl addlabopts(yvarformat(%4.1f)) name([name of the graph], replace)
But I do not want labels (percentages at just one digit) at the top of all the columns of the histogram; only on the top of some of them. It could at the top of one column in every four; or alternatively, at the top of the first and last column, which turn out the ones corresponding to the higher percentages of the variable.
Is there any option that I could add either to addl or addlabopts so that the graph is generated with values in only some of the columns.
Thanks for your attention
Luis
Related Posts with Adding labels to only some columns of an histogram
how to obtain frequencies by groups in a two-way tab?Hi, I'm working with a dataset that has many variables. Two of them are age and gender. I want to ob…
what is the test after ppml? help needed, thank youDear Joao, I am doing a Gravity Model estimating the export potential of China tea to other countrie…
The first stage outcome estimated by "ivreg2 savefirst" different from its OLS estimationI use two specifications to estimate the first stage for the relationship between the endogenous var…
Help MCO vs PPML (Ramsey Test)Hi, I am trying to estimate a gravity equation. I have used MCO and PPML. However, the MCO results …
Lower 5th quantile of a variableHi, I am new to the forum. I am working on conducting some statistical analysis in stata. I have cou…
Subscribe to:
Post Comments (Atom)
0 Response to Adding labels to only some columns of an histogram
Post a Comment