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
Problem of missing observations in CAPM estimationI have following variables from raw data and I want to estimate the return of Stock PG using CAPM mo…
Problems with command "etable"Hi there, My intention is to run "etable" to create a results table of two models. My code is: [A…
Which test should i use on Stata ?Hello, I would like to know which test to use on Stata according to my configuration. So I want t…
Understanding type of panelHi everyone, I have individual level data for 20 regions for 18 years. The question is to examine t…
How to calculate days and hours between two datesHi, I am calculating days and hours between two dates (admission date/time and discharge date/time)…
Subscribe to:
Post Comments (Atom)
0 Response to barchart: how to put the frequency axis on a log scale
Post a Comment