Hello Jared Greathouse ,
It seems that you are the appropriate correspondent on my subject, as I intend to us the scul package for my analysis "The effect of inter-organizational collaborations reform on transfers between French public hospitals"
For now I use a regular DiD regression analysis with two different control groups, but as with the majority of wide ranging Public Policy, both of my control group are not random at all.
Here is an exemple of my data:
Listed 100 out of 10634 observations
I also have treated and post-tretment dummies not shown here. My treatment took place in 2016, treated hospitals are "public" and control/donor pool are "private" and "grouped public".
My main question was on the donoradj() option. As I understand it, it is non-optional and informs the donor pool, only et & nt are available.
Stata does not like this option, and returns option donoradj() not allowed.
For now my code looks like this:
Another question is on the time period of my study, For now my panel range from 2013 to 2022, with a treatment in 2016, this might be a bit light for parallel trend hypothesis, and its equivalent (?) in SCA, should I gather more data, knowing that our data manager has a long waiting list, or can I perform the analysis on this small pre-treatment period?
Excuse me for my (I hope not) broken english.
Loïc Guérin
It seems that you are the appropriate correspondent on my subject, as I intend to us the scul package for my analysis "The effect of inter-organizational collaborations reform on transfers between French public hospitals"
For now I use a regular DiD regression analysis with two different control groups, but as with the majority of wide ranging Public Policy, both of my control group are not random at all.
Here is an exemple of my data:
Code:
* Example generated by -dataex-. For more info, type help dataex clear id year yit pred_output pred_outputsq techefficiency hhi_zrsqrt hhi_zr int r80 score_esatis esatis_miss rh30_stand tx_morta_30j ghm3_4 bedblock alone housecon nosocial age_median pctsexe IMR 1 2013 1.736461 1.1665902 1.3609327 -.3784718 .06308113 .0039792294 341 0 1 .12629741 .004746761 .05 .01731738 .004722922 .003148615 .05037783 63 .463 .2001672 1 2014 1.784329 1.1914508 1.419555 -.3681692 .06772107 .0045861434 351 0 1 .13382226 .004832016 .048 .03194451 .007605835 .01064817 .05019851 64 .472 .21172294 1 2015 1.6292444 1.2057023 1.453718 -.3638036 .06097652 .0037181356 352 0 1 .13298072 .005372833 .05 .07747664 .0014899354 .011919484 .074496776 64 .483 .2140295 1 2016 1.674268 1.1998575 1.439658 -.4126975 .06588429 .00434074 353 0 1 .13547793 .005708918 .05 .12968656 .0043714573 .02331444 .05537179 65 .507 .2316775 1 2017 1.7336923 1.1768126 1.384888 -.5057704 .06599804 .0043557417 348 71.07 0 .12865204 .004620602 .047 .11111586 .007122811 .04985968 .028491246 65 .49 .24152154 1 2018 1.7524136 1.1853139 1.404969 -.5050719 .063318744 .0040092636 343 75.09 0 .13070688 .005455788 .044 .10399247 .014053036 .06183336 .04778032 65 .487 .2293208 1 2019 1.7517908 1.1755782 1.3819842 -.5185177 .0634391 .004024519 334 73.94 0 .12603237 .005181639 .047 .10758472 .022649415 .09342884 .032558534 66 .478 .24060562 1 2020 1.749198 1.1316744 1.280687 -.5202639 .063324645 .0040100105 334 72.97 0 .11696005 .006155661 0 .17788455 .02432609 .08210056 .02736685 66 .483 .26080182 1 2021 1.7840792 1.1830986 1.3997222 -.4591466 .05124504 .002626054 318 0 1 .12186077 .006238575 0 .18313155 .0755781 .068310976 .0290685 66 .487 .3433572 2 2013 5.602523 .2614765 .068369955 .6149461 .2161759 .04673202 254 0 1 .1088779 .014140875 .143 .067096084 .067096084 .026838433 .5367687 56 .452 .2001672 2 2014 5.580445 .27524924 .07576215 .6219309 .2154063 .04639988 254 0 1 .1167754 .01159573 .165 .13176967 .026353933 .10541573 .6324944 58 .455 .21172294 2 2015 4.1726522 .3106742 .09651847 .6978909 .21319814 .04545345 264 70.57 0 .12692028 .010530422 .177 .13059945 .1175395 .3656785 .50933784 59 .471 .2140295 2 2016 4.1721935 .22957987 .05270692 .37012765 .23878112 .05701643 284 70.13 0 .1205603 .009270407 .177 .10852526 .072350174 .12058362 .3255758 62 .477 .2316775 2 2017 4.294554 .2664633 .07100269 .50353795 .23798504 .05663688 289 69.76 0 .12326622 .011987147 .192 .024752475 .4331683 .074257426 .4207921 62 .465 .24152154 2 2018 4.7381244 .27954435 .07814504 .5120944 .23519003 .05531435 281 71.79 0 .1145336 .009484436 .196 .3288672 5.115713 .4628502 .5602923 63 .479 .2293208 2 2019 4.641505 .28281462 .07998411 .5246671 .28086498 .07888514 283 70.93 0 .10341528 .009649444 .193 .0977159 8.415781 .6351533 .50079393 63 .457 .24060562 2 2020 6.112335 .2496339 .06231709 .6242009 .24343805 .05926208 283 74.21 0 .1145904 .012515472 0 .09636564 9.471366 .53689426 .3303965 63 .467 .26080182 2 2021 4.919976 .28949082 .08380494 .49585465 .18907157 .035748057 267 0 1 .11617166 .008414316 0 .07113219 8.678127 .28452876 .32009485 63 .48 .3433572 3 2013 37.636887 -.3976861 .15815423 1.1805428 .1111081 .012345009 97 0 1 .15265006 .02764977 .449 .518732 .4034582 .23054755 .17291066 85 .405 .2001672 3 2014 37.332993 -.3708866 .13755685 1.0722779 .10806213 .011677423 106 0 1 .05797906 .02720739 .42 1.438849 .15416238 .2569373 .05138746 84 .397 .21172294 3 2015 35.982864 -.3066886 .09405788 1.1175047 .12358624 .01527356 115 0 1 .05837222 .02901998 .437 .4759638 4.6644454 .2379819 .09519277 84 .424 .2140295 3 2016 36.984127 -.29757524 .08855102 1.0663408 .11677724 .013636923 111 0 1 .10976562 .028429603 .428 .09070295 20.27211 .8163266 .13605443 84 .39 .2316775 3 2017 38.69622 -.2759825 .07616634 1.0712303 .1322464 .017489111 124 0 1 .07188526 .027510917 .478 .17559263 21.64179 1.097454 .4389816 84 .387 .24152154 3 2018 42.38351 -.22811563 .05203674 1.223674 .12247716 .015000654 120 0 1 .1601802 .03297683 .515 .4480287 23.29749 1.657706 .8064516 84 .392 .2293208 3 2019 40.03864 -.26973182 .072755255 1.0530697 .15221286 .02316875 108 0 1 .14748935 .02991453 .514 9.059682 27.13611 .9446114 1.2022327 84 .419 .24060562 3 2020 40.38172 -.3444404 .11863917 1.1042336 .13038336 .016999818 99 0 1 .08826672 .028414754 0 8.488197 23.80713 .3013561 1.0045203 84 .421 .26080182 3 2021 40.57528 -.3055967 .09338937 1.5058614 .10489064 .011002045 98 0 1 .10538717 .03658537 0 8.629131 24.6634 .4895961 1.1015912 84 .396 .3433572 4 2013 11.11111 -2.2176068 4.91778 .7057489 .25386366 .064446755 35 0 1 .006843676 .06837607 .385 1.7094017 0 0 0 87 .333 .2001672 4 2014 10 -2.232484 4.983985 .7628499 .21570234 .0465275 32 0 1 0 .02727273 .436 7.272727 0 0 0 85 .227 .21172294 4 2015 12.5 -2.192268 4.806038 .8927678 .3735643 .13955027 39 0 1 0 .0462963 .389 3.7037036 0 0 0 84 .38 .2140295 4 2016 13.135593 -2.1455512 4.6033897 .8753057 .2687224 .07221172 40 0 1 .026992347 .05932203 .542 12.711864 0 0 0 84 .339 .2316775 4 2018 26.68919 -2.0753677 4.307151 .7057489 .3051593 .09312221 58 0 1 .06788135 .0472973 .568 16.216217 0 .6756757 0 86 .345 .2293208 4 2019 23.333334 -2.104309 4.428117 .7733271 .20407957 .04164847 49 0 1 0 .05185185 .585 10.37037 0 0 0 87 .422 .24060562 4 2020 20.96774 -2.1547549 4.6429687 .4336896 .25568458 .06537461 51 0 1 0 .07741936 0 3.2258065 1.2903225 0 0 86 .329 .26080182 4 2021 39.14141 -1.993182 3.972774 .4675661 .22790316 .05193985 46 0 1 0 .05050505 0 3.030303 12.121212 .5050505 0 86 .318 .3433572 5 2013 36.88213 -1.601232 2.5639446 1.0249557 .429487 .18445905 72 0 1 .008557783 .02661597 .403 4.1825094 0 0 .3802281 85 .414 .2001672 5 2014 31.70732 -1.5900956 2.528404 .9193101 .4290761 .1841063 71 0 1 .025097147 .04529617 .341 4.181185 0 0 .6968641 86 .439 .21172294 5 2015 31.29139 -1.5593636 2.431615 .9189609 .4454138 .1983934 65 0 1 .07337412 .05298013 .358 .9933775 5.960265 0 .6622517 85 .454 .2140295 5 2016 28.6 -1.614292 2.605939 1.0696586 .4739092 .22458993 44 0 1 .05124889 .04 .352 2.8 13.2 .4 .8 87 .408 .2316775 5 2017 23.469387 -1.589987 2.528058 1.1622077 .4615773 .2130536 54 0 1 .0984086 .08163265 .441 7.346939 17.959183 0 .8163266 88 .478 .24152154 5 2018 33.084576 -1.615175 2.60879 1.4021367 .58449984 .34164006 53 0 1 .02654238 .05970149 .388 7.960199 12.43781 .9950249 .4975124 87 .398 .2293208 5 2019 28.35366 -1.650057 2.7226875 1.625826 1 1 52 0 1 .03273046 .0792683 .439 5.487805 16.463415 0 1.2195122 88 .482 .24060562 5 2020 29.6875 -1.7548814 3.079609 1.1183778 .3553893 .12630154 45 0 1 .013795683 .05208334 0 4.6875 22.916666 .5208333 0 86.5 .51 .26080182 5 2021 43.0622 -1.593592 2.5395355 1.396898 .2400274 .05761315 68 0 1 .05156477 .07655502 0 4.30622 25.83732 0 0 86 .411 .3433572 6 2013 7.5 -1.951902 3.809922 .8988795 .3607178 .13011736 30 0 1 .0949122 .01875 .275 0 0 0 0 82 .363 .2001672 6 2014 8.125 -1.9089084 3.643931 1.0078429 .2962061 .08773804 37 0 1 .12871438 .01875 .356 0 0 1.875 .625 79.5 .463 .21172294 6 2015 11.96319 -1.908444 3.642159 .9804274 .2882287 .08307578 39 0 1 .14113499 .018404908 .331 1.226994 0 .613497 .613497 80 .448 .2140295 6 2016 7 -1.8951645 3.591648 1.1416024 .28019032 .07850662 36 0 1 .07492578 .02 .44 0 0 0 0 82.5 .393 .2316775 6 2017 8.445946 -1.8764583 3.521096 1.2097045 .29168928 .08508264 46 0 1 .11687173 .067567565 .568 .6756757 0 0 .6756757 82 .405 .24152154 6 2018 10 -1.8971013 3.598993 1.4164556 .2413001 .05822574 41 0 1 .064823 .024 .56 4 0 .8 2.4 80 .4 .2293208 6 2019 6.849315 -1.8492148 3.419595 1.2996342 .28932807 .08371074 39 0 1 .04436227 .01369863 .432 4.109589 .6849315 0 4.109589 81 .404 .24060562 6 2020 14.285714 -1.9827323 3.9312274 1.1042336 .26069164 .06796013 26 0 1 .04120446 .08270676 0 4.511278 0 .7518797 .7518797 84 .444 .26080182 6 2021 15.21739 -1.954569 3.8203404 1.7410756 .207876 .04321243 29 0 1 .14794105 .04347826 0 4.347826 0 0 3.2608695 83.5 .326 .3433572 7 2013 8.766233 -2.262571 5.119228 .17053606 .2518942 .06345069 49 0 1 .036888584 .012987013 .474 0 0 0 0 86 .338 .2001672 7 2014 7.692307 -2.2663748 5.136455 .14119977 .19082977 .036416 35 0 1 .07394603 .03205128 .429 0 0 0 0 85 .288 .21172294 7 2015 12.1118 -2.2511473 5.067664 .131421 .2078461 .0432 44 0 1 .12810221 .018518519 .5 0 0 0 0 86 .333 .2140295 7 2016 10.927153 -2.1740122 4.726329 .4249586 .3912965 .15311295 48 0 1 .016530111 .006622517 .623 0 0 1.3245033 0 86 .411 .2316775 7 2017 9.090909 -2.2126439 4.895793 .1911413 .24411197 .05959066 32 0 1 .09378067 .024242425 .715 1.2121212 .6060606 .6060606 0 86 .352 .24152154 7 2018 8.79397 -2.1305232 4.5391293 .11186347 .3304051 .10916753 50 0 1 .04204682 .0201005 .688 2.0100503 0 0 0 87 .402 .2293208 7 2019 9.947644 -2.0885053 4.361854 .28124565 .23636293 .05586743 47 0 1 .10597069 .015706806 .686 4.188482 0 1.0471205 0 85 .414 .24060562 7 2020 5.528846 -2.205032 4.862166 -.14465451 .21080606 .0444392 42 0 1 .013400955 .06730769 0 1.4423077 0 1.4423077 0 87 .327 .26080182 7 2021 6.976744 -2.190748 4.799376 .6242009 .15965354 .025489254 45 0 1 .07776604 .04651163 0 4.6511626 0 1.5503876 0 86 .388 .3433572 9 2013 8.983051 -2.1331904 4.5505013 -.4982617 .02489895 .0006199577 5 0 1 .11861194 .00671141 .101 .3389831 0 0 0 52 .685 .2001672 9 2014 6.443299 -2.1254158 4.517392 -.8986672 .01497633 .0002242905 2 0 1 0 .0230179 .054 0 0 .25773194 .25773194 48 .665 .21172294 9 2015 8.4080715 -2.1200943 4.4947996 -1.098608 .016248059 .0002639994 2 0 1 .12438045 .004474273 .072 1.3452915 7.174888 .6726457 .4484305 50 .7 .2140295 9 2016 22.348484 -2.2319834 4.98175 .4843297 .1255925 .015773475 11 0 1 0 .02255639 .18 2.2727273 20.454546 2.2727273 .7575758 68 .571 .2316775 9 2017 35.114502 -1.581141 2.500007 1.0817075 .09199627 .008463314 13 0 1 .008127311 .027131785 .271 5.343512 29.77099 .3816794 .3816794 79 .438 .24152154 9 2018 32.69962 -1.580795 2.498913 1.0768181 .08462198 .00716088 12 0 1 .09963424 .071698114 .185 1.9011407 14.44867 .3802281 0 80 .50200003 .2293208 9 2019 26.62722 -1.6279558 2.65024 .57251316 .07942177 .006307817 16 0 1 .0586813 .06213018 .18 4.1420116 11.83432 .887574 0 76 .53 .24060562 9 2020 28.434505 -1.734491 3.008459 .4204184 .0730273 .005332986 9 0 1 .05394188 .0543131 0 5.750799 8.306709 1.2779553 0 78 .45 .26080182 9 2021 33.887043 -1.6883 2.850357 .5974839 .04757354 .0022632414 6 0 1 .10772017 .07615894 0 16.27907 12.624585 .9966778 0 80 .467 .3433572 10 2013 4.182967 .3886634 .15105927 .4907906 .3745917 .14031896 241 0 1 .1205463 .004996502 .071 .18055974 1.7353797 .310964 .4814926 49 .448 .2001672 10 2014 4.512601 .3418243 .11684385 .29050055 .31657735 .10022122 232 0 1 .10690453 .005595069 .065 .21873514 1.616738 .3233476 .5420827 49 .455 .21172294 10 2015 4.2736645 .3751349 .14072621 .3523163 .3182321 .10127167 226 0 1 .11353926 .005710006 .063 .17806935 2.239925 .3186504 .55295223 50 .457 .2140295 10 2016 4.156609 .4254002 .18096533 .52536553 .318948 .10172783 225 0 1 .11179615 .005506182 .062 .22207204 3.340736 .4344887 .6179395 50 .471 .2316775 10 2017 4.229154 .4081649 .1665986 .5351443 .3275275 .10727423 230 72.5 0 .10765078 .007584074 .067 .19996 4.079184 .429914 .589882 51 .472 .24152154 10 2018 3.802565 .35345265 .12492878 .387939 .28217486 .07962265 224 73.88 0 .10159553 .005364061 .071 .13917884 4.2946615 .2982404 .4374192 49 .469 .2293208 10 2019 3.770978 .3408243 .1161612 .4003371 .3084979 .09517096 223 75.05 0 .09955941 .005721876 .081 .28653294 6.273025 .6139992 .54236597 52 .453 .24060562 10 2020 4.73301 .3108659 .09663761 .51104665 .311659 .09713133 232 74.48 0 .11063652 .010039235 0 .8321775 7.420249 1.1673602 .6472492 54 .462 .26080182 10 2021 4.054487 .3932178 .1546202 .5990555 .23916264 .05719877 207 0 1 .10265282 .009387668 0 .715812 6.068376 1.0790598 .4059829 54 .455 .3433572 12 2013 2.866242 .6895422 .4754684 .21419127 .06680514 .0044629266 141 0 1 .0874911 .003811363 .035 .1732484 0 0 0 61 .533 .2001672 12 2014 2.551238 .6691688 .4477869 .04952384 .067410044 .0045441138 126 0 1 .09826506 .0037269425 .031 .2319307 .04259952 .00473328 0 61 .538 .21172294 12 2015 2.71019 .6044056 .3653061 -.08720426 .06612115 .0043720067 128 74.47 0 .10362696 .003077071 .03 .26017827 .18790653 .004818116 0 61 .522 .2140295 12 2016 2.588011 .5787914 .3349995 -.20629565 .06420117 .0041217897 124 74.78 0 .1038646 .00241748 .026 .325536 .13951541 0 0 63 .516 .2316775 12 2017 2.848439 .5972126 .3566629 -.22812326 .063478954 .0040295776 121 74.83 0 .10460123 .003200711 .028 .4669572 .24459665 0 0 64 .51 .24152154 12 2018 2.7155704 .6218285 .3866707 -.17922944 .05971329 .0035656765 127 0 1 .10738558 .0022013825 .03 .4055722 .3791218 .008816787 0 63 .52599996 .2293208 12 2019 2.7969804 .6504035 .4230247 -.1663075 .06150743 .003783164 121 73.16 0 .10378234 .00292472 .028 .411383 .24174052 0 0 64 .528 .24060562 12 2020 2.639728 .6009113 .3610944 -.01595897 .06140596 .003770692 129 72.23 0 .10438174 .0043213014 0 .2690492 .2690492 0 .0050764 64 .525 .26080182 12 2021 2.927672 .3671175 .13477524 -.7771311 .04656455 .0021682573 112 0 1 .10314665 .0040043686 0 .3591399 .27731055 .009092149 0 63 .525 .3433572 15 2013 22.47993 -.8835082 .7805867 .6196608 .3334634 .11119785 155 0 1 .1290566 .018733274 .46 .08920607 0 .4460303 6.868867 78 .434 .2001672 15 2014 24.56822 -.8918066 .795319 .54876477 .3058875 .09356717 151 0 1 .1912343 .02761001 .5 .3454231 0 .3454231 8.117444 80 .447 .21172294 15 2015 22.82507 -.9091692 .8265886 .6275187 .371837 .13826273 142 0 1 .1493241 .02897196 .439 .3741815 0 .4677269 7.390084 80 .441 .2140295 15 2016 27.70213 -.8531772 .7279113 .6242009 .3020504 .09123444 159 0 1 .16768974 .020373514 .508 .25531915 .08510638 1.1914893 9.702127 80 .415 .2316775 15 2017 30.18018 -.8530192 .7276418 .565703 .24881655 .06190967 160 0 1 .14563902 .027777776 .55 1.5561016 7.371007 1.6380017 12.612613 81 .45 .24152154 15 2018 29.63896 -.8107097 .6572502 .7111621 .24208248 .05860393 139 0 1 .17342955 .015926236 .497 4.1141896 34.508816 2.2670026 12.258606 79 .416 .2293208 15 2019 26.97176 -.827953 .6855062 .8946886 .28543624 .08147385 129 0 1 .13577272 .0232333 .458 4.186952 31.74294 1.4605647 13.04771 80 .47 .24060562 15 2020 31.47023 -.9425667 .888432 .9439316 .28503242 .08124348 112 0 1 .1729504 .018203883 0 7.047388 33.657352 1.944107 12.150668 78 .494 .26080182 15 2021 28.23834 -.8876783 .7879728 1.1812414 .23567747 .05554387 114 0 1 .14849998 .02842377 0 7.901555 31.865286 5.958549 11.528498 77 .468 .3433572 16 2013 5.493184 -1.0519202 1.106536 -1.032776 .23575374 .05557983 1 0 1 .25921544 .011651265 .079 0 0 .04009623 0 82 .299 .2001672 16 2014 4.985755 -1.0116354 1.0234063 -1.1125777 .27529803 .07578901 1 0 1 .26143956 .011244106 .079 .035612535 0 .1068376 .07122507 83 .319 .21172294 end
Listed 100 out of 10634 observations
I also have treated and post-tretment dummies not shown here. My treatment took place in 2016, treated hospitals are "public" and control/donor pool are "private" and "grouped public".
My main question was on the donoradj() option. As I understand it, it is non-optional and informs the donor pool, only et & nt are available.
Stata does not like this option, and returns option donoradj() not allowed.
For now my code looks like this:
Code:
scul yit, treated(treated) donoradj(et) after(2016)
Excuse me for my (I hope not) broken english.
Loïc Guérin
Comment