Hi everybody,
I would like to have a bar graph of the percentage of frequencies of several variables (serra estinz camcli smarif amrum iaria inqsu inqfiu disdr catastr fores2 inqelet2 paesag2 esriso2 altamb2), across 3 different regions (coded in the variable ripmf as 1, 2, 3)
I manage to get the graph with frequencies which comes from the following code:
graph bar (count) serra estinz camcli smarif amrum iaria inqsu inqfiu disdr catastr fores2 inqelet2 paesag2 esriso2 altamb2, over (ripmf)
I tried the following code, but i get a weird output, that shows for each region (ripmf 1, 2, 3) the same value.
graph bar (percent) serra estinz camcli smarif amrum iaria inqsu inqfiu disdr catastr fores2 inqelet2 paesag2 esriso2 altamb2, over (ripmf)
how would you solve this?
The graph i want would be like this one:
I would like to have a bar graph of the percentage of frequencies of several variables (serra estinz camcli smarif amrum iaria inqsu inqfiu disdr catastr fores2 inqelet2 paesag2 esriso2 altamb2), across 3 different regions (coded in the variable ripmf as 1, 2, 3)
I manage to get the graph with frequencies which comes from the following code:
graph bar (count) serra estinz camcli smarif amrum iaria inqsu inqfiu disdr catastr fores2 inqelet2 paesag2 esriso2 altamb2, over (ripmf)
I tried the following code, but i get a weird output, that shows for each region (ripmf 1, 2, 3) the same value.
graph bar (percent) serra estinz camcli smarif amrum iaria inqsu inqfiu disdr catastr fores2 inqelet2 paesag2 esriso2 altamb2, over (ripmf)
how would you solve this?
The graph i want would be like this one:
Comment