test file main vs 203

Created Diff never expires
0 removals
444 lines
0 additions
444 lines


.
.
. clear all
. clear all


.
.
. /*=========================================================================
. /*=========================================================================
> 1: Load data
> 1: Load data
> ===========================================================================*/
> ===========================================================================*/
. use "example31.dta", clear
. use "example31.dta", clear


.
.
.
.
. /*=========================================================================
. /*=========================================================================
> 2: Run tests
> 2: Run tests
> ===========================================================================*/
> ===========================================================================*/
.
.
. graph drop _all
. graph drop _all


.
.
. *------------------------ 2.1: Replicate 2a and test basic funcionality ----------------------------------
. *------------------------ 2.1: Replicate 2a and test basic funcionality ----------------------------------
.
.
. xtevent y eta , panelvar(i) timevar(t) policyvar(z) window(5)
. xtevent y eta , panelvar(i) timevar(t) policyvar(z) window(5)


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


.
.
. * Testing xtset options
. * Testing xtset options
.
.
. xtevent y eta, policyvar(z) window(5) plot
. xtevent y eta, policyvar(z) window(5) plot


Using options panelvar and timevar from xtset
Using options panelvar and timevar from xtset


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


. xtevent y eta, policyvar(z) panelvar(i) window(5) plot
. xtevent y eta, policyvar(z) panelvar(i) window(5) plot


Using options panelvar and timevar from xtset
Using options panelvar and timevar from xtset


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


. xtevent y eta, policyvar(z) timevar(t) window(5) plot
. xtevent y eta, policyvar(z) timevar(t) window(5) plot


Using options panelvar and timevar from xtset
Using options panelvar and timevar from xtset


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


.
.
.
.
. /* Must fail
. /* Must fail
> xtevent y eta, policyvar(z) panelvar(z) window(5)
> xtevent y eta, policyvar(z) panelvar(z) window(5)
> xtevent y eta, policyvar(z) timevar(z) window(5)
> xtevent y eta, policyvar(z) timevar(z) window(5)
> */
> */
.
.
. * Testing noci, nosupt, nozeroline, nonormlabel
. * Testing noci, nosupt, nozeroline, nonormlabel
. xtevent y eta, policyvar(z) timevar(t) window(5)
. xtevent y eta, policyvar(z) timevar(t) window(5)


Using options panelvar and timevar from xtset
Using options panelvar and timevar from xtset


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


. xteventplot, noci
. xteventplot, noci


option noci has been specified. Confidence intervals won't be displayed
option noci has been specified. Confidence intervals won't be displayed


. xteventplot, nosupt
. xteventplot, nosupt


option nosupt has been specified. Sup-t confidence intervals won't be displayed or calculated
option nosupt has been specified. Sup-t confidence intervals won't be displayed or calculated


. xteventplot, nozeroline
. xteventplot, nozeroline


option nozeroline has been specified. The reference line at 0 won't be displayed
option nozeroline has been specified. The reference line at 0 won't be displayed


. xteventplot, nonormlabel
. xteventplot, nonormlabel


option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
> ding to the normalized coefficient won't be displayed
> ding to the normalized coefficient won't be displayed


.
.
. * Test combinations
. * Test combinations
. xteventplot, noci nozeroline
. xteventplot, noci nozeroline


option noci has been specified. Confidence intervals won't be displayed
option noci has been specified. Confidence intervals won't be displayed


option nozeroline has been specified. The reference line at 0 won't be displayed
option nozeroline has been specified. The reference line at 0 won't be displayed


. xteventplot, noci nonormlabel
. xteventplot, noci nonormlabel


option noci has been specified. Confidence intervals won't be displayed
option noci has been specified. Confidence intervals won't be displayed


option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
> ding to the normalized coefficient won't be displayed
> ding to the normalized coefficient won't be displayed


. xteventplot, nosupt nozeroline
. xteventplot, nosupt nozeroline


option nosupt has been specified. Sup-t confidence intervals won't be displayed or calculated
option nosupt has been specified. Sup-t confidence intervals won't be displayed or calculated


option nozeroline has been specified. The reference line at 0 won't be displayed
option nozeroline has been specified. The reference line at 0 won't be displayed


. xteventplot, nosupt nonormlabel
. xteventplot, nosupt nonormlabel


option nosupt has been specified. Sup-t confidence intervals won't be displayed or calculated
option nosupt has been specified. Sup-t confidence intervals won't be displayed or calculated


option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
> ding to the normalized coefficient won't be displayed
> ding to the normalized coefficient won't be displayed


.
.
. * A common axis plot with labels
. * A common axis plot with labels
. gen y2 = y + 5
. gen y2 = y + 5


. xtevent y eta, policyvar(z) timevar(t) window(5)
. xtevent y eta, policyvar(z) timevar(t) window(5)


Using options panelvar and timevar from xtset
Using options panelvar and timevar from xtset


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011972 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581161
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579537 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343267 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
8 | .282378 .0446025 6.33 0.000 .1949454 .3698106
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
11 | .835558 .0456976 18.28 0.000 .7459787 .9251373
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
_cons | 1.314217 .1041623 12.62 0.000 1.110031 1.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


. loc lab : di %-9.2f `=e(y1)'
. loc lab : di %-9.2f `=e(y1)'


. loc lab=strtrim("`lab'")
. loc lab=strtrim("`lab'")


. xteventplot, nonormlabel ylab(-3 0 `"0 (`lab')"' 3) name(g1) /* " */
. xteventplot, nonormlabel ylab(-3 0 `"0 (`lab')"' 3) name(g1) /* " */


option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
> ding to the normalized coefficient won't be displayed
> ding to the normalized coefficient won't be displayed


. xtevent y2 eta, policyvar(z) timevar(t) window(5)
. xtevent y2 eta, policyvar(z) timevar(t) window(5)


Using options panelvar and timevar from xtset
Using options panelvar and timevar from xtset


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 9,000
Linear regression, absorbing indicators Number of obs = 9,000
Absorbed variable: i No. of categories = 1,000
Absorbed variable: i No. of categories = 1,000
F(21, 7979) = 209.66
F(21, 7979) = 209.66
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7545
R-squared = 0.7545
Adj R-squared = 0.7231
Adj R-squared = 0.7231
Root MSE = 0.9954
Root MSE = 0.9954


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y2 | Coefficient Std. err. t P>|t| [95% conf. interval]
y2 | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m6 | .0692904 .1104722 0.63 0.531 -.147264 .2858448
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m5 | .1651543 .1178905 1.40 0.161 -.0659419 .3962505
_k_eq_m4 | .1011971 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m4 | .1011971 .1131376 0.89 0.371 -.120582 .3229763
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m3 | .1498392 .108524 1.38 0.167 -.0628963 .3625747
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581162
_k_eq_m2 | .0503755 .105976 0.48 0.635 -.1573651 .2581162
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p0 | .9892317 .1045981 9.46 0.000 .7841921 1.194271
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p1 | .9021193 .1058732 8.52 0.000 .6945801 1.109658
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p2 | .997856 .1091899 9.14 0.000 .7838152 1.211897
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p3 | .9620247 .114047 8.44 0.000 .7384629 1.185587
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579538 1.224375
_k_eq_p4 | .9911646 .1189692 8.33 0.000 .7579538 1.224375
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343268 1.432118
_k_eq_p5 | 1.183222 .1269706 9.32 0.000 .9343268 1.432118
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
_k_eq_p6 | 1.072797 .1182986 9.07 0.000 .8409004 1.304693
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
eta | .2616307 .0096806 27.03 0.000 .2426541 .2806073
|
|
t |
t |
8 | .2823779 .0446025 6.33 0.000 .1949453 .3698105
8 | .2823779 .0446025 6.33 0.000 .1949453 .3698105
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
9 | .4604956 .0448172 10.27 0.000 .3726422 .5483491
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
10 | .6894495 .0451663 15.26 0.000 .6009118 .7779873
11 | .835558 .0456976 18.28 0.000 .7459787 .9251372
11 | .835558 .0456976 18.28 0.000 .7459787 .9251372
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
12 | 1.008256 .0464042 21.73 0.000 .9172915 1.09922
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
13 | 1.247446 .0472958 26.38 0.000 1.154734 1.340159
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
14 | 1.396196 .0481892 28.97 0.000 1.301732 1.490659
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
15 | 1.629461 .0491454 33.16 0.000 1.533123 1.725798
|
|
_cons | 6.314217 .1041623 60.62 0.000 6.110031 6.518402
_cons | 6.314217 .1041623 60.62 0.000 6.110031 6.518402
------------------------------------------------------------------------------
------------------------------------------------------------------------------
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000
F test of absorbed indicators: F(999, 7979) = 10.317 Prob > F = 0.000


. loc lab : di %-9.2f `=e(y1)'
. loc lab : di %-9.2f `=e(y1)'


. loc lab=strtrim("`lab'")
. loc lab=strtrim("`lab'")


. xteventplot, nonormlabel ylab(-3 0 `"0 (`lab')"' 3) name(g2) /* " */
. xteventplot, nonormlabel ylab(-3 0 `"0 (`lab')"' 3) name(g2) /* " */


option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
option nonormlabel has been specified. The label for the value of the dependent variable at event time correspon
> ding to the normalized coefficient won't be displayed
> ding to the normalized coefficient won't be displayed


. graph combine g1 g2
. graph combine g1 g2


. drop y2
. drop y2


.
.
. * Test if/in
. * Test if/in
. xtevent y eta if i<100, panelvar(i) timevar(t) policyvar(z) window(5) plot
. xtevent y eta if i<100, panelvar(i) timevar(t) policyvar(z) window(5) plot


No proxy or instruments provided. Implementing OLS estimator
No proxy or instruments provided. Implementing OLS estimator


Linear regression, absorbing indicators Number of obs = 891
Linear regression, absorbing indicators Number of obs = 891
Absorbed variable: i No. of categories = 99
Absorbed variable: i No. of categories = 99
F(21, 771) = 19.21
F(21, 771) = 19.21
Prob > F = 0.0000
Prob > F = 0.0000
R-squared = 0.7712
R-squared = 0.7712
Adj R-squared = 0.7359
Adj R-squared = 0.7359
Root MSE = 1.0356
Root MSE = 1.0356


------------------------------------------------------------------------------
------------------------------------------------------------------------------
y | Coefficient Std. err. t P>|t| [95% conf. interval]
y | Coefficient Std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
-------------+----------------------------------------------------------------
_k_eq_m6 | -.2882097 .351599 -0.82 0.413 -.9784146 .4019952
_k_eq_m6 | -.2882097 .351599 -0.82 0.413 -.9784146 .4019952
_k_eq_m5 | -.6923773 .3927855 -1.76 0.078 -1.463433 .0786785
_k_eq_m5 | -.6923773 .3927855 -1.76 0.078 -1.463433 .0786785
_k_eq_m4 | -.0932655 .3525298 -0.26 0.791 -.7852976 .5987666
_k_eq_m4 | -.0932655 .3525298 -0.26 0.791 -.7852976 .5987666
_k_eq_m3 | -.068185 .3384769 -0.20 0.840 -.7326305 .5962605
_k_eq_m3 | -.068185 .3384769 -0.20 0.840 -.7326305 .5962605
_k_eq_m2 | -.3234206 .3406932 -0.95 0.343 -.992217 .3453757
_k_eq_m2 | -.3234206 .3406932 -0.95 0.343 -.992217 .3453757
_k_eq_p0 | .5722541 .3342813 1.71 0.087 -.0839554 1.228464
_k_eq_p0 | .5722541 .3342813 1.71 0.087 -.0839554 1.228464
_k_eq_p1 | .9961526 .3417043 2.92 0.004 .3253715 1.666934
_k_eq_p1 | .9961526 .3417043 2.92 0.004 .3253715 1.666934
_k_eq_p2 | .7954004 .3524217 2.26 0.024 .1035806 1.48722
_k_eq_p2 | .7954004 .3524217 2.26 0.024 .1035806 1.48722
_k_eq_p3 | .8880688 .3628256 2.45 0.015 .1758256 1.600312
_k_eq_p3 | .8880688 .3628256 2.45 0.015 .1758256 1.600312
_k_eq_p4 | 1.039313 .3719825 2.79 0.005 .3090946 1.769532
_k_eq_p4 | 1.039313 .3719825 2.79 0.005 .3090946 1.769532