Hi everyone,
I would appreciate some help by designing my bar graphs! I have the following datatset
and want to get a bar graph which displays in 2 seperate areas of the graph Performance1_total for both types of Ability_homogen and in the other area of the graph two bars for Performance2_total with both types of Ability_total
I tried with:
graph bar Performance1_total4 Performance2_total, by(Ability_homogen),
but my goal is not to have two charts, one for Ability_homogen=0 an one for Ability_homogen=1, but for Performance1_total4 and Performance2_total.
Thanks a lot!
I would appreciate some help by designing my bar graphs! I have the following datatset
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input int ID_1 byte Ability_homogen float Performance1_total4 double Performance2_total 201 0 122 244 202 0 135 147 203 1 223 175 204 1 208 192 205 1 131 105 207 0 233 190 208 1 89 90 209 0 180 161 210 0 228 146 211 0 267 357 212 0 153 190 213 1 255 155 214 0 194 240 215 0 228 272 216 0 216 293 217 0 207 204 218 0 223 219 219 1 145 169 220 0 167 132 221 1 130 168 222 0 164 189 223 0 174 228 224 1 96 89 225 0 148 189 end
and want to get a bar graph which displays in 2 seperate areas of the graph Performance1_total for both types of Ability_homogen and in the other area of the graph two bars for Performance2_total with both types of Ability_total
I tried with:
graph bar Performance1_total4 Performance2_total, by(Ability_homogen),
but my goal is not to have two charts, one for Ability_homogen=0 an one for Ability_homogen=1, but for Performance1_total4 and Performance2_total.
Thanks a lot!
Comment