Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65099

Combining many multiple variables in a bar chart

$
0
0
Hi there

I'm looking to create a chart which looks like this http://imgur.com/a/POYQi

I have 10 dummy variables for each person in my dataset of the form

Dum1 = Coffee is favourite drink
Dum2 = Coffee is least favourite drink

Dum3: Tea is favourite drink
Dum4: Tea is least favourite drink
...
Dum10: Whisky is least favourite drink

etc for 5 drinks.

Each variable takes the value 1 or 0.

(People were able to select multiple favourite or least favourite drinks)

Is there a way to create a graph from these 10 variables?


Many thanks

George B




Viewing all articles
Browse latest Browse all 65099

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>