R Under development (unstable) (2024-10-13 r87228 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(Matching) Loading required package: MASS ## ## Matching (Version 4.10-15, Build Date: 2023-09-13) ## See https://www.jsekhon.com for additional documentation. ## Please cite software as: ## Jasjeet S. Sekhon. 2011. ``Multivariate and Propensity Score Matching ## Software with Automated Balance Optimization: The Matching package for R.'' ## Journal of Statistical Software, 42(7): 1-52. ## > > test_check("Matching") Estimate... 1.7852 AI SE...... 0.68672 T-stat..... 2.5996 p.val...... 0.0093332 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 5251 Estimate... 1.7144 AI SE...... 0.74013 T-stat..... 2.3164 p.val...... 0.020539 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 733 Estimate... 1.5363 AI SE...... 0.66193 T-stat..... 2.3209 p.val...... 0.02029 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 1670 Estimate... 1.7269 AI SE...... 0.83663 T-stat..... 2.0641 p.val...... 0.039005 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 185 Matched number of observations (unweighted). 327 Estimate... 1.7055 AI SE...... 0.8201 T-stat..... 2.0796 p.val...... 0.037558 Original number of observations.............. 445 Original number of control obs............... 260 Matched number of observations............... 260 Matched number of observations (unweighted). 406 Estimate... 1.5926 AI SE...... 0.68473 T-stat..... 2.3259 p.val...... 0.020024 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 729 Estimate... 1.7144 AI SE...... 0.74013 T-stat..... 2.3164 p.val...... 0.020539 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 733 Estimate... 1.6309 AI SE...... 0.74523 T-stat..... 2.1885 p.val...... 0.028636 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 733 Estimate... 1.7197 AI SE...... 0.74361 T-stat..... 2.3126 p.val...... 0.020743 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 733 Estimate... 1.3693 AI SE...... 0.40423 T-stat..... 3.3874 p.val...... 0.00070554 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 169 Matched number of observations (unweighted). 378 Number of obs dropped by 'exact' or 'caliper' 276 Estimate... 1.3693 AI SE...... 0.40423 T-stat..... 3.3874 p.val...... 0.00070554 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 169 Matched number of observations (unweighted). 378 Number of obs dropped by 'exact' or 'caliper' 276 Estimate... 1.7144 AI SE...... 0.74338 T-stat..... 2.3062 p.val...... 0.021098 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 733 Estimate... 1.7144 AI SE...... 0.69627 T-stat..... 2.4623 p.val...... 0.013806 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 733 Estimate... 3.147 AI SE...... 1.0709 T-stat..... 2.9386 p.val...... 0.0032973 Original number of observations (weighted)... 661.147 Original number of observations.............. 445 Original number of treated obs (weighted).... 322.71 Original number of treated obs............... 185 Matched number of observations............... 661.147 Matched number of observations (unweighted). 1155 Estimate... 3.1657 AI SE...... 0.26566 T-stat..... 11.916 p.val...... < 2.22e-16 Original number of observations (weighted)... 661.147 Original number of observations.............. 445 Original number of treated obs (weighted).... 322.71 Original number of treated obs............... 185 Matched number of observations............... 60.015 Matched number of observations (unweighted). 130 Number of obs dropped by 'exact' or 'caliper' 152 Weighted #obs dropped by 'exact' or 'caliper' 262.694 Estimate... 3.5046 AI SE...... 0.57461 T-stat..... 6.099 p.val...... 1.0672e-09 Original number of observations (weighted)... 661.147 Original number of observations.............. 445 Original number of treated obs (weighted).... 322.71 Original number of treated obs............... 185 Matched number of observations............... 135.212 Matched number of observations (unweighted). 305 Number of obs dropped by 'exact' or 'caliper' 366 Weighted #obs dropped by 'exact' or 'caliper' 525.935 Results: Estimate... 2153.3 AI SE...... 825.4 T-stat..... 2.6088 p.val...... 0.0090858 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 185 Matched number of observations (unweighted). 346 ***** (V1) age ***** Before Matching After Matching mean treatment........ 25.816 25.816 mean control.......... 25.054 25.006 std mean diff......... 10.655 11.317 mean raw eQQ diff..... 0.94054 0.41618 med raw eQQ diff..... 1 0 max raw eQQ diff..... 7 9 mean eCDF diff........ 0.025364 0.010597 med eCDF diff........ 0.022193 0.0086705 max eCDF diff........ 0.065177 0.049133 var ratio (Tr/Co)..... 1.0278 1.0662 T-test p-value........ 0.26594 0.23472 KS Naive p-value...... 0.7481 0.79781 KS Statistic.......... 0.065177 0.049133 ***** (V2) I(age^2) ***** Before Matching After Matching mean treatment........ 717.39 717.39 mean control.......... 677.32 673.08 std mean diff......... 9.2937 10.275 mean raw eQQ diff..... 56.076 28.948 med raw eQQ diff..... 43 0 max raw eQQ diff..... 721 909 mean eCDF diff........ 0.025364 0.010597 med eCDF diff........ 0.022193 0.0086705 max eCDF diff........ 0.065177 0.049133 var ratio (Tr/Co)..... 1.0115 0.91516 T-test p-value........ 0.33337 0.31819 KS Naive p-value...... 0.7481 0.79781 KS Statistic.......... 0.065177 0.049133 ***** (V3) educ ***** Before Matching After Matching mean treatment........ 10.346 10.346 mean control.......... 10.088 10.48 std mean diff......... 12.806 -6.6749 mean raw eQQ diff..... 0.40541 0.16185 med raw eQQ diff..... 0 0 max raw eQQ diff..... 2 2 mean eCDF diff........ 0.028698 0.011561 med eCDF diff........ 0.012682 0.0086705 max eCDF diff........ 0.12651 0.052023 var ratio (Tr/Co)..... 1.5513 1.1917 T-test p-value........ 0.15017 0.45021 KS Naive p-value...... 0.062873 0.73726 KS Statistic.......... 0.12651 0.052023 ***** (V4) I(educ^2) ***** Before Matching After Matching mean treatment........ 111.06 111.06 mean control.......... 104.37 113.21 std mean diff......... 17.012 -5.466 mean raw eQQ diff..... 8.7189 3.1098 med raw eQQ diff..... 0 0 max raw eQQ diff..... 60 60 mean eCDF diff........ 0.028698 0.011561 med eCDF diff........ 0.012682 0.0086705 max eCDF diff........ 0.12651 0.052023 var ratio (Tr/Co)..... 1.6625 1.2716 T-test p-value........ 0.053676 0.51046 KS Naive p-value...... 0.062873 0.73726 KS Statistic.......... 0.12651 0.052023 ***** (V5) black ***** Before Matching After Matching mean treatment........ 0.84324 0.84324 mean control.......... 0.82692 0.85946 std mean diff......... 4.4767 -4.4482 mean raw eQQ diff..... 0.016216 0.0086705 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.0081601 0.0043353 med eCDF diff........ 0.0081601 0.0043353 max eCDF diff........ 0.01632 0.0086705 var ratio (Tr/Co)..... 0.92503 1.0943 T-test p-value........ 0.64736 0.57783 ***** (V6) hisp ***** Before Matching After Matching mean treatment........ 0.059459 0.059459 mean control.......... 0.10769 0.048649 std mean diff......... -20.341 4.5591 mean raw eQQ diff..... 0.048649 0.0057803 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.024116 0.0028902 med eCDF diff........ 0.024116 0.0028902 max eCDF diff........ 0.048233 0.0057803 var ratio (Tr/Co)..... 0.58288 1.2083 T-test p-value........ 0.064043 0.41443 ***** (V7) married ***** Before Matching After Matching mean treatment........ 0.18919 0.18919 mean control.......... 0.15385 0.16667 std mean diff......... 8.9995 5.735 mean raw eQQ diff..... 0.037838 0.017341 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.017672 0.0086705 med eCDF diff........ 0.017672 0.0086705 max eCDF diff........ 0.035343 0.017341 var ratio (Tr/Co)..... 1.1802 1.1045 T-test p-value........ 0.33425 0.46741 ***** (V8) nodegr ***** Before Matching After Matching mean treatment........ 0.70811 0.70811 mean control.......... 0.83462 0.69189 std mean diff......... -27.751 3.5572 mean raw eQQ diff..... 0.12432 0.014451 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.063254 0.0072254 med eCDF diff........ 0.063254 0.0072254 max eCDF diff........ 0.12651 0.014451 var ratio (Tr/Co)..... 1.4998 0.96957 T-test p-value........ 0.0020368 0.49161 ***** (V9) re74 ***** Before Matching After Matching mean treatment........ 2095.6 2095.6 mean control.......... 2107 1624.3 std mean diff......... -0.23437 9.6439 mean raw eQQ diff..... 487.98 467.33 med raw eQQ diff..... 0 0 max raw eQQ diff..... 8413 12410 mean eCDF diff........ 0.019223 0.019782 med eCDF diff........ 0.0158 0.018786 max eCDF diff........ 0.047089 0.046243 var ratio (Tr/Co)..... 0.7381 2.2663 T-test p-value........ 0.98186 0.22745 KS Naive p-value...... 0.97023 0.8532 KS Statistic.......... 0.047089 0.046243 ***** (V10) I(re74^2) ***** Before Matching After Matching mean treatment........ 28141434 28141434 mean control.......... 36667413 13117852 std mean diff......... -7.4721 13.167 mean raw eQQ diff..... 13311731 10899373 med raw eQQ diff..... 0 0 max raw eQQ diff..... 365146387 616156569 mean eCDF diff........ 0.019223 0.019782 med eCDF diff........ 0.0158 0.018786 max eCDF diff........ 0.047089 0.046243 var ratio (Tr/Co)..... 0.50382 7.9006 T-test p-value........ 0.51322 0.08604 KS Naive p-value...... 0.97023 0.8532 KS Statistic.......... 0.047089 0.046243 ***** (V11) re75 ***** Before Matching After Matching mean treatment........ 1532.1 1532.1 mean control.......... 1266.9 1297.6 std mean diff......... 8.2363 7.2827 mean raw eQQ diff..... 367.61 211.42 med raw eQQ diff..... 0 0 max raw eQQ diff..... 2110.2 8195.6 mean eCDF diff........ 0.050834 0.023047 med eCDF diff........ 0.061954 0.023121 max eCDF diff........ 0.10748 0.057803 var ratio (Tr/Co)..... 1.0763 1.4291 T-test p-value........ 0.38527 0.33324 KS Naive p-value...... 0.16449 0.60988 KS Statistic.......... 0.10748 0.057803 ***** (V12) I(re75^2) ***** Before Matching After Matching mean treatment........ 12654753 12654753 mean control.......... 11196530 8896263 std mean diff......... 2.6024 6.7076 mean raw eQQ diff..... 2840830 2887443 med raw eQQ diff..... 0 0 max raw eQQ diff..... 101657197 344942969 mean eCDF diff........ 0.050834 0.023047 med eCDF diff........ 0.061954 0.023121 max eCDF diff........ 0.10748 0.057803 var ratio (Tr/Co)..... 1.4609 3.559 T-test p-value........ 0.77178 0.37741 KS Naive p-value...... 0.16449 0.60988 KS Statistic.......... 0.10748 0.057803 ***** (V13) u74 ***** Before Matching After Matching mean treatment........ 0.70811 0.70811 mean control.......... 0.75 0.68458 std mean diff......... -9.1895 5.1608 mean raw eQQ diff..... 0.037838 0.017341 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.020946 0.0086705 med eCDF diff........ 0.020946 0.0086705 max eCDF diff........ 0.041892 0.017341 var ratio (Tr/Co)..... 1.1041 0.95721 T-test p-value........ 0.33033 0.52298 ***** (V14) u75 ***** Before Matching After Matching mean treatment........ 0.6 0.6 mean control.......... 0.68462 0.62072 std mean diff......... -17.225 -4.2182 mean raw eQQ diff..... 0.081081 0.031792 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.042308 0.015896 med eCDF diff........ 0.042308 0.015896 max eCDF diff........ 0.084615 0.031792 var ratio (Tr/Co)..... 1.1133 1.0194 T-test p-value........ 0.068031 0.46507 Before Matching Minimum p.value: 0.0020368 Variable Name(s): nodegr Number(s): 8 After Matching Minimum p.value: 0.08604 Variable Name(s): I(re74^2) Number(s): 10 $value [1] 0.3226132 0.5980701 0.6548664 0.6548664 0.7055926 0.7055926 0.7335715 [8] 0.7382289 0.7963581 0.7963581 0.8035413 0.9265706 0.9516643 0.9707070 [15] 0.9990218 0.9999999 1.0000000 1.0000000 1.0000000 1.0000000 1.0000000 [22] 1.0000000 $par [1] 532.3605 252.6545 338.0263 795.4709 504.0333 555.8420 141.5663 130.4522 [9] 258.4442 203.4455 $Weight.matrix [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,] 532.3605 0.0000 0.0000 0.0000 0.0000 0.000 0.0000 0.0000 [2,] 0.0000 252.6545 0.0000 0.0000 0.0000 0.000 0.0000 0.0000 [3,] 0.0000 0.0000 338.0263 0.0000 0.0000 0.000 0.0000 0.0000 [4,] 0.0000 0.0000 0.0000 795.4709 0.0000 0.000 0.0000 0.0000 [5,] 0.0000 0.0000 0.0000 0.0000 504.0333 0.000 0.0000 0.0000 [6,] 0.0000 0.0000 0.0000 0.0000 0.0000 555.842 0.0000 0.0000 [7,] 0.0000 0.0000 0.0000 0.0000 0.0000 0.000 141.5663 0.0000 [8,] 0.0000 0.0000 0.0000 0.0000 0.0000 0.000 0.0000 130.4522 [9,] 0.0000 0.0000 0.0000 0.0000 0.0000 0.000 0.0000 0.0000 [10,] 0.0000 0.0000 0.0000 0.0000 0.0000 0.000 0.0000 0.0000 [,9] [,10] [1,] 0.0000 0.0000 [2,] 0.0000 0.0000 [3,] 0.0000 0.0000 [4,] 0.0000 0.0000 [5,] 0.0000 0.0000 [6,] 0.0000 0.0000 [7,] 0.0000 0.0000 [8,] 0.0000 0.0000 [9,] 258.4442 0.0000 [10,] 0.0000 203.4455 $matches [,1] [,2] [,3] [1,] 1 193 1.0000000 [2,] 2 231 1.0000000 [3,] 3 261 1.0000000 [4,] 4 254 1.0000000 [5,] 5 230 1.0000000 [6,] 6 188 0.5000000 [7,] 6 244 0.5000000 [8,] 7 256 0.5000000 [9,] 7 266 0.5000000 [10,] 8 279 1.0000000 [11,] 9 196 1.0000000 [12,] 10 277 1.0000000 [13,] 11 288 1.0000000 [14,] 12 196 1.0000000 [15,] 13 317 1.0000000 [16,] 14 274 0.3333333 [17,] 14 301 0.3333333 [18,] 14 315 0.3333333 [19,] 15 329 1.0000000 [20,] 16 323 0.5000000 [21,] 16 324 0.5000000 [22,] 17 280 1.0000000 [23,] 18 186 0.2500000 [24,] 18 232 0.2500000 [25,] 18 294 0.2500000 [26,] 18 312 0.2500000 [27,] 19 201 1.0000000 [28,] 20 311 1.0000000 [29,] 21 235 0.2500000 [30,] 21 240 0.2500000 [31,] 21 290 0.2500000 [32,] 21 305 0.2500000 [33,] 22 372 1.0000000 [34,] 23 298 1.0000000 [35,] 24 234 0.5000000 [36,] 24 243 0.5000000 [37,] 25 327 0.3333333 [38,] 25 337 0.3333333 [39,] 25 356 0.3333333 [40,] 26 293 0.5000000 [41,] 26 302 0.5000000 [42,] 27 204 0.3333333 [43,] 27 219 0.3333333 [44,] 27 283 0.3333333 [45,] 28 223 1.0000000 [46,] 29 328 0.2000000 [47,] 29 333 0.2000000 [48,] 29 334 0.2000000 [49,] 29 345 0.2000000 [50,] 29 354 0.2000000 [51,] 30 234 0.5000000 [52,] 30 243 0.5000000 [53,] 31 328 0.2000000 [54,] 31 333 0.2000000 [55,] 31 334 0.2000000 [56,] 31 345 0.2000000 [57,] 31 354 0.2000000 [58,] 32 263 1.0000000 [59,] 33 271 1.0000000 [60,] 34 218 1.0000000 [61,] 35 253 0.5000000 [62,] 35 284 0.5000000 [63,] 36 201 1.0000000 [64,] 37 250 1.0000000 [65,] 38 303 1.0000000 [66,] 39 211 1.0000000 [67,] 40 202 0.3333333 [68,] 40 249 0.3333333 [69,] 40 297 0.3333333 [70,] 41 218 0.5000000 [71,] 41 266 0.5000000 [72,] 42 341 1.0000000 [73,] 43 318 0.5000000 [74,] 43 339 0.5000000 [75,] 44 260 1.0000000 [76,] 45 237 0.2500000 [77,] 45 335 0.2500000 [78,] 45 347 0.2500000 [79,] 45 353 0.2500000 [80,] 46 271 1.0000000 [81,] 47 318 0.5000000 [82,] 47 339 0.5000000 [83,] 48 344 0.5000000 [84,] 48 346 0.5000000 [85,] 49 250 1.0000000 [86,] 50 256 0.5000000 [87,] 50 266 0.5000000 [88,] 51 208 0.5000000 [89,] 51 255 0.5000000 [90,] 52 293 0.5000000 [91,] 52 302 0.5000000 [92,] 53 321 0.3333333 [93,] 53 330 0.3333333 [94,] 53 351 0.3333333 [95,] 54 253 0.5000000 [96,] 54 284 0.5000000 [97,] 55 293 0.5000000 [98,] 55 302 0.5000000 [99,] 56 328 0.2000000 [100,] 56 333 0.2000000 [101,] 56 334 0.2000000 [102,] 56 345 0.2000000 [103,] 56 354 0.2000000 [104,] 57 205 1.0000000 [105,] 58 198 1.0000000 [106,] 59 276 1.0000000 [107,] 60 199 1.0000000 [108,] 61 318 0.5000000 [109,] 61 339 0.5000000 [110,] 62 255 1.0000000 [111,] 63 217 1.0000000 [112,] 64 254 1.0000000 [113,] 65 250 1.0000000 [114,] 66 197 1.0000000 [115,] 67 254 1.0000000 [116,] 68 192 1.0000000 [117,] 69 211 1.0000000 [118,] 70 304 1.0000000 [119,] 71 197 1.0000000 [120,] 72 201 1.0000000 [121,] 73 329 1.0000000 [122,] 74 253 0.5000000 [123,] 74 284 0.5000000 [124,] 75 304 1.0000000 [125,] 76 199 1.0000000 [126,] 77 266 1.0000000 [127,] 78 188 0.2500000 [128,] 78 244 0.2500000 [129,] 78 343 0.2500000 [130,] 78 349 0.2500000 [131,] 79 233 0.3333333 [132,] 79 273 0.3333333 [133,] 79 275 0.3333333 [134,] 80 252 1.0000000 [135,] 81 253 0.5000000 [136,] 81 284 0.5000000 [137,] 82 229 1.0000000 [138,] 83 372 1.0000000 [139,] 84 280 1.0000000 [140,] 85 208 1.0000000 [141,] 86 233 0.5000000 [142,] 86 273 0.5000000 [143,] 87 203 1.0000000 [144,] 88 226 1.0000000 [145,] 89 241 1.0000000 [146,] 90 209 1.0000000 [147,] 91 293 0.5000000 [148,] 91 302 0.5000000 [149,] 92 328 0.2000000 [150,] 92 333 0.2000000 [151,] 92 334 0.2000000 [152,] 92 345 0.2000000 [153,] 92 354 0.2000000 [154,] 93 204 0.3333333 [155,] 93 219 0.3333333 [156,] 93 283 0.3333333 [157,] 94 218 0.5000000 [158,] 94 266 0.5000000 [159,] 95 282 1.0000000 [160,] 96 187 0.5000000 [161,] 96 241 0.5000000 [162,] 97 189 0.1250000 [163,] 97 191 0.1250000 [164,] 97 269 0.1250000 [165,] 97 325 0.1250000 [166,] 97 326 0.1250000 [167,] 97 332 0.1250000 [168,] 97 338 0.1250000 [169,] 97 350 0.1250000 [170,] 98 201 1.0000000 [171,] 99 220 0.2500000 [172,] 99 238 0.2500000 [173,] 99 248 0.2500000 [174,] 99 296 0.2500000 [175,] 100 223 1.0000000 [176,] 101 202 0.3333333 [177,] 101 249 0.3333333 [178,] 101 297 0.3333333 [179,] 102 247 0.5000000 [180,] 102 281 0.5000000 [181,] 103 204 0.3333333 [182,] 103 219 0.3333333 [183,] 103 283 0.3333333 [184,] 104 321 0.3333333 [185,] 104 330 0.3333333 [186,] 104 351 0.3333333 [187,] 105 335 0.3333333 [188,] 105 347 0.3333333 [189,] 105 353 0.3333333 [190,] 106 207 1.0000000 [191,] 107 280 1.0000000 [192,] 108 344 0.5000000 [193,] 108 346 0.5000000 [194,] 109 242 1.0000000 [195,] 110 375 1.0000000 [196,] 111 357 1.0000000 [197,] 112 390 1.0000000 [198,] 113 393 1.0000000 [199,] 114 380 1.0000000 [200,] 115 382 1.0000000 [201,] 116 371 1.0000000 [202,] 117 405 1.0000000 [203,] 118 378 1.0000000 [204,] 119 379 1.0000000 [205,] 120 402 1.0000000 [206,] 121 366 1.0000000 [207,] 122 369 1.0000000 [208,] 123 379 1.0000000 [209,] 124 422 1.0000000 [210,] 125 395 1.0000000 [211,] 126 418 1.0000000 [212,] 127 402 1.0000000 [213,] 128 418 1.0000000 [214,] 129 433 1.0000000 [215,] 130 380 1.0000000 [216,] 131 368 1.0000000 [217,] 132 392 1.0000000 [218,] 133 418 1.0000000 [219,] 134 413 1.0000000 [220,] 135 375 1.0000000 [221,] 136 389 1.0000000 [222,] 137 295 1.0000000 [223,] 138 408 1.0000000 [224,] 139 405 1.0000000 [225,] 140 395 1.0000000 [226,] 141 415 1.0000000 [227,] 142 409 1.0000000 [228,] 143 388 1.0000000 [229,] 144 417 1.0000000 [230,] 145 372 1.0000000 [231,] 146 406 1.0000000 [232,] 147 407 1.0000000 [233,] 148 385 1.0000000 [234,] 149 418 1.0000000 [235,] 150 386 1.0000000 [236,] 151 389 1.0000000 [237,] 152 409 1.0000000 [238,] 153 408 1.0000000 [239,] 154 402 1.0000000 [240,] 155 211 1.0000000 [241,] 156 409 1.0000000 [242,] 157 407 1.0000000 [243,] 158 409 1.0000000 [244,] 159 370 1.0000000 [245,] 160 423 1.0000000 [246,] 161 408 1.0000000 [247,] 162 410 1.0000000 [248,] 163 421 1.0000000 [249,] 164 389 1.0000000 [250,] 165 405 1.0000000 [251,] 166 376 1.0000000 [252,] 167 361 1.0000000 [253,] 168 434 1.0000000 [254,] 169 427 1.0000000 [255,] 170 415 1.0000000 [256,] 171 416 1.0000000 [257,] 172 422 1.0000000 [258,] 173 387 1.0000000 [259,] 174 420 1.0000000 [260,] 175 413 1.0000000 [261,] 176 425 1.0000000 [262,] 177 267 1.0000000 [263,] 178 374 1.0000000 [264,] 179 371 1.0000000 [265,] 180 432 1.0000000 [266,] 181 428 1.0000000 [267,] 182 428 1.0000000 [268,] 183 440 1.0000000 [269,] 184 444 1.0000000 [270,] 185 444 1.0000000 [271,] 18 186 1.0000000 [272,] 96 187 1.0000000 [273,] 6 188 1.0000000 [274,] 97 189 1.0000000 [275,] 95 190 1.0000000 [276,] 97 191 1.0000000 [277,] 68 192 1.0000000 [278,] 1 193 0.3333333 [279,] 52 193 0.3333333 [280,] 91 193 0.3333333 [281,] 87 194 1.0000000 [282,] 63 195 1.0000000 [283,] 12 196 1.0000000 [284,] 66 197 1.0000000 [285,] 14 198 1.0000000 [286,] 60 199 1.0000000 [287,] 13 200 1.0000000 [288,] 3 201 1.0000000 [289,] 40 202 0.5000000 [290,] 101 202 0.5000000 [291,] 87 203 1.0000000 [292,] 27 204 0.3333333 [293,] 93 204 0.3333333 [294,] 103 204 0.3333333 [295,] 57 205 1.0000000 [296,] 33 206 0.5000000 [297,] 46 206 0.5000000 [298,] 106 207 1.0000000 [299,] 85 208 1.0000000 [300,] 90 209 1.0000000 [301,] 8 210 0.5000000 [302,] 109 210 0.5000000 [303,] 1 211 0.3333333 [304,] 52 211 0.3333333 [305,] 91 211 0.3333333 [306,] 87 212 1.0000000 [307,] 3 213 1.0000000 [308,] 2 214 1.0000000 [309,] 38 215 1.0000000 [310,] 3 216 1.0000000 [311,] 63 217 1.0000000 [312,] 34 218 1.0000000 [313,] 27 219 0.3333333 [314,] 93 219 0.3333333 [315,] 103 219 0.3333333 [316,] 99 220 1.0000000 [317,] 63 221 1.0000000 [318,] 16 222 1.0000000 [319,] 2 223 1.0000000 [320,] 102 224 1.0000000 [321,] 2 225 1.0000000 [322,] 88 226 1.0000000 [323,] 57 227 1.0000000 [324,] 63 228 1.0000000 [325,] 34 229 0.5000000 [326,] 82 229 0.5000000 [327,] 5 230 1.0000000 [328,] 2 231 1.0000000 [329,] 18 232 1.0000000 [330,] 86 233 1.0000000 [331,] 24 234 0.5000000 [332,] 30 234 0.5000000 [333,] 21 235 1.0000000 [334,] 87 236 1.0000000 [335,] 45 237 0.5000000 [336,] 80 237 0.5000000 [337,] 99 238 1.0000000 [338,] 33 239 0.5000000 [339,] 46 239 0.5000000 [340,] 21 240 1.0000000 [341,] 96 241 1.0000000 [342,] 109 242 1.0000000 [343,] 24 243 0.5000000 [344,] 30 243 0.5000000 [345,] 6 244 1.0000000 [346,] 4 245 0.3333333 [347,] 64 245 0.3333333 [348,] 67 245 0.3333333 [349,] 2 246 1.0000000 [350,] 102 247 1.0000000 [351,] 99 248 1.0000000 [352,] 40 249 0.5000000 [353,] 101 249 0.5000000 [354,] 37 250 0.5000000 [355,] 49 250 0.5000000 [356,] 63 251 1.0000000 [357,] 80 252 1.0000000 [358,] 35 253 0.2500000 [359,] 54 253 0.2500000 [360,] 74 253 0.2500000 [361,] 81 253 0.2500000 [362,] 4 254 0.3333333 [363,] 64 254 0.3333333 [364,] 67 254 0.3333333 [365,] 62 255 1.0000000 [366,] 7 256 0.1666667 [367,] 35 256 0.1666667 [368,] 50 256 0.1666667 [369,] 54 256 0.1666667 [370,] 74 256 0.1666667 [371,] 81 256 0.1666667 [372,] 18 257 1.0000000 [373,] 90 258 1.0000000 [374,] 3 259 1.0000000 [375,] 44 260 1.0000000 [376,] 3 261 1.0000000 [377,] 6 262 1.0000000 [378,] 32 263 1.0000000 [379,] 16 264 1.0000000 [380,] 8 265 1.0000000 [381,] 77 266 1.0000000 [382,] 177 267 1.0000000 [383,] 8 268 0.5000000 [384,] 109 268 0.5000000 [385,] 97 269 1.0000000 [386,] 100 270 1.0000000 [387,] 33 271 0.5000000 [388,] 46 271 0.5000000 [389,] 33 272 0.5000000 [390,] 46 272 0.5000000 [391,] 86 273 1.0000000 [392,] 14 274 1.0000000 [393,] 106 275 1.0000000 [394,] 59 276 1.0000000 [395,] 59 277 1.0000000 [396,] 90 278 1.0000000 [397,] 8 279 1.0000000 [398,] 17 280 0.3333333 [399,] 84 280 0.3333333 [400,] 107 280 0.3333333 [401,] 102 281 1.0000000 [402,] 95 282 1.0000000 [403,] 27 283 0.3333333 [404,] 93 283 0.3333333 [405,] 103 283 0.3333333 [406,] 35 284 0.2500000 [407,] 54 284 0.2500000 [408,] 74 284 0.2500000 [409,] 81 284 0.2500000 [410,] 38 285 1.0000000 [411,] 8 286 1.0000000 [412,] 18 287 1.0000000 [413,] 11 288 1.0000000 [414,] 52 289 0.5000000 [415,] 91 289 0.5000000 [416,] 21 290 1.0000000 [417,] 8 291 1.0000000 [418,] 102 292 1.0000000 [419,] 26 293 1.0000000 [420,] 18 294 1.0000000 [421,] 14 295 1.0000000 [422,] 99 296 1.0000000 [423,] 40 297 0.5000000 [424,] 101 297 0.5000000 [425,] 68 298 1.0000000 [426,] 37 299 0.5000000 [427,] 49 299 0.5000000 [428,] 38 300 1.0000000 [429,] 14 301 1.0000000 [430,] 26 302 1.0000000 [431,] 38 303 1.0000000 [432,] 17 304 0.2500000 [433,] 70 304 0.2500000 [434,] 84 304 0.2500000 [435,] 107 304 0.2500000 [436,] 21 305 1.0000000 [437,] 95 306 1.0000000 [438,] 100 307 1.0000000 [439,] 13 308 1.0000000 [440,] 106 309 1.0000000 [441,] 5 310 1.0000000 [442,] 20 311 1.0000000 [443,] 18 312 1.0000000 [444,] 96 313 1.0000000 [445,] 44 314 1.0000000 [446,] 14 315 1.0000000 [447,] 90 316 1.0000000 [448,] 13 317 1.0000000 [449,] 43 318 0.3333333 [450,] 47 318 0.3333333 [451,] 61 318 0.3333333 [452,] 2 319 1.0000000 [453,] 2 320 1.0000000 [454,] 53 321 0.5000000 [455,] 104 321 0.5000000 [456,] 53 322 0.5000000 [457,] 104 322 0.5000000 [458,] 16 323 1.0000000 [459,] 16 324 1.0000000 [460,] 97 325 1.0000000 [461,] 97 326 1.0000000 [462,] 25 327 1.0000000 [463,] 29 328 0.2500000 [464,] 31 328 0.2500000 [465,] 56 328 0.2500000 [466,] 92 328 0.2500000 [467,] 15 329 1.0000000 [468,] 53 330 0.5000000 [469,] 104 330 0.5000000 [470,] 2 331 1.0000000 [471,] 97 332 1.0000000 [472,] 29 333 0.2500000 [473,] 31 333 0.2500000 [474,] 56 333 0.2500000 [475,] 92 333 0.2500000 [476,] 29 334 0.2500000 [477,] 31 334 0.2500000 [478,] 56 334 0.2500000 [479,] 92 334 0.2500000 [480,] 105 335 1.0000000 [481,] 42 336 1.0000000 [482,] 25 337 1.0000000 [483,] 97 338 1.0000000 [484,] 43 339 0.3333333 [485,] 47 339 0.3333333 [486,] 61 339 0.3333333 [487,] 87 340 1.0000000 [488,] 42 341 1.0000000 [489,] 60 342 1.0000000 [490,] 11 343 0.5000000 [491,] 78 343 0.5000000 [492,] 48 344 0.5000000 [493,] 108 344 0.5000000 [494,] 29 345 0.2500000 [495,] 31 345 0.2500000 [496,] 56 345 0.2500000 [497,] 92 345 0.2500000 [498,] 48 346 0.5000000 [499,] 108 346 0.5000000 [500,] 105 347 1.0000000 [501,] 33 348 0.5000000 [502,] 46 348 0.5000000 [503,] 11 349 0.5000000 [504,] 78 349 0.5000000 [505,] 97 350 1.0000000 [506,] 53 351 0.5000000 [507,] 104 351 0.5000000 [508,] 2 352 1.0000000 [509,] 105 353 1.0000000 [510,] 29 354 0.2500000 [511,] 31 354 0.2500000 [512,] 56 354 0.2500000 [513,] 92 354 0.2500000 [514,] 2 355 1.0000000 [515,] 25 356 1.0000000 [516,] 111 357 1.0000000 [517,] 111 358 1.0000000 [518,] 111 359 1.0000000 [519,] 111 360 1.0000000 [520,] 167 361 1.0000000 [521,] 111 362 1.0000000 [522,] 175 363 1.0000000 [523,] 79 364 0.5000000 [524,] 86 364 0.5000000 [525,] 19 365 1.0000000 [526,] 118 366 1.0000000 [527,] 114 367 1.0000000 [528,] 138 368 1.0000000 [529,] 122 369 1.0000000 [530,] 148 370 1.0000000 [531,] 116 371 1.0000000 [532,] 145 372 1.0000000 [533,] 123 373 1.0000000 [534,] 136 374 1.0000000 [535,] 135 375 1.0000000 [536,] 42 376 1.0000000 [537,] 130 377 1.0000000 [538,] 118 378 1.0000000 [539,] 119 379 1.0000000 [540,] 114 380 1.0000000 [541,] 122 381 1.0000000 [542,] 38 382 1.0000000 [543,] 148 383 1.0000000 [544,] 145 384 1.0000000 [545,] 148 385 1.0000000 [546,] 150 386 1.0000000 [547,] 112 387 1.0000000 [548,] 148 388 1.0000000 [549,] 136 389 1.0000000 [550,] 112 390 1.0000000 [551,] 130 391 1.0000000 [552,] 132 392 1.0000000 [553,] 113 393 1.0000000 [554,] 118 394 1.0000000 [555,] 125 395 1.0000000 [556,] 125 396 1.0000000 [557,] 136 397 1.0000000 [558,] 168 398 1.0000000 [559,] 112 399 1.0000000 [560,] 150 400 1.0000000 [561,] 132 401 1.0000000 [562,] 127 402 1.0000000 [563,] 142 403 1.0000000 [564,] 119 404 1.0000000 [565,] 117 405 1.0000000 [566,] 146 406 1.0000000 [567,] 157 407 1.0000000 [568,] 138 408 1.0000000 [569,] 158 409 1.0000000 [570,] 153 410 1.0000000 [571,] 168 411 1.0000000 [572,] 100 412 1.0000000 [573,] 134 413 1.0000000 [574,] 146 414 1.0000000 [575,] 141 415 1.0000000 [576,] 146 416 1.0000000 [577,] 144 417 1.0000000 [578,] 149 418 1.0000000 [579,] 149 419 1.0000000 [580,] 174 420 1.0000000 [581,] 163 421 1.0000000 [582,] 172 422 1.0000000 [583,] 161 423 1.0000000 [584,] 121 424 1.0000000 [585,] 174 425 1.0000000 [586,] 158 426 1.0000000 [587,] 163 427 1.0000000 [588,] 181 428 1.0000000 [589,] 175 429 1.0000000 [590,] 174 430 1.0000000 [591,] 174 431 1.0000000 [592,] 173 432 1.0000000 [593,] 129 433 1.0000000 [594,] 168 434 1.0000000 [595,] 163 435 1.0000000 [596,] 149 436 1.0000000 [597,] 163 437 1.0000000 [598,] 169 438 1.0000000 [599,] 175 439 1.0000000 [600,] 183 440 1.0000000 [601,] 175 441 1.0000000 [602,] 175 442 1.0000000 [603,] 180 443 1.0000000 [604,] 184 444 1.0000000 [605,] 185 445 1.0000000 $ecaliper NULL attr(,"class") [1] "GenMatch" Estimate... 1.9676 AI SE...... 0.77638 T-stat..... 2.5343 p.val...... 0.011266 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 445 Matched number of observations (unweighted). 605 ***** (V1) age ***** Before Matching After Matching mean treatment........ 25.816 25.161 mean control.......... 25.054 25.121 std mean diff......... 10.655 0.59875 mean raw eQQ diff..... 0.94054 0.36694 med raw eQQ diff..... 1 0 max raw eQQ diff..... 7 8 mean eCDF diff........ 0.025364 0.010063 med eCDF diff........ 0.022193 0.0082645 max eCDF diff........ 0.065177 0.031405 var ratio (Tr/Co)..... 1.0278 0.99043 T-test p-value........ 0.26594 0.80354 KS Bootstrap p-value.. 0.58 0.76 KS Naive p-value...... 0.7481 0.92657 KS Statistic.......... 0.065177 0.031405 ***** (V2) educ ***** Before Matching After Matching mean treatment........ 10.346 10.22 mean control.......... 10.088 10.234 std mean diff......... 12.806 -0.78845 mean raw eQQ diff..... 0.40541 0.084298 med raw eQQ diff..... 0 0 max raw eQQ diff..... 2 2 mean eCDF diff........ 0.028698 0.0060213 med eCDF diff........ 0.012682 0.0033058 max eCDF diff........ 0.12651 0.029752 var ratio (Tr/Co)..... 1.5513 1.0407 T-test p-value........ 0.15017 0.73823 KS Bootstrap p-value.. 0.012 0.56 KS Naive p-value...... 0.062873 0.95166 KS Statistic.......... 0.12651 0.029752 ***** (V3) black ***** Before Matching After Matching mean treatment........ 0.84324 0.8382 mean control.......... 0.82692 0.84045 std mean diff......... 4.4767 -0.60952 mean raw eQQ diff..... 0.016216 0.0016529 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.0081601 0.00082645 med eCDF diff........ 0.0081601 0.00082645 max eCDF diff........ 0.01632 0.0016529 var ratio (Tr/Co)..... 0.92503 1.0114 T-test p-value........ 0.64736 0.65487 ***** (V4) hisp ***** Before Matching After Matching mean treatment........ 0.059459 0.08764 mean control.......... 0.10769 0.08764 std mean diff......... -20.341 0 mean raw eQQ diff..... 0.048649 0 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 0 mean eCDF diff........ 0.024116 0 med eCDF diff........ 0.024116 0 max eCDF diff........ 0.048233 0 var ratio (Tr/Co)..... 0.58288 1 T-test p-value........ 0.064043 1 ***** (V5) married ***** Before Matching After Matching mean treatment........ 0.18919 0.16854 mean control.......... 0.15385 0.16854 std mean diff......... 8.9995 0 mean raw eQQ diff..... 0.037838 0 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 0 mean eCDF diff........ 0.017672 0 med eCDF diff........ 0.017672 0 max eCDF diff........ 0.035343 0 var ratio (Tr/Co)..... 1.1802 1 T-test p-value........ 0.33425 1 ***** (V6) nodegr ***** Before Matching After Matching mean treatment........ 0.70811 0.78202 mean control.......... 0.83462 0.78202 std mean diff......... -27.751 0 mean raw eQQ diff..... 0.12432 0 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 0 mean eCDF diff........ 0.063254 0 med eCDF diff........ 0.063254 0 max eCDF diff........ 0.12651 0 var ratio (Tr/Co)..... 1.4998 1 T-test p-value........ 0.0020368 1 ***** (V7) u74 ***** Before Matching After Matching mean treatment........ 0.70811 0.73483 mean control.......... 0.75 0.73258 std mean diff......... -9.1895 0.50851 mean raw eQQ diff..... 0.037838 0.0016529 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.020946 0.00082645 med eCDF diff........ 0.020946 0.00082645 max eCDF diff........ 0.041892 0.0016529 var ratio (Tr/Co)..... 1.1041 0.99464 T-test p-value........ 0.33033 0.70559 ***** (V8) u75 ***** Before Matching After Matching mean treatment........ 0.6 0.65393 mean control.......... 0.68462 0.65169 std mean diff......... -17.225 0.47185 mean raw eQQ diff..... 0.081081 0.0033058 med raw eQQ diff..... 0 0 max raw eQQ diff..... 1 1 mean eCDF diff........ 0.042308 0.0016529 med eCDF diff........ 0.042308 0.0016529 max eCDF diff........ 0.084615 0.0033058 var ratio (Tr/Co)..... 1.1133 0.99697 T-test p-value........ 0.068031 0.79636 ***** (V9) re75 ***** Before Matching After Matching mean treatment........ 1532.1 1280.4 mean control.......... 1266.9 1253.3 std mean diff......... 8.2363 0.9162 mean raw eQQ diff..... 367.61 122.52 med raw eQQ diff..... 0 0 max raw eQQ diff..... 2110.2 8195.6 mean eCDF diff........ 0.050834 0.0095632 med eCDF diff........ 0.061954 0.007438 max eCDF diff........ 0.10748 0.028099 var ratio (Tr/Co)..... 1.0763 1.0406 T-test p-value........ 0.38527 0.73357 KS Bootstrap p-value.. 0.05 0.592 KS Naive p-value...... 0.16449 0.97071 KS Statistic.......... 0.10748 0.028099 ***** (V10) re74 ***** Before Matching After Matching mean treatment........ 2095.6 1943.2 mean control.......... 2107 2001.5 std mean diff......... -0.23437 -1.2144 mean raw eQQ diff..... 487.98 198.36 med raw eQQ diff..... 0 0 max raw eQQ diff..... 8413 7870.3 mean eCDF diff........ 0.019223 0.0069187 med eCDF diff........ 0.0158 0.0049587 max eCDF diff........ 0.047089 0.021488 var ratio (Tr/Co)..... 0.7381 0.87112 T-test p-value........ 0.98186 0.59807 KS Bootstrap p-value.. 0.574 0.708 KS Naive p-value...... 0.97023 0.99902 KS Statistic.......... 0.047089 0.021488 ***** (V11) I(re74 * re75) ***** Before Matching After Matching mean treatment........ 13118591 11736547 mean control.......... 14530303 13134792 std mean diff......... -2.7799 -3.0779 mean raw eQQ diff..... 3278733 2146098 med raw eQQ diff..... 0 0 max raw eQQ diff..... 188160151 188160151 mean eCDF diff........ 0.022723 0.0049738 med eCDF diff........ 0.014449 0.0049587 max eCDF diff........ 0.061019 0.014876 var ratio (Tr/Co)..... 0.69439 0.66512 T-test p-value........ 0.79058 0.32261 KS Bootstrap p-value.. 0.32 0.934 KS Naive p-value...... 0.81575 1 KS Statistic.......... 0.061019 0.014876 Before Matching Minimum p.value: 0.0020368 Variable Name(s): nodegr Number(s): 6 After Matching Minimum p.value: 0.32261 Variable Name(s): I(re74 * re75) Number(s): 11 1 of 2 groups 2 of 2 groups Estimate... 1907.3 AI SE...... 598.06 AI T-stat.. 3.1891 AI p.val... 0.0014269 SE......... 863.19 T-stat..... 2.2096 p.val...... 0.027133 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 119 Matched number of observations (unweighted). 355 Number of treated observations dropped....... 66 Estimate... 1907.3 AI SE...... 598.06 T-stat..... 3.1891 p.val...... 0.0014269 Est noAdj.. 1907.3 SE......... 863.19 T-stat..... 2.2096 p.val...... 0.027133 Original number of observations.............. 445 Original number of treated obs............... 185 Matched number of observations............... 119 Matched number of observations (unweighted). 355 Number of obs dropped by 'exact' or 'caliper' 66 [ FAIL 0 | WARN 0 | SKIP 1 | PASS 74 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • Not run on non-mac platforms due to non-deterministic randomness in implementation of std::uniform_int_distribution across different compilers. Test cases were written only for macOS (clang). We have not had time to write tests for other compilers like gcc yet. (1): 'test-GenMatch.R:68:1' [ FAIL 0 | WARN 0 | SKIP 1 | PASS 74 ] > > proc.time() user system elapsed 4.30999999999999960920 0.92000000000000003997 5.57000000000000028422