Graphics Reference
In-Depth Information
graph dot tenure, over(occ7, sort(1) descending )
Adding the descending option yields
markers in descending order, going
from highest mean tenure to lowest
mean tenure .
Uses nlsw.dta & scheme vg blue
Other
Prof
Mgmt
Sales
Operat.
Labor
Cler.
0
2
4
6
8
mean of tenure
graph dot tenure prev exp, over(occ7, sort(2) )
Adding a second
y
-variable and
changing sort(1) to sort(2) sorts the
markers according to the second
y
Other
Operat.
-variable, the mean of prev exp .
Uses nlsw.dta & scheme vg blue
Labor
Sales
Prof
Cler.
Mgmt
0
2
4
6
8
mean of tenure
mean of prev_exp
graph dot tenure prev exp, over(occ7, sort(1) ) over(collgrad)
We can use the sort() option when
there are additional over() variables.
Here, the markers are ordered
according to the mean of tenure within
each level of collgrad .
Uses nlsw.dta & scheme vg blue
Cler.
Labor
Other
not college grad
Operat.
Sales
Mgmt
Prof
Labor
Operat.
Cler.
college grad
Sales
Mgmt
Prof
Other
0
2
4
6
8
10
mean of tenure
mean of prev_exp
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