大家好,我最近在处理问卷调查的数据。总样本是2010,其中大部分变量都存在缺失值。
我分别通过整体插补 add(5) 与 按性别插补 add(20)来完成了mi impute,通过mi describe看到两种插补后的所有变量都有2010个样本点。
. mi describe
Style: mlong
Obs.: complete 82
incomplete 1,928 (M = 5 imputations)
---------------------
total 2,010
Vars.: imputed: 92; FinalC(98) FinalM(98) FinalE(98) UNFIT(90) VC(1234) bust(1234) BirthW(251) IVa(285) IVb(335) IVc(181) IVd(118)
BmiD(205) BmiM(198) hukou2(13) ES(136) resident2(61) presch(46) stay(16) SinP2(41) SES2(136) Cultural(170) peo2(12)
chi2(11) sib2(102) order(17) space(270) Net2(20) room2(18) distance(55) vehicle(18) money2(209) goal(45) degree(52)
time2(262) occupy(22) rate(28) ETime2(135) Bre2(13) nap2(15) SleepT2(48) family(43) PA(45) quarrel2(130) talk(59)
praise(54) popular(58) fashion(56) TopRank(56) sport(55) Breast2(690) FDAge(621) FMAge(615) goods(530) games(531)
DExer(574) MExer(554) Income(605) EduFee(573) Safe(541) Insurance(570) CInsur2(823) Dentist(584) Veg(23) Fruit(21) FF(51)
snack(32) juice(30) sweet(31) dairy(26) FPositive(83) FHomework(83) FCriticize(83) FCare1(662) FCare2(662) Approval(112)
DENIAL(112) Emotion1(85) Cognition1(85) Behavior1(85) IAD(114) INTENTION(114) UNINTEN(114) ADDICTION(114) BDB(114)
DISCRI(114) R(551) FBre2(633) FDinner2(636) FTV2(655) FGoal(577) FUni(567) PEInput(411)
passive: 0
regular: 8; SWeight FEMALE SchType GRADE area Tuition Equi PE2
system: 3; _mi_m _mi_id _mi_miss
(there are 614 unregistered variables)
然而,接下来的mi estimate结果惊呆了,分别只有1484和1730个样本点。这种情况之前在另一批调查数据的处理中也出现过,让我十分疑惑,求高人指点,不胜感激!
. mi estimate: logit UNFIT FEMALE hukou2 i.GRADE resident2 presch stay SinP2 SES2 Cultural peo2 chi2 sib2 order space Net2 room2 distance mone
> y2 goal degree time2 PE2 occupy rate ETime2 Bre2 nap2 SleepT2 smoke drink family quarrel2 praise popular fashion TopRank sport Veg Fruit FF
> snack juice sweet dairy Breast2 FDAge FMAge goods games Income EduFee Safe Insurance CInsur2 Dentist DExer MExer FPositive FHomework FCritic
> ize FCare1 FCare2 IAD INTENTION UNINTEN ADDICTION BDB DISCRI R FBre2 FDinner2 FTV2 FGoal FUni i.SchType area Tuition PEInput Equi [pw=S
> Weight]
Multiple-imputation estimates Imputations = 20
Logistic regression Number of obs = 1484
Average RVI = 0.3153
Largest FMI = 0.6743
DF adjustment: Large sample DF: min = 43.65
avg = 1723.37
max = 14622.09
Model F test: Equal FMI F( 80,25998.0) = 1.06
Within VCE type: Robust Prob > F = 0.3379
------------------------------------------------------------------------------
UNFIT | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
FEMALE | .1283503 .2336338 0.55 0.583 -.3299806 .5866813
hukou2 | -.4274966 .2777795 -1.54 0.124 -.9723424 .1173492
12.GRADE | .3089346 .176466 1.75 0.080 -.0372819 .6551511
resident2 | -.0289993 .2595401 -0.11 0.911 -.538414 .4804153
presch | -.1035436 .1495184 -0.69 0.489 -.3968928 .1898055
stay | -.0180453 .0763283 -0.24 0.813 -.167867 .1317765
SinP2 | -.6524601 .4089294 -1.60 0.111 -1.455556 .1506355
SES2 | .1110204 .1574855 0.70 0.481 -.1977178 .4197585
Cultural | .1085276 .1215168 0.89 0.372 -.1303277 .3473829
peo2 | -.0539403 .0917391 -0.59 0.557 -.2339002 .1260195
chi2 | .0859162 .1767904 0.49 0.627 -.2607288 .4325612
sib2 | .184085 .1007625 1.83 0.068 -.0135169 .3816868
order | -.1718186 .1286392 -1.34 0.182 -.4243428 .0807056
space | -.0814523 .0858182 -0.95 0.343 -.2500203 .0871157
Net2 | .0642186 .1902999 0.34 0.736 -.3089152 .4373523
room2 | .1963707 .2183713 0.90 0.369 -.2321822 .6249236
distance | -.0157448 .0928688 -0.17 0.865 -.1980324 .1665427
money2 | .0004731 .0003347 1.41 0.158 -.0001837 .00113
goal | -.0920813 .1210207 -0.76 0.447 -.3294254 .1452628
degree | .0384193 .1078539 0.36 0.722 -.1730707 .2499093
time2 | -.0038114 .0195972 -0.19 0.846 -.0422883 .0346656
PE2 | -3.640572 1.675615 -2.17 0.030 -6.924988 -.3561565
occupy | .0782547 .1560212 0.50 0.616 -.2278718 .3843811
rate | .0670943 .0662345 1.01 0.311 -.0627745 .1969631
ETime2 | -.0057607 .0032885 -1.75 0.080 -.0122192 .0006977
Bre2 | .3763085 .2094008 1.80 0.072 -.0341567 .7867737
nap2 | -.0031134 .1176258 -0.03 0.979 -.233734 .2275073
SleepT2 | .0266955 .0596095 0.45 0.654 -.0901637 .1435547
smoke | -.3298561 .2175995 -1.52 0.130 -.7567724 .0970602
drink | .2432063 .1996901 1.22 0.223 -.1482937 .6347063
family | .1384849 .1359242 1.02 0.309 -.1282364 .4052062
quarrel2 | .0001783 .0020661 0.09 0.932 -.0039867 .0043433
praise | .131525 .1196895 1.10 0.272 -.1032761 .366326
popular | .0375575 .1237547 0.30 0.762 -.2052083 .2803232
fashion | -.1788141 .114369 -1.56 0.118 -.4031344 .0455061
TopRank | -.1163699 .1227939 -0.95 0.344 -.3576587 .1249188
sport | -.1375386 .1100065 -1.25 0.212 -.3534265 .0783493
Veg | -.0497505 .0923486 -0.54 0.590 -.2309458 .1314448
Fruit | .0531498 .0869267 0.61 0.541 -.1173064 .2236061
FF | .1605794 .2349147 0.68 0.494 -.3000417 .6212006
snack | .031004 .1006256 0.31 0.758 -.1664048 .2284129
juice | .0779479 .0913747 0.85 0.394 -.1013691 .257265
sweet | -.1254706 .1035218 -1.21 0.226 -.3285825 .0776413
dairy | -.1160388 .0777519 -1.49 0.136 -.2686884 .0366108
Breast2 | .012461 .0213377 0.58 0.561 -.0300059 .054928
FDAge | -.0077253 .0491313 -0.16 0.876 -.1057541 .0903035
FMAge | .0201543 .0488182 0.41 0.681 -.0769919 .1173006
goods | -.0296145 .1095219 -0.27 0.787 -.2452531 .186024
games | -.0547497 .0842885 -0.65 0.517 -.2209439 .1114445
Income | .0039239 .0380578 0.10 0.918 -.0710791 .0789268
EduFee | -.030595 .0340919 -0.90 0.371 -.097954 .0367639
Safe | .1471768 .1791111 0.82 0.413 -.2079958 .5023495
Insurance | .4284115 .2558393 1.67 0.096 -.0774285 .9342516
CInsur2 | .0000354 .0000521 0.68 0.498 -.0000677 .0001386
Dentist | .0625917 .1088964 0.57 0.566 -.1523392 .2775227
DExer | .0028751 .0901957 0.03 0.975 -.1760424 .1817926
MExer | -.0638966 .0971195 -0.66 0.512 -.2568553 .1290621
FPositive | -.0633768 .0996657 -0.64 0.525 -.2589877 .1322341
FHomework | -.0025931 .0919644 -0.03 0.978 -.1829328 .1777466
FCriticize | .2016337 .0912641 2.21 0.027 .0224655 .3808018
FCare1 | -.1218113 .1090152 -1.12 0.265 -.3370878 .0934652
FCare2 | -.1185098 .1278199 -0.93 0.358 -.3741765 .1371569
IAD | -.0857311 .0953351 -0.90 0.369 -.2732214 .1017591
INTENTION | -.0237513 .0870681 -0.27 0.785 -.1946711 .1471684
UNINTEN | .009097 .0892908 0.10 0.919 -.1661985 .1843924
ADDICTION | .127262 .0960569 1.32 0.185 -.0611262 .3156502
BDB | -.1575426 .1130554 -1.39 0.165 -.3803217 .0652365
DISCRI | .2087244 .0841538 2.48 0.013 .0437233 .3737255
R | .0781722 .0321656 2.43 0.016 .0146982 .1416461
FBre2 | .037233 .0499005 0.75 0.457 -.0616243 .1360904
FDinner2 | -.0877956 .0616222 -1.42 0.158 -.2105358 .0349447
FTV2 | .0982241 .051294 1.91 0.058 -.0033608 .1998091
FGoal | -.1210521 .1488394 -0.81 0.417 -.4146758 .1725717
FUni | -.0577143 .1236795 -0.47 0.641 -.3019088 .1864801
|
SchType |
2 | 4.13312 1.419079 2.91 0.004 1.351301 6.91494
3 | 4.911796 1.871924 2.62 0.009 1.242399 8.581192
4 | 0 (omitted)
|
area | -.0000261 9.13e-06 -2.85 0.004 -.000044 -8.14e-06
Tuition | .028463 .0116108 2.45 0.014 .0056972 .0512288
PEInput | .1055513 .1002156 1.05 0.292 -.0909008 .3020035
Equi | .1672827 .0529263 3.16 0.002 .0635096 .2710557
_cons | -8.407824 2.451275 -3.43 0.001 -13.21883 -3.596821
------------------------------------------------------------------------------
. mi estimate, cmdok: ivreg2 FinalM FEMALE hukou2 ES resident2 presch SES2 Cultural goal degree FPositive FHomework FCriticize FCare1 FCare
> 2 Approval DENIAL Emotion1 Cognition1 Behavior1 FGoal FUni i.SchType (UNFIT VC bust= BirthW2 IVa IVb IVc IVd BmiD BmiM ) [pw=SWeight], firs
> t
Multiple-imputation estimates Imputations = 20
IV (2SLS) estimation Number of obs = 1730
Average RVI = 0.2828
Largest FMI = 0.5093
DF adjustment: Large sample DF: min = 77.00
avg = 1802.37
max = 41144.46
Model F test: Equal FMI F( 27,10489.6) = 47.14
Within VCE type: Robust Prob > F = 0.0000
------------------------------------------------------------------------------
FinalM | Coef. Std. Err. t P>|t| [95% Conf. Interval]
-------------+----------------------------------------------------------------
UNFIT | -1.844857 19.39783 -0.10 0.924 -39.99435 36.30464
VC | -.0050121 .0081813 -0.61 0.541 -.0212247 .0112005
bust | .3843214 .7767624 0.49 0.621 -1.146824 1.915467
FEMALE | -7.288255 11.14257 -0.65 0.514 -29.3614 14.78489
hukou2 | -4.537216 2.748888 -1.65 0.100 -9.945595 .8711637
ES | .2572401 .0267249 9.63 0.000 .204546 .3099341
resident2 | -2.362165 4.354067 -0.54 0.589 -10.98942 6.265094
presch | .8215333 2.09501 0.39 0.696 -3.323542 4.966609
SES2 | .811374 1.697988 0.48 0.633 -2.53503 4.157778
Cultural | -2.798482 1.254691 -2.23 0.026 -5.262643 -.334321
goal | -2.355218 1.295428 -1.82 0.070 -4.900896 .1904589
degree | .3430497 1.369861 0.25 0.802 -2.356582 3.042681
FPositive | 2.639625 .9994049 2.64 0.008 .6772035 4.602047
FHomework | -1.274971 .8734971 -1.46 0.144 -2.987044 .4371023
FCriticize | 2.003847 .908303 2.21 0.028 .2200985 3.787595
FCare1 | 1.825593 1.283572 1.42 0.157 -.7103634 4.361549
FCare2 | .7871675 1.210009 0.65 0.516 -1.602114 3.176449
Approval | -1.062081 .8684286 -1.22 0.222 -2.767016 .6428535
DENIAL | .374029 .8816388 0.42 0.672 -1.357008 2.105066
Emotion1 | -.6323891 1.060225 -0.60 0.551 -2.713762 1.448984
Cognition1 | -.377303 1.020065 -0.37 0.712 -2.385481 1.630875
Behavior1 | .8198308 .8671935 0.95 0.345 -.8835998 2.523261
FGoal | 3.795689 1.532113 2.48 0.014 .7672673 6.824112
FUni | .3177817 1.150584 0.28 0.783 -1.944986 2.580549
|
SchType |
2 | -4.887926 5.236845 -0.93 0.354 -15.31582 5.539965
3 | -7.419074 3.799429 -1.95 0.051 -14.88074 .0425955
4 | 3.103106 7.316536 0.42 0.672 -11.42699 17.6332
|
_cons | -56.60683 47.81173 -1.18 0.237 -150.5794 37.36569
------------------------------------------------------------------------------