Graphics Reference
In-Depth Information
graph hbox prev exp tenure, nooutsides over(occ7, sort(2) )
Changing sort(1) to sort(2) then
sorts the boxes according to the median
of the second
Cler.
-variable, tenure .
Uses nlsw.dta & scheme vg past
y
Labor
Sales
Operat.
Mgmt
Prof
Other
0
5
10
15
20
25
Prev. work exper.
Curr. work exper.
excludes outside values
graph hbox tenure, nooutsides over(occ7, sort(1) ) over(collgrad)
We can use the sort() option when
there are additional over() variables.
Here, the boxes are ordered according
to the median of tenure across occ7
but within each level of collgrad .
Uses nlsw.dta & scheme vg past
Cler.
Labor
Other
not college grad
Sales
Operat.
Mgmt
Prof
Operat.
Labor
Cler.
college grad
Sales
Prof
Mgmt
Other
0
5
10
15
20
25
Curr. work exper.
excludes outside values
graph hbox tenure, nooutsides over(occ7, sort(1)) over(collgrad, descending )
We add the descending option to the
second over() option, and the levels of
collgrad are now shown with college
graduates appearing first.
Uses nlsw.dta & scheme vg past
Operat.
Labor
Cler.
college grad
Sales
Prof
Mgmt
Other
Cler.
Labor
Other
not college grad
Sales
Operat.
Mgmt
Prof
0
5
10
15
20
25
Curr. work exper.
excludes outside values
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.
Search WWH ::




Custom Search