All commands
# |
content
|
3 [+]
|
type
myregress.ado
All properties
key |
content |
command |
type |
indent |
0 |
parameters |
myregress.ado |
|
5 [+]
|
use
wpi1
, clear
All properties
key |
content |
command |
use |
indent |
0 |
options |
clear |
parameters |
wpi1 |
|
6 [+]
|
myregress
wpi L(1/4).wpi t
, lagvar(wpi) nlags(4)
|
7 [+]
|
return
list
All properties
key |
content |
command |
return |
indent |
0 |
parameters |
list |
|
8 [+]
|
lincom
L.wpi+L2.wpi+L3.wpi+L4.wpi
|
10 [+]
|
rolling
sum=r(sum) se=r(se)
, window(30):
All properties
key |
content |
command |
rolling |
comment |
///
myregress wpi L(1/4).wpi t, lagvar(wpi) nlags(4) |
indent |
0 |
options |
window(30): |
parameters |
sum=r(sum) se=r(se) |
|
13 [+]
|
tsset
end
, quarterly
All properties
key |
content |
command |
tsset |
indent |
0 |
options |
quarterly |
parameters |
end |
|
14 [+]
|
label
var end Endpoint
All properties
key |
content |
command |
label |
indent |
0 |
parameters |
var end Endpoint |
|
15 [+]
|
g
lo = sum - 1.96 * se
All properties
key |
content |
command |
g |
indent |
0 |
parameters |
lo = sum - 1.96 * se |
|
16 [+]
|
g
hi = sum + 1.96 * se
All properties
key |
content |
command |
g |
indent |
0 |
parameters |
hi = sum + 1.96 * se |
|
17 [+]
|
twoway
rarea lo hi end
, color(gs12) title("Sum of moving lag coefficients, approx. 95% CI")
-
twoway rarea lo hi end, color(gs12) title("Sum of moving lag coefficients, approx. 95% CI") ///
|| tsline sum, legend(off) scheme(s2mono)
|