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
Highest frequency variableMay you advise, for each "personid", create a new variable which identifies "place2_type" with the h…
Creating a new categorical variable by spousal agreement/disagreementHi, I'm trying to create a new categorical variable that indicates (heterosexual) spousal disagreeme…
How to reshape data from wide to long with multiple variables?Hi, I have two questions regarding data cleaning: Q1) I have a following wide data and want to conv…
Doing Bayesian modelling in StataHello This is something that has puzzled me for a while but I haven't pursued it because I use rsta…
How to reshape data from wide to long with "tricky" variable names and how to merge multiple data files?Hi, I have two questions regarding data cleaning: Q1) I have a following wide data and want to conv…
Subscribe to:
Post Comments (Atom)
0 Response to Create hbar with multiple dummy vars
Post a Comment