Hello everyone,
I would like to create a bar in which on the X axis I have a numerical var and on the Y axis I have 3 different dummys.
So on the X it shows the value associated with the mean each group of the dummy var.
In total there should be 6 bars (var1 yes/no, var2 yes/no, var3 yes/no)
Any idea on the code? Thanks in advance
Lorenzo
Related Posts with Create hbar with multiple dummy vars
Use a for-loop to generate dummy variablesI'm having a hard time generating dummy variables using a for loop. I have a variable with some valu…
Lag not working for monthly/quarterly dataI am struggling with this issue and can't understand, why it's not working. I have quarterly cross-s…
Mean on a graph pieHello. I have two variable : one is continous, the other is trinary. I want to make a graph pie of t…
Generate new variable in a panel taking differencesHello, I am working in stata 15 on windows 10 and I want to create a variable that is the differenc…
Doing Merge using rangejoinHello, I am a new member to this forum! Nice to meet you all. I have just went through set of posts…
Subscribe to:
Post Comments (Atom)
0 Response to Create hbar with multiple dummy vars
Post a Comment