Graphics Reference
In-Depth Information
avplot popden, xtitle(, size(huge) )
We can modify the look of the existing
title without changing the text. For
example, we add the size(huge)
option to make the existing title huge
in size. See Options : Axis titles (254)
and Options : Textboxes (303) for more
details.
Uses allstates.dta & scheme vg s2c
Before running the graph command,
type
reg propval100 popden pcturban
−2000
0
2000
4000
6000
e( popden | X )
coef = .00673009, se = .00120878, t = 5.57
rvfplot
Consider this residual-versus-fit plot.
We often hope to see an even
distribution of points around zero on
the
y
-axis. To help evaluate this
distribution, we might want to label the
y
-axis identically for the values above 0
and below 0.
Uses allstates.dta & scheme vg s2c
Before running the graph command,
type
reg propval100 popden pcturban
0
20
40
60
80
100
Fitted values
rvfplot, ylabel(-60(20)60, nogrid) yline(-20 20)
Here, we add the ylabel() option to
label the
y
60 to 60,
incrementing by 20, and suppress the
grid. Further, we use the yline()
option to add a
-axis from
20.
For more information about labeling
and scaling axes, see Options : Axis labels
(256) and Options : Axis scales (265).
Uses allstates.dta & scheme vg s2c
Before running the graph command,
type
reg propval100 popden pcturban
y
-lineat20and
0
20
40
60
80
100
Fitted 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