Dear Statalist,
I have now used nine hours today reading every thread, watching every Youtube video but without succes. By demand is simple and it is easy to do in for example Excel. Yet, I simply cannot do it in Stata.
I have a dataset with responses BEFORE a crisis and AFTER a crises. The answer categories are the same. I just want to create one graph, showing the two different responses in each category. It is simple discriptive statistics.
My data is this:
I have managed to create two seperate graphs:

But I need to combine them: Same five categories, but with two different bars. Preferably in two different colours.
Thanks in advance,
Andreas Esbjørnsen
I have now used nine hours today reading every thread, watching every Youtube video but without succes. By demand is simple and it is easy to do in for example Excel. Yet, I simply cannot do it in Stata.
I have a dataset with responses BEFORE a crisis and AFTER a crises. The answer categories are the same. I just want to create one graph, showing the two different responses in each category. It is simple discriptive statistics.
My data is this:
strat1_before | strat1_after |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Never |
Never | Less than once a month |
Never | Less than once a month |
Never | Once a month |
Never | . |
Never | . |
Never | . |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Less than once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | Once a month |
Less than once a month | More than once a week |
Once a month | Never |
Once a month | Less than once a month |
Once a month | Less than once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a month |
Once a month | Once a week |
Once a month | Once a week |
Once a month | Once a week |
Once a month | Once a week |
Once a month | Once a week |
Once a week | Once a month |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | Once a week |
Once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
More than once a week | More than once a week |
I have managed to create two seperate graphs:
But I need to combine them: Same five categories, but with two different bars. Preferably in two different colours.
Thanks in advance,
Andreas Esbjørnsen
Comment