All commands
# |
content
|
3 [+]
|
use
bpress
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
bpress |
|
4 [+]
|
bysort sex agegrp:
summarize
bp
All properties
key |
content |
command |
summarize |
indent |
0 |
parameters |
bp |
prefix |
bysort sex agegrp: |
|
6 [+]
|
use
bpress
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
bpress |
|
7 [+]
|
xi:
regress
bp i.agegrp i.sex
All properties
key |
content |
command |
regress |
indent |
0 |
parameters |
bp i.agegrp i.sex |
prefix |
xi: |
|
9 [+]
|
xi:
regress
bp i.agegrp*i.sex
All properties
key |
content |
command |
regress |
indent |
0 |
parameters |
bp i.agegrp*i.sex |
prefix |
xi: |
|
11 [+]
|
xi:
regress
bp i.agegrp*bp0
All properties
key |
content |
command |
regress |
indent |
0 |
parameters |
bp i.agegrp*bp0 |
prefix |
xi: |
|
13 [+]
|
statsby
mean=r(mean) sd=r(sd) n=r(N)
, by(agegrp sex) saving(bpstats, replace): summarize bp
|
14 [+]
|
use
bpstats
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
bpstats |
|
15 [+]
|
list
, sepby(agegrp)
All properties
key |
content |
command |
list |
indent |
0 |
options |
sepby(agegrp) |
parameters |
|
|
17 [+]
|
use
ibm
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
ibm |
|
18 [+]
|
rolling
_b _se
, window(90) saving(capm, replace) nodots: qreg ibm spx
|
20 [+]
|
use
capm
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
capm |
|
21 [+]
|
label
var _b_spx "quantile reg IBM beta"
|
22 [+]
|
label
var end "date"
All properties
key |
content |
command |
label |
indent |
0 |
parameters |
var end "date" |
|
23 [+]
|
list
in 1/5
All properties
key |
content |
command |
list |
in |
1/5 |
indent |
0 |
parameters |
|
|
25 [+]
|
tsset
end
All properties
key |
content |
command |
tsset |
indent |
0 |
parameters |
end |
|
26 [+]
|
format
end %tdMonYY
All properties
key |
content |
command |
format |
indent |
0 |
parameters |
end %tdMonYY |
|
27 [+]
|
tsline
_b_spx
, yline(1) saving(fig7_1, replace) scheme(s2mono)
|
29 [+]
|
program
drop _all
All properties
key |
content |
command |
program |
indent |
0 |
parameters |
drop _all |
|
30 [+]
|
type
simpctile.ado
All properties
key |
content |
command |
type |
indent |
0 |
parameters |
simpctile.ado |
|
32 [+]
|
clear
All properties
key |
content |
command |
clear |
indent |
0 |
parameters |
|
|
33 [+]
|
set
seed 2007062926
All properties
key |
content |
command |
set |
indent |
0 |
parameters |
seed 2007062926 |
|
34 [+]
|
simulate
p25=r(p25) p50=r(p50) p75=r(p75)
, reps(1000) nodots
|
39 [+]
|
use
pctiles
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
pctiles |
|
40 [+]
|
summarize
All properties
key |
content |
command |
summarize |
indent |
0 |
parameters |
|
|
41 [+]
|
label
var p50 "Sample median"
|
42 [+]
|
histogram
p50
, normal saving(fig7_2, replace) scheme(s2mono)
|
44 [+]
|
use
bpress
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
bpress |
|
45 [+]
|
set
seed 2007062926
All properties
key |
content |
command |
set |
indent |
0 |
parameters |
seed 2007062926 |
|
46 [+]
|
ttest
bp
, by(sex)
All properties
key |
content |
command |
ttest |
indent |
0 |
options |
by(sex) |
parameters |
bp |
|
47 [+]
|
bootstrap diff=(r(mu_1) - r(mu_2)), nodots:
ttest
bp
, by(sex)
|
49 [+]
|
use
pctiles
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
pctiles |
|
50 [+]
|
qnorm
p50
, saving(fig7_3, replace) scheme(s2mono)
|