. import excel "C:\Users\hp\Documents\Data Penelitian Stata Run-Des.
xlsx", sheet("Data ")
firstrow clear
. logistic AAUP USIA LWPF PNUT PLUT LLHN KLHN NLAP POKA PKAL PRUT PAUP
Logistic regression Number of obs = 251
LR chi2(11) = 156.77
Prob > chi2 = 0.0000
Log likelihood = -94.346779 Pseudo R2 = 0.4538
------------------------------------------------------------------------------
AAUP | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
USIA | 1.046514 .0247669 1.92 0.055 .9990799 1.096199
LWPF | .7413122 .0714411 -3.11 0.002 .6137194 .8954317
PNUT | .919556 .0463719 -1.66 0.096 .833016 1.015087
PLUT | 1.011825 .0500159 0.24 0.812 .9183948 1.11476
LLHN | 1.000016 .0000848 0.19 0.851 .9998497 1.000182
KLHN | .2709382 .1854359 -1.91 0.056 .0708418 1.036217
NLAP | 1.052868 .0290916 1.86 0.062 .9973657 1.111458
POKA | 6.950279 3.384828 3.98 0.000 2.675851 18.05272
PKAL | 8.710823 7.971515 2.37 0.018 1.449109 52.36212
PRUT | 10.87558 6.309303 4.11 0.000 3.488518 33.90503
PAUP | 6.209634 3.969499 2.86 0.004 1.773931 21.73679
_cons | .057981 .1121051 -1.47 0.141 .0013107 2.56488
------------------------------------------------------------------------------
. psmatch2(AAUP USIA LWPF PNUT KLHN NLAP POKA PKAL PRUT PAUP), out(JPPKpha JPESpha JTKpha
Totprodha labautha)logit
Logistic regression Number of obs = 251
LR chi2(9) = 156.68
Prob > chi2 = 0.0000
Log likelihood = -94.3948 Pseudo R2 = 0.4535
------------------------------------------------------------------------------
AAUP | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
USIA | .0448696 .0236027 1.90 0.057 -.0013908 .09113
LWPF | -.2904629 .0897494 -3.24 0.001 -.4663685 -.1145573
PNUT | -.0763308 .0376716 -2.03 0.043 -.1501657 -.0024958
KLHN | -1.338592 .6668546 -2.01 0.045 -2.645603 -.0315813
NLAP | .0511843 .0275264 1.86 0.063 -.0027665 .105135
POKA | 1.962731 .4821476 4.07 0.000 1.017739 2.907723
PKAL | 2.195101 .8351114 2.63 0.009 .5583126 3.831889
PRUT | 2.384529 .5784161 4.12 0.000 1.250855 3.518204
PAUP | 1.809857 .633986 2.85 0.004 .5672672 3.052447
_cons | -2.788828 1.916528 -1.46 0.146 -6.545153 .9674979
------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Variable Sample | Treated Controls Difference S.E. T-stat
----------------------------+-----------------------------------------------------------
JPPKpha Unmatched | 546.963196 595.127752 -48.1645556 45.4212524 -1.06
ATT | 546.963196 1021.27695 -474.313755 252.484594 -1.88
----------------------------+-----------------------------------------------------------
JPESpha Unmatched | 2.627824 2.28013697 .347687032 .225349057 1.54
ATT | 2.627824 1.97322338 .654600616 .529566435 1.24
----------------------------+-----------------------------------------------------------
JTKpha Unmatched | 54.8699327 55.713964 -.844031237 .379171973 -2.23
ATT | 54.8699327 57.3523733 -2.48244056 2.05568607 -1.21
----------------------------+-----------------------------------------------------------
Totprodha Unmatched | 5339.84063 6104.16465 -764.324019 307.696988 -2.48
ATT | 5339.84063 6531.36632 -1191.52569 1141.12169 -1.04
----------------------------+-----------------------------------------------------------
labautha Unmatched | 16537829.1 20444529.9 -3906700.78 1586968.92 -2.46
ATT | 16537829.1 22475842.9 -5938013.81 5592714.8 -1.06
----------------------------+-----------------------------------------------------------
Note: S.E. does not take into account that the propensity score is estimated.
| psmatch2:
psmatch2: | Common
Treatment | support
assignment | On suppor | Total
-----------+-----------+----------
Untreated | 138 | 138
Treated | 113 | 113
-----------+-----------+----------
Total | 251 | 251
. pstest
------------------------------------------------------------------------------
| Mean | t-test | V(T)/
Variable | Treated Control %bias | t p>|t| | V(C)
------------------------+--------------------------+---------------+----------
USIA | 53.221 50.965 23.6 | 2.09 0.038 | 2.27*
LWPF | 9.708 10.487 -22.7 | -1.95 0.053 | 1.63*
PNUT | 9.2495 6.2451 33.9 | 3.83 0.000 | 4.93*
KLHN | .84071 .38053 151.9 | 8.01 0.000 | .
NLAP | 47.166 44.468 23.3 | 2.10 0.037 | 2.37*
POKA | .84071 .90265 -14.6 | -1.39 0.165 | .
PKAL | .38053 .0177 95.9 | 7.63 0.000 | .
PRUT | .47788 .60177 -29.0 | -1.87 0.062 | .
PAUP | .46903 .0531 84.7 | 8.05 0.000 | .
------------------------------------------------------------------------------
* if variance ratio outside [0.69; 1.45]
----------------------------------------------------------------------
Ps R2 LR chi2 p>chi2 MeanBias MedBias B R %Var
----------------------------------------------------------------------
0.391 122.58 0.000 53.3 29.0 173.6* 2.04* 100
----------------------------------------------------------------------
* if B>25%, R outside [0.5; 2]
. psmatch2(AAUP USIA LWPF PNUT NLAP POKA PKAL PRUT PAUP), out(JPPKpha JPESpha JTKpha
Totprodha labautha)logit
Logistic regression Number of obs = 251
LR chi2(8) = 152.42
Prob > chi2 = 0.0000
Log likelihood = -96.52173 Pseudo R2 = 0.4412
------------------------------------------------------------------------------
AAUP | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
USIA | .038873 .0227225 1.71 0.087 -.0056624 .0834083
LWPF | -.2825107 .0870286 -3.25 0.001 -.4530837 -.1119378
PNUT | -.0828333 .0374184 -2.21 0.027 -.1561719 -.0094947
NLAP | .0557042 .0269468 2.07 0.039 .0028894 .1085189
POKA | 2.148846 .4770306 4.50 0.000 1.213883 3.083808
PKAL | 2.08925 .8340187 2.51 0.012 .4546032 3.723896
PRUT | 2.357607 .5688765 4.14 0.000 1.242629 3.472584
PAUP | 1.813204 .6153767 2.95 0.003 .6070875 3.01932
_cons | -4.006714 1.774747 -2.26 0.024 -7.485155 -.5282732
------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Variable Sample | Treated Controls Difference S.E. T-stat
----------------------------+-----------------------------------------------------------
JPPKpha Unmatched | 546.963196 595.127752 -48.1645556 45.4212524 -1.06
ATT | 546.963196 1156.13925 -609.17605 224.24621 -2.72
----------------------------+-----------------------------------------------------------
JPESpha Unmatched | 2.627824 2.28013697 .347687032 .225349057 1.54
ATT | 2.627824 1.9727256 .655098403 .536528846 1.22
----------------------------+-----------------------------------------------------------
JTKpha Unmatched | 54.8699327 55.713964 -.844031237 .379171973 -2.23
ATT | 54.8699327 56.9366217 -2.06668902 1.33319349 -1.55
----------------------------+-----------------------------------------------------------
Totprodha Unmatched | 5339.84063 6104.16465 -764.324019 307.696988 -2.48
ATT | 5339.84063 6180.28761 -840.446981 1081.22909 -0.78
----------------------------+-----------------------------------------------------------
labautha Unmatched | 16537829.1 20444529.9 -3906700.78 1586968.92 -2.46
ATT | 16537829.1 18001836.9 -1464007.85 5443264.31 -0.27
----------------------------+-----------------------------------------------------------
Note: S.E. does not take into account that the propensity score is estimated.
| psmatch2:
psmatch2: | Common
Treatment | support
assignment | On suppor | Total
-----------+-----------+----------
Untreated | 138 | 138
Treated | 113 | 113
-----------+-----------+----------
Total | 251 | 251
___ ____ ____ ____ ____ (R)
/__ / ____/ / ____/
___/ / /___/ / /___/ 14.2 Copyright 1985-2015 StataCorp LLC
Statistics/Data Analysis StataCorp
4905 Lakeway Drive
MP - Parallel Edition College Station, Texas 77845 USA
800-STATA-PC [Link]
979-696-4600 stata@[Link]
979-696-4601 (fax)
Single-user 8-core Stata perpetual license:
Serial number: 10699393
Licensed to: Andrey
Notes:
1. Unicode is supported; see help unicode_advice.
2. Maximum number of variables is set to 5000; see help set_maxvar.
. import excel "C:\Users\hp\Documents\Data Penelitian Stata Run-Des [Link]", sheet("Data ")
firstrow
. logistic AAUP USIA LWPF PNUT PLUT LLHN KLHN NLAP POKA PKAL PRUT PAUP
Logistic regression Number of obs = 251
LR chi2(11) = 156.77
Prob > chi2 = 0.0000
Log likelihood = -94.346779 Pseudo R2 = 0.4538
------------------------------------------------------------------------------
AAUP | Odds Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
USIA | 1.046514 .0247669 1.92 0.055 .9990799 1.096199
LWPF | .7413122 .0714411 -3.11 0.002 .6137194 .8954317
PNUT | .919556 .0463719 -1.66 0.096 .833016 1.015087
PLUT | 1.011825 .0500159 0.24 0.812 .9183948 1.11476
LLHN | 1.000016 .0000848 0.19 0.851 .9998497 1.000182
KLHN | .2709382 .1854359 -1.91 0.056 .0708418 1.036217
NLAP | 1.052868 .0290916 1.86 0.062 .9973657 1.111458
POKA | 6.950279 3.384828 3.98 0.000 2.675851 18.05272
PKAL | 8.710823 7.971515 2.37 0.018 1.449109 52.36212
PRUT | 10.87558 6.309303 4.11 0.000 3.488518 33.90503
PAUP | 6.209634 3.969499 2.86 0.004 1.773931 21.73679
_cons | .057981 .1121051 -1.47 0.141 .0013107 2.56488
------------------------------------------------------------------------------
. psmatch2(AAUP USIA LWPF PNUT KLHN NLAP POKA PKAL PRUT PAUP), out(JPPKpha JPESpha JTKpha
Totprodha labautha)logit
Logistic regression Number of obs = 251
LR chi2(9) = 156.68
Prob > chi2 = 0.0000
Log likelihood = -94.3948 Pseudo R2 = 0.4535
------------------------------------------------------------------------------
AAUP | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
USIA | .0448696 .0236027 1.90 0.057 -.0013908 .09113
LWPF | -.2904629 .0897494 -3.24 0.001 -.4663685 -.1145573
PNUT | -.0763308 .0376716 -2.03 0.043 -.1501657 -.0024958
KLHN | -1.338592 .6668546 -2.01 0.045 -2.645603 -.0315813
NLAP | .0511843 .0275264 1.86 0.063 -.0027665 .105135
POKA | 1.962731 .4821476 4.07 0.000 1.017739 2.907723
PKAL | 2.195101 .8351114 2.63 0.009 .5583126 3.831889
PRUT | 2.384529 .5784161 4.12 0.000 1.250855 3.518204
PAUP | 1.809857 .633986 2.85 0.004 .5672672 3.052447
_cons | -2.788828 1.916528 -1.46 0.146 -6.545153 .9674979
------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Variable Sample | Treated Controls Difference S.E. T-stat
----------------------------+-----------------------------------------------------------
JPPKpha Unmatched | 613.337687 595.127752 18.2099352 42.8626239 0.42
ATT | 613.337687 1021.27695 -407.939264 251.937223 -1.62
----------------------------+-----------------------------------------------------------
JPESpha Unmatched | 2.627824 2.28013697 .347687032 .225349057 1.54
ATT | 2.627824 1.97322338 .654600616 .529566435 1.24
----------------------------+-----------------------------------------------------------
JTKpha Unmatched | 58.2149463 55.704906 2.51004028 .519633017 4.83
ATT | 58.2149463 57.3523733 .862572984 2.09273176 0.41
----------------------------+-----------------------------------------------------------
Totprodha Unmatched | 5339.84063 6104.16465 -764.324019 307.696988 -2.48
ATT | 5339.84063 6531.36632 -1191.52569 1141.12169 -1.04
----------------------------+-----------------------------------------------------------
labautha Unmatched | 16070866.4 20445435.7 -4374569.27 1585572.49 -2.76
ATT | 16070866.4 22475842.9 -6404976.51 5592253.38 -1.15
----------------------------+-----------------------------------------------------------
Note: S.E. does not take into account that the propensity score is estimated.
| psmatch2:
psmatch2: | Common
Treatment | support
assignment | On suppor | Total
-----------+-----------+----------
Untreated | 138 | 138
Treated | 113 | 113
-----------+-----------+----------
Total | 251 | 251
. pstest
------------------------------------------------------------------------------
| Mean | t-test | V(T)/
Variable | Treated Control %bias | t p>|t| | V(C)
------------------------+--------------------------+---------------+----------
USIA | 53.221 50.965 23.6 | 2.09 0.038 | 2.27*
LWPF | 9.708 10.487 -22.7 | -1.95 0.053 | 1.63*
PNUT | 9.2495 6.2451 33.9 | 3.83 0.000 | 4.93*
KLHN | .84071 .38053 151.9 | 8.01 0.000 | .
NLAP | 47.166 44.468 23.3 | 2.10 0.037 | 2.37*
POKA | .84071 .90265 -14.6 | -1.39 0.165 | .
PKAL | .38053 .0177 95.9 | 7.63 0.000 | .
PRUT | .47788 .60177 -29.0 | -1.87 0.062 | .
PAUP | .46903 .0531 84.7 | 8.05 0.000 | .
------------------------------------------------------------------------------
* if variance ratio outside [0.69; 1.45]
----------------------------------------------------------------------
Ps R2 LR chi2 p>chi2 MeanBias MedBias B R %Var
----------------------------------------------------------------------
0.391 122.58 0.000 53.3 29.0 173.6* 2.04* 100
----------------------------------------------------------------------
* if B>25%, R outside [0.5; 2]
. psmatch2(AAUP USIA LWPF PNUT KLHN NLAP PKAL PRUT PAUP), out(JPPKpha JPESpha JTKpha
Totprodha labautha)logit
Logistic regression Number of obs = 251
LR chi2(8) = 137.25
Prob > chi2 = 0.0000
Log likelihood = -104.10643 Pseudo R2 = 0.3973
------------------------------------------------------------------------------
AAUP | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
USIA | .0762586 .0220856 3.45 0.001 .0329716 .1195457
LWPF | -.40375 .0861238 -4.69 0.000 -.5725495 -.2349506
PNUT | -.0892461 .0335395 -2.66 0.008 -.1549823 -.02351
KLHN | -1.816529 .6128948 -2.96 0.003 -3.017781 -.6152777
NLAP | .0798279 .0262326 3.04 0.002 .0284129 .1312428
PKAL | 2.880717 .7752042 3.72 0.000 1.361345 4.400089
PRUT | 1.810685 .5166312 3.50 0.000 .7981067 2.823264
PAUP | 1.392632 .571334 2.44 0.015 .2728381 2.512426
_cons | -2.67947 1.822159 -1.47 0.141 -6.250835 .8918957
------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Variable Sample | Treated Controls Difference S.E. T-stat
----------------------------+-----------------------------------------------------------
JPPKpha Unmatched | 613.337687 595.127752 18.2099352 42.8626239 0.42
ATT | 613.337687 458.629494 154.708193 226.239332 0.68
----------------------------+-----------------------------------------------------------
JPESpha Unmatched | 2.627824 2.28013697 .347687032 .225349057 1.54
ATT | 2.627824 2.23572674 .392097264 .748212132 0.52
----------------------------+-----------------------------------------------------------
JTKpha Unmatched | 58.2149463 55.704906 2.51004028 .519633017 4.83
ATT | 58.2149463 54.0321975 4.18274879 1.41786104 2.95
----------------------------+-----------------------------------------------------------
Totprodha Unmatched | 5339.84063 6104.16465 -764.324019 307.696988 -2.48
ATT | 5339.84063 3610.21475 1729.62588 1207.428 1.43
----------------------------+-----------------------------------------------------------
labautha Unmatched | 16070866.4 20445435.7 -4374569.27 1585572.49 -2.76
ATT | 16070866.4 8674439.88 7396426.5 5926664.53 1.25
----------------------------+-----------------------------------------------------------
Note: S.E. does not take into account that the propensity score is estimated.
| psmatch2:
psmatch2: | Common
Treatment | support
assignment | On suppor | Total
-----------+-----------+----------
Untreated | 138 | 138
Treated | 113 | 113
-----------+-----------+----------
Total | 251 | 251
. teffects psmatch (JPPKpha) (AAUP USIA LWPF PNUT KLHN NLAP PKAL PRUT PAUP)
Treatment-effects estimation Number of obs = 251
Estimator : propensity-score matching Matches: requested = 1
Outcome model : matching min = 1
Treatment model: logit max = 2
------------------------------------------------------------------------------
| AI Robust
JPPKpha | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ATE |
AAUP |
(1 vs 0) | 87.90304 57.13584 1.54 0.124 -24.08115 199.8872
------------------------------------------------------------------------------
. teffects psmatch (JPESpha) (AAUP USIA LWPF PNUT KLHN NLAP PKAL PRUT PAUP)
Treatment-effects estimation Number of obs = 251
Estimator : propensity-score matching Matches: requested = 1
Outcome model : matching min = 1
Treatment model: logit max = 2
------------------------------------------------------------------------------
| AI Robust
JPESpha | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ATE |
AAUP |
(1 vs 0) | .2892189 .4106213 0.70 0.481 -.5155841 1.094022
------------------------------------------------------------------------------
.
. . teffects psmatch (JTKpha) (AAUP USIA LWPF PNUT KLHN NLAP PKAL PRUT PAUP)
Treatment-effects estimation Number of obs = 251
Estimator : propensity-score matching Matches: requested = 1
Outcome model : matching min = 1
Treatment model: logit max = 2
------------------------------------------------------------------------------
| AI Robust
JTKpha | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ATE |
AAUP |
(1 vs 0) | 3.952324 .6118395 6.46 0.000 2.753141 5.151507
------------------------------------------------------------------------------
. teffects psmatch (Totprodha) (AAUP USIA LWPF PNUT KLHN NLAP PKAL PRUT PAUP)
Treatment-effects estimation Number of obs = 251
Estimator : propensity-score matching Matches: requested = 1
Outcome model : matching min = 1
Treatment model: logit max = 2
------------------------------------------------------------------------------
| AI Robust
Totprodha | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ATE |
AAUP |
(1 vs 0) | 285.7916 380.2437 0.75 0.452 -459.4724 1031.056
------------------------------------------------------------------------------
. teffects psmatch (labautha) (AAUP USIA LWPF PNUT KLHN NLAP PKAL PRUT PAUP)
Treatment-effects estimation Number of obs = 251
Estimator : propensity-score matching Matches: requested = 1
Outcome model : matching min = 1
Treatment model: logit max = 2
------------------------------------------------------------------------------
| AI Robust
labautha | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
ATE |
AAUP |
(1 vs 0) | 445798.8 1748197 0.26 0.799 -2980605 3872203
------------------------------------------------------------------------------