Graphics Reference
In-Depth Information
graph box prev exp tenure, nooutsides note("")
over(urban2) over(married) by(union)
If we want to further break prev exp
down by another categorical variable,
say union ,wecanusethe by(union)
option. We can include multiple
variables within by() , although this can
make some very small graphs.
Uses nlsw.dta & scheme vg s1m
nonunion
union
Rural
Metro
Rural
Metro
Rural
Metro
Rural
Metro
single
married
single
married
Prev. work exper.
Curr. work exper.
Graphs by union worker
graph hbox ttl exp tenure, nooutsides note("")
over(urban2) over(married) by(union, missing )
We can use the missing option to
include a panel for the missing values of
union .
Uses nlsw.dta & scheme vg s1m
nonunion
union
Rural
Rural
single
single
Metro
Metro
Rural
Rural
married
married
Metro
Metro
0
5
10
15
20
25
(missing)
Rural
single
Metro
Rural
married
Metro
0
5
10
15
20
25
Tot. work exper.
Curr. work exper.
Graphs by union worker
graph hbox ttl exp tenure, nooutsides note("")
over(urban2) over(married) by(union, total )
We can add the total option to include
a panel for all observations.
Uses nlsw.dta & scheme vg s1m
nonunion
union
Rural
Rural
single
single
Metro
Metro
Rural
Rural
married
married
Metro
Metro
0
5
10
15
20
25
Total
Rural
single
Metro
Rural
married
Metro
0
5
10
15
20
25
Tot. work exper.
Curr. work exper.
Graphs by union worker
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