Hey. I'm trying to create a histogram for life satisfaction regarding unemployed, temporary workers and normal workers like this:

The three different bars in the histogram should show (1) standard employment relationship, (2) temporary workers and (3) unemployed.
The x-axis should show the satisfaction of life on a scale from 0 (not satisfied) to 10 (very satisfied).
The y-axis should show the proportion in %.
I have following variables in Stata:
- lifesatisfaction
- temporarywork (1, 2): 1= yes= temporary worker; 0= no= standard employment relationship
- unemployed (3)
Could someone please help me to get the right command?
Thanks a lot!
The three different bars in the histogram should show (1) standard employment relationship, (2) temporary workers and (3) unemployed.
The x-axis should show the satisfaction of life on a scale from 0 (not satisfied) to 10 (very satisfied).
The y-axis should show the proportion in %.
I have following variables in Stata:
- lifesatisfaction
- temporarywork (1, 2): 1= yes= temporary worker; 0= no= standard employment relationship
- unemployed (3)
Could someone please help me to get the right command?
Thanks a lot!
Comment