library(wooldridge)
data("vote2")
wooldridge vote2 veri setini kullanıyorum.veri setini indiriyorum.
head(vote2, 10)
## state district democ vote90 vote88 inexp90 chexp90 inexp88 chexp88 prtystr
## 1 AL 2 0 51 94 596096 163663 234923 NA 62
## 2 AL 3 1 74 65 176550 22989 679297 443927 65
## 3 AL 7 1 71 68 238446 58952 328296 8737 41
## 4 AK 1 0 52 62 564759 164732 626377 402477 60
## 5 AZ 2 1 66 73 112373 1445 99607 3065 55
## 6 AZ 3 0 57 69 225149 9353 319690 26281 64
## 7 AZ 4 0 61 87 442366 38851 316476 NA 65
## 8 AR 3 0 71 75 105354 15730 159221 60054 66
## 9 AR 4 1 72 69 480853 511 570155 21393 46
## 10 CA 2 0 64 59 515020 5951 696748 193915 58
## rptchall tenure lawyer linexp90 lchexp90 linexp88 lchexp88 incshr90
## 1 0 26 1 13.29816 12.005565 12.36701 NA 78.45856
## 2 0 1 0 12.08136 10.042771 13.42881 13.003415 88.47894
## 3 0 4 1 12.38190 10.984479 12.70167 9.075322 80.17741
## 4 0 17 0 13.24415 12.012075 13.34771 12.905394 77.41823
## 5 1 29 1 11.62958 7.275865 11.50899 8.027802 98.73043
## 6 0 14 0 12.32452 9.143453 12.67511 10.176601 96.01155
## 7 0 4 1 12.99989 10.567489 12.66500 NA 91.92651
## 8 0 24 0 11.56508 9.663325 11.97805 11.002999 87.00902
## 9 0 12 1 13.08332 6.236370 13.25366 9.970819 99.89384
## 10 0 4 0 13.15196 8.691315 13.45418 12.175176 98.85771
## incshr88 cvote clinexp clchexp cincshr win88 win90 cwin
## 1 NA -43 0.9311438 NA NA 1 1 0
## 2 60.47743 9 -1.3474541 -2.9606438 28.001514 1 1 0
## 3 97.40767 3 -0.3197727 1.9091568 -17.230263 1 1 0
## 4 60.88104 -10 -0.1035538 -0.8933182 16.537189 1 1 0
## 5 97.01476 -7 0.1205912 -0.7519379 1.715668 1 1 0
## 6 92.40370 -12 -0.3505898 -1.0331488 3.607849 1 1 0
## 7 NA -26 0.3348904 NA NA 1 1 0
## 8 72.61247 -4 -0.4129667 -1.3396740 14.396545 1 1 0
## 9 96.38355 3 -0.1703463 -3.7344499 3.510292 1 1 0
## 10 78.22802 5 -0.3022175 -3.4838610 20.629692 1 1 0
ilk 10 veriyi göstermek için bu kodu kullanıyorum
library(plm)
## Warning: package 'plm' was built under R version 4.2.2
benimdata <- pdata.frame(vote2, index = c("state", "district"))
pdata.frame komutu verisetini panel verisetine çevirir
durum ve semt indexlerini verisetine tanıttık. Artık bu verisitini kullanarak plm komutunu kullanabilirim
summary(benimdata)
## state district democ vote90 vote88
## CA : 25 1 :19 Min. :0.0000 Min. :43.00 Min. :26.00
## MI : 13 2 :19 1st Qu.:0.0000 1st Qu.:58.00 1st Qu.:60.25
## NY : 13 4 :18 Median :1.0000 Median :62.00 Median :66.50
## PA : 13 6 :16 Mean :0.6237 Mean :62.77 Mean :66.46
## IL : 10 3 :15 3rd Qu.:1.0000 3rd Qu.:66.75 3rd Qu.:72.00
## OH : 10 5 :14 Max. :1.0000 Max. :94.00 Max. :97.00
## (Other):102 (Other):85
## inexp90 chexp90 inexp88 chexp88
## Min. : 6768 Min. : 200 Min. : 8397 Min. : 302
## 1st Qu.: 234484 1st Qu.: 14854 1st Qu.: 218510 1st Qu.: 16349
## Median : 398190 Median : 46338 Median : 348224 Median : 64400
## Mean : 431788 Mean : 128940 Mean : 404140 Mean : 194097
## 3rd Qu.: 600857 3rd Qu.: 158880 3rd Qu.: 530450 3rd Qu.: 246903
## Max. :1538945 Max. :1067366 Max. :1470674 Max. :1548193
## NA's :29
## prtystr rptchall tenure lawyer
## Min. :27.00 Min. :0.0000 Min. : 1.0 Min. :0.0000
## 1st Qu.:46.00 1st Qu.:0.0000 1st Qu.: 6.0 1st Qu.:0.0000
## Median :54.00 Median :0.0000 Median :10.0 Median :0.0000
## Mean :53.22 Mean :0.1935 Mean :11.3 Mean :0.4407
## 3rd Qu.:61.00 3rd Qu.:0.0000 3rd Qu.:14.0 3rd Qu.:1.0000
## Max. :95.00 Max. :1.0000 Max. :49.0 Max. :1.0000
## NA's :9 NA's :9
## linexp90 lchexp90 linexp88 lchexp88
## Min. : 8.82 Min. : 5.298 Min. : 9.036 Min. : 5.710
## 1st Qu.:12.37 1st Qu.: 9.606 1st Qu.:12.295 1st Qu.: 9.702
## Median :12.89 Median :10.743 Median :12.761 Median :11.073
## Mean :12.78 Mean :10.626 Mean :12.702 Mean :11.034
## 3rd Qu.:13.31 3rd Qu.:11.976 3rd Qu.:13.181 3rd Qu.:12.417
## Max. :14.25 Max. :13.881 Max. :14.201 Max. :14.253
## NA's :29
## incshr90 incshr88 cvote clinexp
## Min. : 4.48 Min. : 9.078 Min. :-43.000 Min. :-1.86506
## 1st Qu.:74.19 1st Qu.:65.012 1st Qu.: -9.000 1st Qu.:-0.21197
## Median :86.76 Median :81.132 Median : -3.000 Median : 0.06352
## Mean :82.26 Mean :77.764 Mean : -3.688 Mean : 0.08005
## 3rd Qu.:95.55 3rd Qu.:94.565 3rd Qu.: 2.000 3rd Qu.: 0.37994
## Max. :99.94 Max. :99.905 Max. : 48.000 Max. : 1.92097
## NA's :29
## clchexp cincshr win88 win90
## Min. :-5.4795 Min. :-77.644 Min. :1 Min. :0.000
## 1st Qu.:-1.3397 1st Qu.: -6.806 1st Qu.:1 1st Qu.:1.000
## Median :-0.2789 Median : 1.941 Median :1 Median :1.000
## Mean :-0.2162 Mean : 3.043 Mean :1 Mean :0.957
## 3rd Qu.: 0.8092 3rd Qu.: 14.637 3rd Qu.:1 3rd Qu.:1.000
## Max. : 5.5087 Max. : 49.825 Max. :1 Max. :1.000
## NA's :29 NA's :29
## cwin
## Min. :-1.00000
## 1st Qu.: 0.00000
## Median : 0.00000
## Mean :-0.04301
## 3rd Qu.: 0.00000
## Max. : 0.00000
##
pdim(vote2)
## Unbalanced Panel: n = 36, T = 1-25, N = 186
plm paketinin içinde bulunan pdim komutu sayesinde verisetinin balansını kontrol edebilir, n burada 36 kişiden, T, 1-25 yıl boyunca toplam 186 tane gözlem toplanıldığını göstermektedir
kocaman <-
plm(clinexp ~ lawyer + tenure + factor(district)*prtystr, data = vote2, model = "within")
summary(kocaman)
## Oneway (individual) effect Within Model
##
## Call:
## plm(formula = clinexp ~ lawyer + tenure + factor(district) *
## prtystr, data = vote2, model = "within")
##
## Unbalanced Panel: n = 35, T = 1-24, N = 177
##
## Residuals:
## Min. 1st Qu. Median 3rd Qu. Max.
## -1.57290 -0.16205 0.00000 0.20389 0.92017
##
## Coefficients: (10 dropped because of singularities)
## Estimate Std. Error t-value Pr(>|t|)
## lawyer 0.0786721 0.1203600 0.6536 0.515242
## tenure 0.0266125 0.0084564 3.1470 0.002327 **
## factor(district)2 0.0299596 0.8619954 0.0348 0.972362
## factor(district)3 2.1741539 1.2656292 1.7178 0.089743 .
## factor(district)4 0.0322490 0.8936509 0.0361 0.971304
## factor(district)5 0.5037901 1.0143013 0.4967 0.620789
## factor(district)6 0.7203206 1.0293831 0.6998 0.486133
## factor(district)7 -0.6269936 1.2018861 -0.5217 0.603356
## factor(district)8 -0.4677077 1.4347007 -0.3260 0.745289
## factor(district)9 -1.3283903 1.1715343 -1.1339 0.260270
## factor(district)10 1.5776056 1.5286647 1.0320 0.305214
## factor(district)11 -1.1838574 2.0056048 -0.5903 0.556691
## factor(district)12 2.9243894 1.9450382 1.5035 0.136694
## factor(district)13 -12.6294965 9.7315081 -1.2978 0.198135
## factor(district)14 3.1716539 4.8510626 0.6538 0.515135
## factor(district)15 0.0443640 1.5319056 0.0290 0.976970
## factor(district)16 -2.1987185 3.7847481 -0.5809 0.562933
## factor(district)17 0.1501567 2.2903048 0.0656 0.947892
## factor(district)18 -0.2058374 4.5330502 -0.0454 0.963897
## factor(district)19 2.8788426 2.8540139 1.0087 0.316198
## factor(district)20 -0.5423113 0.6140166 -0.8832 0.379798
## factor(district)21 -1.4231336 7.2749245 -0.1956 0.845409
## factor(district)22 1.1878849 6.4122572 0.1853 0.853506
## factor(district)23 -0.1473382 0.3868456 -0.3809 0.704321
## factor(district)24 2.9168213 7.3430872 0.3972 0.692276
## factor(district)26 0.0593068 0.5914189 0.1003 0.920377
## factor(district)27 -17.8039101 21.9773296 -0.8101 0.420314
## factor(district)28 0.3262710 2.1002358 0.1553 0.876942
## factor(district)30 0.2392602 5.1676232 0.0463 0.963188
## factor(district)31 -0.0845547 0.6483101 -0.1304 0.896563
## factor(district)32 -0.2895991 0.5971714 -0.4850 0.629053
## factor(district)33 -0.1224576 0.5837576 -0.2098 0.834384
## factor(district)34 2.5373173 5.0178913 0.5057 0.614507
## factor(district)36 0.2499497 0.5981628 0.4179 0.677181
## factor(district)37 1.5677274 0.5880740 2.6659 0.009309 **
## factor(district)40 -0.4280539 0.5977848 -0.7161 0.476061
## factor(district)42 -0.0624813 0.5925197 -0.1055 0.916286
## prtystr 0.0049629 0.0091519 0.5423 0.589151
## factor(district)2:prtystr -0.0047270 0.0148791 -0.3177 0.751556
## factor(district)3:prtystr -0.0424446 0.0237440 -1.7876 0.077676 .
## factor(district)4:prtystr 0.0037869 0.0166694 0.2272 0.820872
## factor(district)5:prtystr -0.0090448 0.0170368 -0.5309 0.596979
## factor(district)6:prtystr -0.0159456 0.0175819 -0.9069 0.367200
## factor(district)7:prtystr 0.0113427 0.0225494 0.5030 0.616352
## factor(district)8:prtystr 0.0087627 0.0291043 0.3011 0.764144
## factor(district)9:prtystr 0.0248256 0.0217208 1.1429 0.256516
## factor(district)10:prtystr -0.0320919 0.0285338 -1.1247 0.264123
## factor(district)11:prtystr 0.0260210 0.0371867 0.6997 0.486145
## factor(district)12:prtystr -0.0561710 0.0378870 -1.4826 0.142161
## factor(district)13:prtystr 0.2175978 0.1665207 1.3067 0.195095
## factor(district)14:prtystr -0.0692962 0.1011879 -0.6848 0.495458
## factor(district)15:prtystr -0.0052930 0.0291953 -0.1813 0.856600
## factor(district)16:prtystr 0.0412211 0.0716845 0.5750 0.566902
## factor(district)17:prtystr -0.0092538 0.0355346 -0.2604 0.795220
## factor(district)18:prtystr -0.0046260 0.0702685 -0.0658 0.947677
## factor(district)19:prtystr -0.0693915 0.0607229 -1.1428 0.256591
## factor(district)21:prtystr 0.0230097 0.1269024 0.1813 0.856583
## factor(district)22:prtystr -0.0225194 0.1040064 -0.2165 0.829141
## factor(district)24:prtystr -0.0432104 0.1184869 -0.3647 0.716321
## factor(district)27:prtystr 0.3363155 0.4137243 0.8129 0.418720
## factor(district)28:prtystr -0.0077546 0.0332286 -0.2334 0.816076
## factor(district)30:prtystr -0.0206291 0.1039178 -0.1985 0.843153
## factor(district)34:prtystr -0.0502427 0.0923757 -0.5439 0.588045
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Total Sum of Squares: 38.511
## Residual Sum of Squares: 21.89
## R-Squared: 0.4316
## Adj. R-Squared: -0.26631
## F-statistic: 0.952161 on 63 and 79 DF, p-value: 0.57742
plm regresyon yaptık
latif <-
(lm(clinexp ~ lawyer + tenure + factor(district)*prtystr, data = vote2))
summary(latif)
##
## Call:
## lm(formula = clinexp ~ lawyer + tenure + factor(district) * prtystr,
## data = vote2)
##
## Residuals:
## Min 1Q Median 3Q Max
## -1.8146 -0.1538 0.0000 0.1809 1.2989
##
## Coefficients: (10 not defined because of singularities)
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) -2.194e-02 4.166e-01 -0.053 0.95808
## lawyer 3.953e-02 9.858e-02 0.401 0.68915
## tenure 1.689e-02 6.219e-03 2.717 0.00763 **
## factor(district)2 -2.457e-01 6.604e-01 -0.372 0.71055
## factor(district)3 1.750e+00 9.314e-01 1.879 0.06281 .
## factor(district)4 3.200e-02 7.415e-01 0.043 0.96565
## factor(district)5 2.684e-01 8.133e-01 0.330 0.74202
## factor(district)6 3.973e-01 8.049e-01 0.494 0.62251
## factor(district)7 -1.311e-01 1.015e+00 -0.129 0.89749
## factor(district)8 -8.459e-01 1.233e+00 -0.686 0.49390
## factor(district)9 -1.130e+00 1.013e+00 -1.116 0.26685
## factor(district)10 2.658e+00 1.295e+00 2.053 0.04238 *
## factor(district)11 -8.524e-01 1.674e+00 -0.509 0.61167
## factor(district)12 2.305e+00 1.678e+00 1.374 0.17208
## factor(district)13 -9.744e+00 8.456e+00 -1.152 0.25166
## factor(district)14 2.705e+00 4.268e+00 0.634 0.52749
## factor(district)15 -4.547e-01 1.226e+00 -0.371 0.71149
## factor(district)16 -2.316e+00 3.362e+00 -0.689 0.49227
## factor(district)17 5.016e-01 1.877e+00 0.267 0.78977
## factor(district)18 -1.078e+00 3.972e+00 -0.271 0.78653
## factor(district)19 3.388e+00 2.499e+00 1.356 0.17785
## factor(district)20 -4.030e-01 5.239e-01 -0.769 0.44336
## factor(district)21 -4.484e-01 5.972e+00 -0.075 0.94028
## factor(district)22 4.305e-01 5.445e+00 0.079 0.93712
## factor(district)23 -3.181e-01 3.161e-01 -1.006 0.31633
## factor(district)24 1.642e+00 6.315e+00 0.260 0.79531
## factor(district)26 -1.314e-01 5.216e-01 -0.252 0.80157
## factor(district)27 -2.152e+01 1.900e+01 -1.133 0.25977
## factor(district)28 1.287e-02 1.728e+00 0.007 0.99407
## factor(district)30 -6.171e-01 4.387e+00 -0.141 0.88839
## factor(district)31 -3.948e-01 5.215e-01 -0.757 0.45054
## factor(district)32 -4.050e-01 5.222e-01 -0.776 0.43960
## factor(district)33 -3.076e-01 5.196e-01 -0.592 0.55502
## factor(district)34 2.468e+00 4.335e+00 0.569 0.57025
## factor(district)36 8.843e-02 5.214e-01 0.170 0.86563
## factor(district)37 1.385e+00 5.256e-01 2.635 0.00960 **
## factor(district)40 -6.301e-01 5.327e-01 -1.183 0.23931
## factor(district)42 -3.145e-01 5.258e-01 -0.598 0.55086
## prtystr 1.355e-03 7.025e-03 0.193 0.84745
## factor(district)2:prtystr -1.688e-03 1.193e-02 -0.141 0.88773
## factor(district)3:prtystr -3.912e-02 1.744e-02 -2.243 0.02681 *
## factor(district)4:prtystr -3.182e-04 1.396e-02 -0.023 0.98185
## factor(district)5:prtystr -5.915e-03 1.405e-02 -0.421 0.67459
## factor(district)6:prtystr -1.177e-02 1.424e-02 -0.826 0.41027
## factor(district)7:prtystr -2.787e-03 1.934e-02 -0.144 0.88570
## factor(district)8:prtystr 1.305e-02 2.527e-02 0.517 0.60648
## factor(district)9:prtystr 1.988e-02 1.924e-02 1.033 0.30367
## factor(district)10:prtystr -5.116e-02 2.447e-02 -2.091 0.03878 *
## factor(district)11:prtystr 1.666e-02 3.130e-02 0.532 0.59544
## factor(district)12:prtystr -5.010e-02 3.302e-02 -1.517 0.13200
## factor(district)13:prtystr 1.665e-01 1.444e-01 1.153 0.25138
## factor(district)14:prtystr -6.623e-02 8.912e-02 -0.743 0.45894
## factor(district)15:prtystr 1.466e-03 2.416e-02 0.061 0.95173
## factor(district)16:prtystr 4.075e-02 6.376e-02 0.639 0.52407
## factor(district)17:prtystr -1.580e-02 2.895e-02 -0.546 0.58634
## factor(district)18:prtystr 6.361e-03 6.202e-02 0.103 0.91849
## factor(district)19:prtystr -8.158e-02 5.346e-02 -1.526 0.12976
## factor(district)20:prtystr NA NA NA NA
## factor(district)21:prtystr 6.067e-03 1.036e-01 0.059 0.95342
## factor(district)22:prtystr -1.120e-02 8.908e-02 -0.126 0.90020
## factor(district)23:prtystr NA NA NA NA
## factor(district)24:prtystr -2.478e-02 1.026e-01 -0.242 0.80950
## factor(district)26:prtystr NA NA NA NA
## factor(district)27:prtystr 4.015e-01 3.584e-01 1.120 0.26497
## factor(district)28:prtystr -4.651e-03 2.821e-02 -0.165 0.86933
## factor(district)30:prtystr -8.944e-03 8.909e-02 -0.100 0.92021
## factor(district)31:prtystr NA NA NA NA
## factor(district)32:prtystr NA NA NA NA
## factor(district)33:prtystr NA NA NA NA
## factor(district)34:prtystr -5.381e-02 7.925e-02 -0.679 0.49850
## factor(district)36:prtystr NA NA NA NA
## factor(district)37:prtystr NA NA NA NA
## factor(district)40:prtystr NA NA NA NA
## factor(district)42:prtystr NA NA NA NA
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 0.5021 on 113 degrees of freedom
## (9 observations deleted due to missingness)
## Multiple R-squared: 0.3922, Adjusted R-squared: 0.05327
## F-statistic: 1.157 on 63 and 113 DF, p-value: 0.2482
lm regresyon yaptık
library(stargazer)
##
## Please cite as:
## Hlavac, Marek (2022). stargazer: Well-Formatted Regression and Summary Statistics Tables.
## R package version 5.2.3. https://CRAN.R-project.org/package=stargazer
stargazer(list(kocaman , latif), type = "text")
##
## ===================================================================
## Dependent variable:
## ----------------------------------------
## clinexp
## panel OLS
## linear
## (1) (2)
## -------------------------------------------------------------------
## lawyer 0.079 0.040
## (0.120) (0.099)
##
## tenure 0.027*** 0.017***
## (0.008) (0.006)
##
## factor(district)2 0.030 -0.246
## (0.862) (0.660)
##
## factor(district)3 2.174* 1.750*
## (1.266) (0.931)
##
## factor(district)4 0.032 0.032
## (0.894) (0.742)
##
## factor(district)5 0.504 0.268
## (1.014) (0.813)
##
## factor(district)6 0.720 0.397
## (1.029) (0.805)
##
## factor(district)7 -0.627 -0.131
## (1.202) (1.015)
##
## factor(district)8 -0.468 -0.846
## (1.435) (1.233)
##
## factor(district)9 -1.328 -1.130
## (1.172) (1.013)
##
## factor(district)10 1.578 2.658**
## (1.529) (1.295)
##
## factor(district)11 -1.184 -0.852
## (2.006) (1.674)
##
## factor(district)12 2.924 2.305
## (1.945) (1.678)
##
## factor(district)13 -12.629 -9.744
## (9.732) (8.456)
##
## factor(district)14 3.172 2.705
## (4.851) (4.268)
##
## factor(district)15 0.044 -0.455
## (1.532) (1.226)
##
## factor(district)16 -2.199 -2.316
## (3.785) (3.362)
##
## factor(district)17 0.150 0.502
## (2.290) (1.877)
##
## factor(district)18 -0.206 -1.078
## (4.533) (3.972)
##
## factor(district)19 2.879 3.388
## (2.854) (2.499)
##
## factor(district)20 -0.542 -0.403
## (0.614) (0.524)
##
## factor(district)21 -1.423 -0.448
## (7.275) (5.972)
##
## factor(district)22 1.188 0.430
## (6.412) (5.445)
##
## factor(district)23 -0.147 -0.318
## (0.387) (0.316)
##
## factor(district)24 2.917 1.642
## (7.343) (6.315)
##
## factor(district)26 0.059 -0.131
## (0.591) (0.522)
##
## factor(district)27 -17.804 -21.519
## (21.977) (19.000)
##
## factor(district)28 0.326 0.013
## (2.100) (1.728)
##
## factor(district)30 0.239 -0.617
## (5.168) (4.387)
##
## factor(district)31 -0.085 -0.395
## (0.648) (0.521)
##
## factor(district)32 -0.290 -0.405
## (0.597) (0.522)
##
## factor(district)33 -0.122 -0.308
## (0.584) (0.520)
##
## factor(district)34 2.537 2.468
## (5.018) (4.335)
##
## factor(district)36 0.250 0.088
## (0.598) (0.521)
##
## factor(district)37 1.568*** 1.385***
## (0.588) (0.526)
##
## factor(district)40 -0.428 -0.630
## (0.598) (0.533)
##
## factor(district)42 -0.062 -0.315
## (0.593) (0.526)
##
## prtystr 0.005 0.001
## (0.009) (0.007)
##
## factor(district)2:prtystr -0.005 -0.002
## (0.015) (0.012)
##
## factor(district)3:prtystr -0.042* -0.039**
## (0.024) (0.017)
##
## factor(district)4:prtystr 0.004 -0.0003
## (0.017) (0.014)
##
## factor(district)5:prtystr -0.009 -0.006
## (0.017) (0.014)
##
## factor(district)6:prtystr -0.016 -0.012
## (0.018) (0.014)
##
## factor(district)7:prtystr 0.011 -0.003
## (0.023) (0.019)
##
## factor(district)8:prtystr 0.009 0.013
## (0.029) (0.025)
##
## factor(district)9:prtystr 0.025 0.020
## (0.022) (0.019)
##
## factor(district)10:prtystr -0.032 -0.051**
## (0.029) (0.024)
##
## factor(district)11:prtystr 0.026 0.017
## (0.037) (0.031)
##
## factor(district)12:prtystr -0.056 -0.050
## (0.038) (0.033)
##
## factor(district)13:prtystr 0.218 0.166
## (0.167) (0.144)
##
## factor(district)14:prtystr -0.069 -0.066
## (0.101) (0.089)
##
## factor(district)15:prtystr -0.005 0.001
## (0.029) (0.024)
##
## factor(district)16:prtystr 0.041 0.041
## (0.072) (0.064)
##
## factor(district)17:prtystr -0.009 -0.016
## (0.036) (0.029)
##
## factor(district)18:prtystr -0.005 0.006
## (0.070) (0.062)
##
## factor(district)19:prtystr -0.069 -0.082
## (0.061) (0.053)
##
## factor(district)20:prtystr
##
##
## factor(district)21:prtystr 0.023 0.006
## (0.127) (0.104)
##
## factor(district)22:prtystr -0.023 -0.011
## (0.104) (0.089)
##
## factor(district)23:prtystr
##
##
## factor(district)24:prtystr -0.043 -0.025
## (0.118) (0.103)
##
## factor(district)26:prtystr
##
##
## factor(district)27:prtystr 0.336 0.402
## (0.414) (0.358)
##
## factor(district)28:prtystr -0.008 -0.005
## (0.033) (0.028)
##
## factor(district)30:prtystr -0.021 -0.009
## (0.104) (0.089)
##
## factor(district)31:prtystr
##
##
## factor(district)32:prtystr
##
##
## factor(district)33:prtystr
##
##
## factor(district)34:prtystr -0.050 -0.054
## (0.092) (0.079)
##
## factor(district)36:prtystr
##
##
## factor(district)37:prtystr
##
##
## factor(district)40:prtystr
##
##
## factor(district)42:prtystr
##
##
## Constant -0.022
## (0.417)
##
## -------------------------------------------------------------------
## Observations 177 177
## R2 0.432 0.392
## Adjusted R2 -0.266 0.053
## Residual Std. Error 0.502 (df = 113)
## F Statistic 0.952 (df = 63; 79) 1.157 (df = 63; 113)
## ===================================================================
## Note: *p<0.1; **p<0.05; ***p<0.01
stargazer datasıylada yaptığımız regresyonları birleştiriyoruz