Dear all:
I have a categorical variable with vastly unequal frequencies. I would like to display the frequencies on a log scale. I cannot seem to get the right syntax, though. Here is a simple example:
clear
input x freq
0 3
1 50
2 500
end;
expand freq
graph hbar (count) , over(x) // this works, not on a log scale
graph hbar (count) , over(x) yscale(log) // does not work, weird graphical result
Does anybody have a suggestion?
Thanks,
matthias
Related Posts with barchart: how to put the frequency axis on a log scale
Calculating total or sum without own observation classHi, I have a crossection of electric vehicle (EV). charging stations, and can identify the network a…
To construct a composite variable from multiple categorical variablesMy question may be simple. I tried to find a possible answer to my question, but failed to do so. I…
Long table and wide tableHi , all! If I have two sheets ,sheet1 shows every students‘ score got in the exam and sheet2 contai…
Overall CI for a multileveled independent variable in a binomial logistic regressionHello, I'm trying to get an overall CI for an independent variable in a binomial logistic regression…
Can rangestat or asrol solve this problem? creating statistics within industry in a rolling fashionDear All I have panel data that includes year, quarter, month and week, firm, industry, and (firm) …
Subscribe to:
Post Comments (Atom)
0 Response to barchart: how to put the frequency axis on a log scale
Post a Comment