Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • sdid graphing issue- event-study style plots

    Hi All

    I am trying to generate the event study style output graph based on the SDID command. I have a balanced panel data of GDP variables at county level between 2000 and 2021 that data looks like this:

    Code:
    * Example generated by -dataex-. For more info, type help dataex
    clear
    input int year double(GDP GDP_1 GDP_2 GDP_3) long countyid double(lnGDP lnGDP_1 lnGDP_2 lnGDP_3) float treated
    2000              57330   9992  26791  20553 130001 10.956579208374023  9.209540367126465 10.195821762084961   9.93076229095459 0
    2000             108156  19591  55215  33799 130004 11.591329574584961   9.88282585144043 10.918990135192871 10.428186416625977 0
    2000             159932  45962  66251  47719 130006 11.982503890991211 10.735569953918457 11.101205825805664  10.77308464050293 0
    2000             262494  86493  80428  95573 130009 12.477983474731445 11.367818832397461 11.295117378234863 11.467645645141602 0
    2000             171580  29340  97228  45012 130016 12.052804946899414 10.286706924438477 11.484813690185547  10.71468448638916 0
    2000             304941  70857 128411 105673 130018 12.627873420715332 11.168418884277344 11.762990951538086  11.56810474395752 0
    2000              95507  32254  38270  26240 130020 11.466955184936523 10.381397247314453 10.552421569824219 10.175040245056152 0
    2000              63893  19752  24899  19242 130024  11.06496524810791  9.891010284423828 10.122583389282227  9.864850997924805 0
    2000             117247  18516  72988  25743 130031 11.672038078308105  9.826390266418457 11.198050498962402  10.15591812133789 0
    2000             166000  43911  81459  40630 130032 12.019742965698242 10.689920425415039 11.307854652404785 10.612261772155762 0
    2000              81309  17045  41414  22850 130034 11.306012153625488  9.743612289428711  10.63137435913086  10.03670597076416 0
    2000             179829  45968  84613  54568 130040 12.099761962890625 10.735700607299805 11.345843315124512  10.90720272064209 0
    2000             167623  36450  67037  64136 130042 12.029472351074219  10.50369644165039  11.11299991607666 11.068760871887207 0
    2000             199966  39599  69586  90781 130043 12.205903053283691 10.586559295654297  11.15031909942627 11.416205406188965 0
    2000             116080  37346  40230  38504 130045  11.66203498840332  10.52798080444336 10.602368354797363 10.558517456054688 0
    2000              98757  17754  42633  38370 130049 11.500417709350586    9.7843656539917 10.660384178161621 10.555030822753906 0
    2000             136315  37031  49181  51046 130051 11.822723388671875 10.519510269165039 10.803262710571289 10.840482711791992 0
    2000             270101  82085  71955 116061 130054 12.506550788879395 11.315510749816895 11.183795928955078 11.661870956420898 0
    2000             382241  35383 174169 173384 420001 12.853806495666504 10.473986625671387 12.067781448364258 12.063263893127441 0
    2000             271000  78388 106892  85720 420007  12.50987434387207 11.269426345825195 11.579574584960938 11.358841896057129 0
    2000             226500  81756  73744  71000 420008 12.330500602722168 11.311494827270508 11.208354949951172 11.170434951782227 0
    2000 102335.99999999999  43758  24672  33906 420013 11.536016464233398 10.686429977416992 10.113424301147461 10.431346893310547 0
    2000             166072  38556  60327  67189 420016 12.020176887512207 10.559866905212402 11.007534980773926 11.115264892578125 0
    2000              82124  38054  22987  21803 420017 11.315985679626465 10.546761512756348 10.042684555053711  9.989803314208984 0
    2000              65598  36938  12291  16369 420018 11.091300010681152 10.516996383666992  9.416622161865234  9.703145027160645 0
    2000             322031  67913 159189  94929 420019 12.682403564453125 11.125982284545898   11.9778470993042 11.460884094238281 0
    2000             224130  65621  99637  58873 420020 12.319981575012207  11.09165096282959 11.509288787841797 10.983138084411621 0
    2000             178947  72233  73250  33465 420021 12.094844818115234 11.187652587890625  11.20163345336914 10.418255805969238 0
    2000             409323  97913 138170 118443 420022 12.922260284423828  11.49183464050293   11.8362398147583   11.6821870803833 0
    2000              83482  44221  13288  25973 420023 11.332386016845703 10.696954727172852  9.494616508483887 10.164813041687012 0
    2000             141161  47326  44572  49263 420024 11.857656478881836 10.764815330505371  10.70486068725586  10.80492877960205 0
    2000             237592  54028 129532  54032 420025 12.378310203552246 10.897257804870605 11.771683692932129 10.897332191467285 0
    2000             420985  80977 179999 153436 420026 12.950352668762207 11.301920890808105 12.100706100463867 11.941039085388184 0
    2000             529224 147454 208186 173584 420028 13.179166793823242  11.90127182006836 12.246187210083008 12.064416885375977 0
    2000              62454  24666  16645  21143 430006  11.04218578338623 10.113181114196777  9.719864845275879  9.959064483642578 0
    2000             288132  84482 113386  90264 430008 12.571173667907715 11.344293594360352 11.638553619384766 11.410493850708008 0
    2000             284060 110105  80709  93246 430010 12.556941032409668 11.609189987182617 11.298604965209961  11.44299602508545 0
    2000             263175 115473  51443  96259 430012 12.480574607849121 11.656791687011719  10.84822940826416 11.474798202514648 0
    2000             106067  47296  30828  27943 430015 11.571825981140137 10.764181137084961  10.33617877960205 10.237921714782715 0
    2000              42850  15795  10976  16079 430017 10.665460586547852  9.667448997497559     9.303466796875  9.685269355773926 0
    2000              74155  33275  12807  28073 430018 11.213912963867188 10.412561416625977  9.457747459411621 10.242563247680664 0
    2000             137071  47686  42673  46712 430021 11.828254699707031 10.772393226623535 10.661321640014648  10.75175666809082 0
    2000             128861  62369  35046  31446 430022  11.76648998260498 11.040823936462402  10.46441650390625 10.356026649475098 0
    2000             264034  61648 147758  54628 430023 12.483833312988281 11.029195785522461  11.90333080291748 10.908302307128906 0
    2000              57254  23987  17163  16104 430035 10.955252647399902 10.085267066955566  9.750511169433594  9.686822891235352 0
    2000             209053  82421  62482  64150 430036 12.250343322753906 11.319595336914063 11.042634010314941 11.068979263305664 0
    2000             277986  86041  99561  92384 430037  12.53532600402832 11.362579345703125 11.508525848388672 11.433709144592285 0
    2000             142452  40705  47491  54256 130003  11.86676025390625 10.614106178283691 10.768295288085938 10.901469230651855 0
    2000             147764  53030  50560  44174 130007 11.903371810913086 10.878613471984863 10.830916404724121 10.695891380310059 0
    2000             176547  45318  52081  79148 130008 12.081342697143555  10.72145938873291 10.860555648803711 11.279074668884277 0
    2000              36369  15603   6010  15092 130014 10.501472473144531  9.655218124389648  8.701180458068848  9.621919631958008 0
    2000              44447   7659  23251  13555 130015  10.70205307006836  8.943636894226074  10.05410385131836  9.514511108398438 0
    2000             136540  28218  47631  60691 130019 11.824373245239258  10.24771499633789 10.771239280700684 11.013550758361816 0
    2000              63355  19248  18056  26051 130022 11.056509017944336   9.86516284942627  9.801233291625977 10.167811393737793 0
    2000              83842  33935  22517  27390 130023 11.336688995361328 10.432202339172363 10.022026062011719 10.217933654785156 0
    2000              46609  19152  10097  17360 130033  10.74954891204834  9.860162734985352  9.219993591308594  9.761923789978027 0
    2000              99890  12859  43222  42401 130037 11.511824607849121  9.461799621582031 10.674104690551758 10.654927253723145 0
    2000             125905  25716  37196  62993 130039  11.74328327178955 10.154869079589844 10.523956298828125 11.050779342651367 0
    2000              88085  28691  29345  30049 130046  11.38605785369873 10.264338493347168 10.286877632141113 10.310585021972656 0
    2000              73348  23267  18735  31346 130048 11.202970504760742 10.054791450500488  9.838149070739746 10.352842330932617 0
    2000             125210  35238  29264  60708 130050 11.737747192382813 10.469880104064941 10.284112930297852  11.01383113861084 0
    2000             141386  47451  56487  37448 130052 11.859249114990234  10.76745319366455 10.941765785217285 10.530708312988281 0
    2000             195550  99944  52015  43591 420004 12.183571815490723 11.512365341186523  10.85928726196289 10.682605743408203 0
    2000             126173  60870  35420  29883 420005  11.74540901184082 11.016495704650879 10.475031852722168 10.305045127868652 0
    2000             101186  47540  23676  29970 420009 11.524715423583984 10.769327163696289 10.072216987609863 10.307951927185059 0
    2000             156765  67089  39444  50232 420010 11.962503433227539 11.113775253295898 10.582636833190918 10.824407577514648 0
    2000 163009.99999999997  72348  49682  40980 420011 12.001566886901855  11.18924331665039 10.813398361206055  10.62083911895752 0
    2000             282725  96866  88058  97801 420012 12.552229881286621 11.481083869934082 11.385750770568848 11.490690231323242 0
    2000             105954  42461  34277  29216 420014 11.570760726928711 10.656341552734375 10.442230224609375 10.282471656799316 0
    2000              78239  34768  26195  17276 420027 11.267523765563965 10.456452369689941 10.173323631286621  9.757073402404785 0
    2000              55750  20981  20252  14518 430003 10.928632736206055  9.951372146606445  9.916008949279785  9.583144187927246 0
    2000              76233  24689  20628  30905 430004 11.241549491882324 10.114112854003906  9.934404373168945  10.33867359161377 0
    2000              26139  11627   4717   9795 430005 10.171183586120605  9.361084938049316  8.458928108215332  9.189627647399902 0
    2000              87711  42154  19317  26240 430020 11.381802558898926  10.64908504486084  9.868741035461426 10.175040245056152 0
    2000              57881  26623  13246  18012 430024 10.966144561767578 10.189530372619629  9.491451263427734   9.79879379272461 0
    2000              59598  22728  21586  15284 430031 10.995377540588379 10.031352996826172    9.9798002243042  9.634561538696289 0
    2000             121223  46485  43386  31352 430040 11.705387115478516 10.746885299682617 10.677891731262207 10.353033065795898 0
    2001              55536   8426  25700  21410 130001 10.924786567687988  9.039077758789063  10.15424633026123  9.971612930297852 0
    2001             116275  20292  60779  35204 130004 11.663713455200195   9.91798210144043 11.014999389648438 10.468914985656738 0
    2001             174533  52388  69491  52654 130006 12.069869041442871 10.866433143615723  11.14895248413086  10.87149715423584 0
    2001             283670  88499  90840 104331 130009 12.555566787719727 11.390746116638184 11.416854858398438 11.555323600769043 0
    2001             169632  29601  94352  45679 130016 12.041386604309082 10.295563697814941 11.454788208007813  10.72939395904541 0
    2001             336004  74237 143033 118734 130018 12.724878311157227 11.215018272399902 11.870830535888672 11.684640884399414 0
    2001              81538  29179  29901  22458 130020  11.30882453918457 10.281204223632813 10.305646896362305 10.019402503967285 0
    2001              54857  12582  21908  20367 130024 10.912485122680664  9.440022468566895  9.994606971740723  9.921670913696289 0
    2001             127638  20321  78892  28425 130031 11.756953239440918   9.91940975189209 11.275835037231445 10.255023956298828 0
    2001             176578  48995  83733  43850 130032 12.081518173217773 10.799473762512207  11.33538818359375 10.688529968261719 0
    2001              81057  17032  38722  25303 130034 11.302907943725586  9.742849349975586 10.564163208007813 10.138678550720215 0
    2001             190817  41827  88664  60326 130040 12.159070014953613 10.641297340393066 11.392609596252441 11.007518768310547 0
    2001             179500  37623  72232  69645 130042 12.097930908203125 10.535370826721191 11.187638282775879 11.151165962219238 0
    2001             182805  19699  68468  94638 130043 12.116175651550293  9.888322830200195 11.134121894836426  11.45781421661377 0
    2001             125788  39007  44071  42710 130045 11.742353439331055  10.57149600982666 10.693556785583496 10.662188529968262 0
    2001             102044  15421  43911  42712 130049 11.533159255981445  9.643485069274902 10.689920425415039 10.662235260009766 0
    2001             151249  42298  54084  54867 130051 11.926682472229004 10.652495384216309 10.898293495178223 10.912667274475098 0
    2001             298888  85544  78120 135224 130054 12.607824325561523 11.356785774230957  11.26600170135498 11.814687728881836 0
    2001             389015  39294 171576 178145 420001 12.871373176574707 10.578826904296875  12.05278205871582 12.090353012084961 0
    2001             291757  73470 121775  96512 420007   12.5836763381958 11.204632759094238 11.709930419921875 11.477422714233398 0
    2001 232841.99999999997  76048  79915  76879 420008 12.358115196228027 11.239119529724121 11.288719177246094 11.249987602233887 0
    2001             108573  45967  26250  36356 420013  11.59517765045166 10.735678672790527 10.175421714782715 10.501114845275879 0
    2001             182041  39910  68667  73464 420016 12.111987113952637 10.594382286071777  11.13702392578125 11.204550743103027 0
    end
    The variable treated=1 for treated counties after the treatment begin in 2016 (pre-treat period: 2000-2015, treatment year 2016 and post-treatment period: 2017-2021) and the main dependent variable I am using is lnGDP

    I follows the code as listed on Clarke et al(2023, pp. 25-29) (link: https://docs.iza.org/dp15907.pdf) and the code are as follows:
    Code:
    qui: sdid lnGDP county year treated, vce(noinference) graph
    
    matrix lambda = e(lambda)[1..16,1]
    matrix yco = e(series)[1..16,2]
    matrix ytr = e(series)[1..16,3]
    matrix aux = lambda'*(ytr - yco)
    scalar meanpre_o = aux[1,1]
    
    matrix difference = e(difference)[1..22,1..2] 
    svmat difference
    ren (difference1 difference2) (time d)
    replace d = d - meanpre_o            
    
    local b = 1
    local B = 100
    while `b'<=`B' {
        preserve
        bsample, cluster(county) idcluster(c2)
        qui count if treated == 0
        local r1 = r(N)
        qui count if treated != 0
        local r2 = r(N)
        if (`r1 '!=0 & `r2 '!=0){
            qui: sdid lnGDP c2 year treated, vce(noinference) graph
            matrix lambda_b = e(lambda)[1..16,1]
            matrix yco_b = e(series)[1..16,2]
            matrix ytr_b = e(series)[1..16,3]
            matrix aux_b = lambda_b'*(ytr_b - yco_b)
            matrix meanpre_b = J(22,1,aux_b[1,1])
            
            matrix d`b'=e(difference)[1..22,2] - meanpre_b
            
            local ++b
        }
        restore
    }
        
    
    preserve
    keep time d
    keep if time!=.
    forval b=1/`B' {
        svmat d`b'
    }
    
    
    egen rsd = rowsd(d11 - d`B '1)      
    gen LCI = d + invnormal(0.025)*rsd 
    gen UCI = d + invnormal(0.975)*rsd 
    
    *generate plot
    tw rarea UCI LCI time, color(gray%40) || scatter d time, color(blue) m(d) xtitle("") ytitle("GDP") xlab(2000(1)2021, angle(45)) legend(order(2 "Point Estimate" 1 "95% CI") pos(12) col(2)) xline(2016, lc(black) lp(solid)) yline(0, lc(red) lp(shortdash)) scheme(sj)
    graph export "event_sdid.pdf", replace
    restore

    Click image for larger version

Name:	Graph.jpg
Views:	1
Size:	229.0 KB
ID:	1718044


    The graph I generated is very weird as shown above with the point estimates all below zero which is unlikely given there should not be any treatment before the treatment year, and after the treatment the effect should be positive but insignificant as generated from the sdid command. Furthermore, the confidence interval seems to be very off. I am wondering if I made any mistakes when using the command. Any advice would be most appreciated!

    Best regards!
    Juncheng Lyu




  • #2
    Hi Juncheng,

    I can't replicate your result, so my help would be somewhat limited. I checked your code and it looks good. Could you perhaps share the initial synthetic diff-in-diff figure as well as some key values (e.g. meanpre_o)? I'm guessing that the issue comes from not properly demeaning the d values.

    Best,
    Will

    Comment


    • #3
      Did you test this with one unit first? One treated unit?

      Comment


      • #4
        A related question - The code in Clarke et al (2023) shows how to generate this graph with confidence intervals based on bootstrapping. Is there any code available that produces this event-study-style graph with confidence intervals based on placebo (permutation-based) standard errors?

        Comment


        • #5
          Hello Juncheng, I couldn't replicate this to confirm exactly what is going on, but it seems that there is some issue in the first few lines when you generate the pre-treatment difference between treated and synthetic control units around 0. Here when you generate meanpre_o, what this scalar should be capturing is the difference between treated and control units before your treatment year (presumably 2016). It is perhaps worth just checking if there is some issue in this calculation. For example, if you look at e(difference) from 2000-2016, is the average of these values captured by meanpre_o? If not, this would explain why when you substract meanpre_o from d a few lines below that this is not resulting in a series which is centred around 0 in the pre-treatment period. Best wishes, Damian

          Comment


          • #6
            Thanks to all the replies! I have tried Damian's method by editing the first few lines, but the results are similar. Sorry for not sending the full dataset I have now updated the data and reposted it again. Thanks again for the time!

            Code:
            * Example generated by -dataex-. For more info, type help dataex
            clear
            input int year long countyid float(lnGDP treated)
            
            2000 130003 11.86676 0
            2001 130003 11.91124 0
            2002 130003 12.02286 0
            2003 130003 12.180406 0
            2004 130003 12.398134 0
            2005 130003 12.613317 0
            2006 130003 12.80238 0
            2007 130003 13.05958 0
            2008 130003 13.196855 0
            2009 130003 13.064705 0
            2010 130003 13.180243 0
            2011 130003 13.40912 0
            2012 130003 13.57867 0
            2013 130003 13.677654 0
            2014 130003 13.727977 0
            2015 130003 13.759874 0
            2016 130003 13.829867 0
            2017 130003 13.860284 1
            2018 130003 13.954736 1
            2019 130003 13.9935 1
            2020 130003 14.08751 1
            2000 130004 11.59133 0
            2001 130004 11.663713 0
            2002 130004 11.754458 0
            2003 130004 11.88291 0
            2004 130004 12.034317 0
            2005 130004 12.053038 0
            2006 130004 12.200558 0
            2007 130004 12.41554 0
            2008 130004 12.47224 0
            2009 130004 12.563813 0
            2010 130004 12.77729 0
            2011 130004 13.150308 0
            2012 130004 13.254273 0
            2013 130004 13.335834 0
            2014 130004 13.325332 0
            2015 130004 13.307078 0
            2016 130004 13.318185 0
            2017 130004 13.426565 0
            2018 130004 13.125694 0
            2019 130004 13.108948 0
            2020 130004 13.155547 0
            2000 130007 11.903372 0
            2001 130007 11.938207 0
            2002 130007 12.024868 0
            2003 130007 12.10139 0
            2004 130007 12.25771 0
            2005 130007 12.33274 0
            2006 130007 12.458495 0
            2007 130007 12.48688 0
            2008 130007 12.669347 0
            2009 130007 12.77898 0
            2010 130007 13.027653 0
            2011 130007 13.216122 0
            2012 130007 13.323705 0
            2013 130007 13.362218 0
            2014 130007 13.416222 0
            2015 130007 13.404928 0
            2016 130007 13.462747 0
            2017 130007 13.66178 1
            2018 130007 13.830534 1
            2019 130007 14.015968 1
            2020 130007 14.035723 1
            2000 130014 10.501472 0
            2001 130014 10.487684 0
            2002 130014 10.626582 0
            2003 130014 10.815207 0
            2004 130014 10.987815 0
            2005 130014 11.217802 0
            2006 130014 11.38121 0
            2007 130014 11.580585 0
            2008 130014 11.906406 0
            2009 130014 12.016147 0
            2010 130014 12.301742 0
            2011 130014 12.464768 0
            2012 130014 12.567105 0
            2013 130014 12.681707 0
            2014 130014 12.715942 0
            2015 130014 12.736012 0
            2016 130014 12.82931 0
            2017 130014 12.842877 1
            2018 130014 12.934345 1
            2019 130014 12.992641 1
            2020 130014 13.173166 1
            2000 130015 10.702053 0
            2001 130015 10.733566 0
            2002 130015 10.811524 0
            2003 130015 10.98492 0
            2004 130015 11.15585 0
            2005 130015 11.36717 0
            2006 130015 11.558825 0
            2007 130015 11.713799 0
            2008 130015 11.999518 0
            2009 130015 12.041416 0
            2010 130015 12.378685 0
            2011 130015 12.628906 0
            2012 130015 12.733375 0
            2013 130015 12.85766 0
            2014 130015 12.800123 0
            2015 130015 12.746713 0
            2016 130015 12.732173 0
            2017 130015 12.681434 1
            2018 130015 12.746777 1
            2019 130015 12.696954 1
            2020 130015 12.740256 1
            2000 130019 11.824373 0
            2001 130019 12.048325 0
            2002 130019 12.13863 0
            2003 130019 12.22682 0
            2004 130019 12.47943 0
            2005 130019 12.71045 0
            2006 130019 12.914183 0
            2007 130019 13.16725 0
            2008 130019 13.429944 0
            2009 130019 13.43219 0
            2010 130019 13.660848 0
            2011 130019 13.846925 0
            2012 130019 14.01676 0
            2013 130019 14.14618 0
            2014 130019 14.208473 0
            2015 130019 14.258162 0
            2016 130019 14.327348 0
            2017 130019 14.361062 1
            2018 130019 14.372585 1
            2019 130019 14.115994 1
            2020 130019 14.17924 1
            2000 130020 11.466955 0
            2001 130020 11.308825 0
            2002 130020 11.400585 0
            2003 130020 11.573983 0
            2004 130020 11.715343 0
            2005 130020 11.841884 0
            2006 130020 11.983198 0
            2007 130020 12.199536 0
            2008 130020 12.291502 0
            2009 130020 12.272628 0
            2010 130020 12.52215 0
            2011 130020 12.631197 0
            2012 130020 12.727553 0
            2013 130020 12.831326 0
            2014 130020 12.906826 0
            2015 130020 12.92049 0
            2016 130020 13.067732 0
            2017 130020 13.118652 0
            2018 130020 13.174521 0
            2019 130020 13.306086 0
            2020 130020 13.380243 0
            2000 130022 11.05651 0
            2001 130022 11.077022 0
            2002 130022 11.132895 0
            2003 130022 11.349524 0
            2004 130022 11.51846 0
            2005 130022 11.699978 0
            2006 130022 11.826422 0
            2007 130022 11.927693 0
            2008 130022 12.1695 0
            2009 130022 12.25321 0
            2010 130022 12.50652 0
            2011 130022 12.70276 0
            2012 130022 12.837884 0
            2013 130022 12.952502 0
            2014 130022 12.945244 0
            2015 130022 12.975306 0
            2016 130022 13.052338 0
            2017 130022 13.091133 1
            2018 130022 13.20296 1
            2019 130022 13.247808 1
            2020 130022 13.328758 1
            2000 130023 11.33669 0
            2001 130023 11.398715 0
            2002 130023 11.528523 0
            2003 130023 11.824776 0
            2004 130023 12.01761 0
            2005 130023 12.213142 0
            2006 130023 12.46536 0
            2007 130023 12.659762 0
            2008 130023 12.823114 0
            2009 130023 12.91507 0
            2010 130023 13.118445 0
            2011 130023 13.350932 0
            2012 130023 13.4125 0
            2013 130023 13.55399 0
            2014 130023 13.662826 0
            2015 130023 13.725076 0
            2016 130023 13.777117 0
            2017 130023 13.827127 1
            2018 130023 13.952674 1
            2019 130023 13.988544 1
            2020 130023 14.01252 1
            2000 130024 11.064965 0
            2001 130024 10.912485 0
            2002 130024 11.052476 0
            2003 130024 11.177998 0
            2004 130024 11.424805 0
            2005 130024 11.74795 0
            2006 130024 11.883723 0
            2007 130024 11.997252 0
            2008 130024 12.69323 0
            2009 130024 12.774818 0
            2010 130024 12.95653 0
            2011 130024 13.147442 0
            2012 130024 13.264462 0
            2013 130024 13.354462 0
            2014 130024 13.333993 0
            2015 130024 13.355245 0
            2016 130024 13.44242 0
            2017 130024 13.3982 0
            2018 130024 13.74872 0
            2019 130024 13.77137 0
            2020 130024 13.748915 0
            2000 130031 11.672038 0
            2001 130031 11.756953 0
            2002 130031 11.836675 0
            2003 130031 11.988998 0
            2004 130031 12.19724 0
            2005 130031 12.27964 0
            2006 130031 12.325907 0
            2007 130031 12.376047 0
            2008 130031 12.522634 0
            2009 130031 12.584208 0
            2010 130031 12.746246 0
            2011 130031 12.942545 0
            2012 130031 13.02673 0
            2013 130031 13.072062 0
            2014 130031 13.129313 0
            2015 130031 13.190843 0
            2016 130031 13.360063 0
            2017 130031 13.39746 0
            2018 130031 13.431118 0
            2019 130031 13.35643 0
            2020 130031 13.451364 0
            2000 130032 12.019743 0
            2001 130032 12.081518 0
            2002 130032 12.143224 0
            2003 130032 12.323456 0
            2004 130032 12.511695 0
            2005 130032 12.507976 0
            2006 130032 12.539454 0
            2007 130032 12.57568 0
            2008 130032 12.7291 0
            2009 130032 12.82503 0
            2010 130032 13.015255 0
            2011 130032 13.361925 0
            2012 130032 13.474432 0
            2013 130032 13.477932 0
            2014 130032 13.295348 0
            2015 130032 13.33166 0
            2016 130032 13.441266 0
            2017 130032 13.55864 0
            2018 130032 13.617518 0
            2019 130032 13.621113 0
            2020 130032 13.685658 0
            2000 130033 10.74955 0
            2001 130033 10.75952 0
            2002 130033 10.83305 0
            2003 130033 11.07363 0
            2004 130033 11.237646 0
            2005 130033 11.41346 0
            2006 130033 11.585283 0
            2007 130033 11.696163 0
            2008 130033 11.923334 0
            2009 130033 12.045933 0
            2010 130033 12.294198 0
            2011 130033 12.54497 0
            2012 130033 12.674932 0
            2013 130033 12.858955 0
            2014 130033 12.90846 0
            2015 130033 12.989653 0
            2016 130033 13.086423 0
            2017 130033 13.190448 1
            2018 130033 13.304298 1
            2019 130033 13.37585 1
            2020 130033 13.401612 1
            2000 130034 11.306012 0
            2001 130034 11.302908 0
            2002 130034 11.359938 0
            2003 130034 11.468545 0
            2004 130034 11.60831 0
            2005 130034 11.721638 0
            2006 130034 11.857054 0
            2007 130034 11.97097 0
            2008 130034 12.112877 0
            2009 130034 12.165031 0
            2010 130034 12.29705 0
            2011 130034 12.50505 0
            2012 130034 12.632536 0
            2013 130034 12.744068 0
            2014 130034 12.82577 0
            2015 130034 12.911904 0
            2016 130034 13.047256 0
            2017 130034 13.081344 0
            2018 130034 13.086041 0
            2019 130034 13.129037 0
            2020 130034 13.283733 0
            2000 130037 11.511825 0
            2001 130037 11.58315 0
            2002 130037 11.66294 0
            2003 130037 11.942042 0
            2004 130037 12.09585 0
            2005 130037 12.23174 0
            2006 130037 12.374473 0
            2007 130037 12.487659 0
            2008 130037 12.650183 0
            2009 130037 12.867935 0
            2010 130037 13.017827 0
            2011 130037 13.219104 0
            2012 130037 13.320194 0
            2013 130037 13.481983 0
            2014 130037 13.49658 0
            2015 130037 13.478517 0
            2016 130037 13.38273 0
            2017 130037 13.37305 1
            2018 130037 13.313852 1
            2019 130037 13.361164 1
            2020 130037 13.460353 1
            2000 130039 11.743283 0
            2001 130039 11.8092 0
            2002 130039 11.853567 0
            2003 130039 11.984802 0
            2004 130039 12.38305 0
            2005 130039 12.603445 0
            2006 130039 12.87048 0
            2007 130039 13.272027 0
            2008 130039 13.648158 0
            2009 130039 13.541417 0
            2010 130039 13.693516 0
            2011 130039 13.925016 0
            2012 130039 14.01929 0
            2013 130039 14.16799 0
            2014 130039 14.229078 0
            2015 130039 14.24714 0
            2016 130039 14.28705 0
            2017 130039 14.15916 1
            2018 130039 14.173244 1
            2019 130039 14.18776 1
            2020 130039 14.27838 1
            2000 130040 12.099762 0
            2001 130040 12.15907 0
            2002 130040 12.218238 0
            2003 130040 12.344464 0
            2004 130040 12.503963 0
            2005 130040 12.612577 0
            2006 130040 12.757218 0
            2007 130040 12.989442 0
            2008 130040 13.211369 0
            2009 130040 13.293528 0
            2010 130040 13.40704 0
            2011 130040 13.498026 0
            2012 130040 13.576812 0
            2013 130040 13.650805 0
            2014 130040 13.693003 0
            2015 130040 13.745548 0
            2016 130040 13.70988 0
            2017 130040 13.815734 0
            2018 130040 13.751587 0
            2019 130040 13.83766 0
            2020 130040 13.90264 0
            2000 130042 12.029472 0
            2001 130042 12.09793 0
            2002 130042 12.154832 0
            2003 130042 12.306316 0
            2004 130042 12.493186 0
            2005 130042 12.64254 0
            2006 130042 12.837924 0
            2007 130042 13.076388 0
            2008 130042 13.254987 0
            2009 130042 13.43028 0
            2010 130042 13.62476 0
            2011 130042 13.88862 0
            2012 130042 13.89709 0
            2013 130042 13.96213 0
            2014 130042 14.090276 0
            2015 130042 14.115256 0
            2016 130042 14.25901 0
            2017 130042 14.15298 0
            2018 130042 13.951274 0
            2019 130042 14.089636 0
            2020 130042 14.114893 0
            2000 130043 12.205903 0
            2001 130043 12.116176 0
            2002 130043 12.192674 0
            2003 130043 12.285563 0
            2004 130043 12.483167 0
            2005 130043 12.680068 0
            2006 130043 12.84434 0
            2007 130043 13.032553 0
            2008 130043 13.212062 0
            2009 130043 13.20235 0
            2010 130043 13.427924 0
            2011 130043 13.596414 0
            2012 130043 13.748102 0
            2013 130043 13.660613 0
            2014 130043 13.614874 0
            2015 130043 13.587657 0
            2016 130043 13.66865 0
            2017 130043 13.638638 0
            2018 130043 13.714078 0
            2019 130043 13.627235 0
            2020 130043 13.64189 0
            2000 130045 11.662035 0
            2001 130045 11.742353 0
            2002 130045 11.813215 0
            2003 130045 11.975237 0
            2004 130045 12.20438 0
            2005 130045 12.36984 0
            2006 130045 12.515782 0
            2007 130045 12.713643 0
            2008 130045 12.928898 0
            2009 130045 13.014663 0
            2010 130045 13.213428 0
            2011 130045 13.460303 0
            2012 130045 13.55879 0
            2013 130045 13.69463 0
            2014 130045 13.77738 0
            2015 130045 13.770392 0
            2016 130045 13.793026 0
            2017 130045 13.697895 0
            2018 130045 13.492625 0
            2019 130045 13.56111 0
            2020 130045 13.576159 0
            2000 130046 11.386058 0
            2001 130046 11.379909 0
            2002 130046 11.436023 0
            2003 130046 11.558405 0
            2004 130046 11.749183 0
            2005 130046 11.955847 0
            2006 130046 12.092624 0
            2007 130046 12.294417 0
            2008 130046 12.71128 0
            2009 130046 12.801224 0
            2010 130046 13.01821 0
            2011 130046 13.23786 0
            2012 130046 13.38396 0
            2013 130046 13.466005 0
            2014 130046 13.523742 0
            2015 130046 13.531117 0
            2016 130046 13.4957 0
            2017 130046 13.314638 1
            2018 130046 13.302545 1
            2019 130046 13.32681 1
            2020 130046 13.393114 1
            2000 130048 11.20297 0
            2001 130048 11.287692 0
            2002 130048 11.364716 0
            2003 130048 11.382053 0
            2004 130048 11.573145 0
            2005 130048 11.66743 0
            2006 130048 11.785217 0
            2007 130048 11.91386 0
            2008 130048 12.083137 0
            2009 130048 12.160243 0
            2010 130048 12.362568 0
            2011 130048 12.460967 0
            2012 130048 12.532697 0
            2013 130048 12.628788 0
            2014 130048 12.698144 0
            2015 130048 12.720888 0
            2016 130048 12.81436 0
            2017 130048 12.9558 1
            2018 130048 13.077374 1
            2019 130048 13.015856 1
            2020 130048 13.125335 1
            2000 130049 11.500418 0
            2001 130049 11.53316 0
            2002 130049 11.610215 0
            2003 130049 11.70804 0
            2004 130049 11.91833 0
            2005 130049 12.145744 0
            2006 130049 12.414577 0
            2007 130049 12.528747 0
            2008 130049 12.715324 0
            2009 130049 12.812768 0
            2010 130049 12.974335 0
            2011 130049 13.046932 0
            2012 130049 13.141977 0
            2013 130049 13.21753 0
            2014 130049 12.95511 0
            2015 130049 12.946032 0
            2016 130049 13.069707 0
            2017 130049 13.063244 0
            2018 130049 13.092193 0
            2019 130049 13.163688 0
            2020 130049 13.200653 0
            2000 130050 11.737747 0
            2001 130050 11.820506 0
            2002 130050 11.88723 0
            2003 130050 11.998162 0
            2004 130050 12.250286 0
            2005 130050 12.460122 0
            2006 130050 12.635862 0
            2007 130050 12.894857 0
            2008 130050 13.22316 0
            2009 130050 13.247603 0
            2010 130050 13.48051 0
            2011 130050 13.668943 0
            2012 130050 13.797647 0
            2013 130050 13.83694 0
            2014 130050 13.899485 0
            2015 130050 13.915502 0
            2016 130050 13.954173 0
            2017 130050 14.0146 1
            2018 130050 14.043453 1
            2019 130050 14.17449 1
            2020 130050 14.242563 1
            2000 130051 11.822723 0
            2001 130051 11.926682 0
            2002 130051 12.01173 0
            2003 130051 12.193615 0
            2004 130051 12.436494 0
            2005 130051 12.579679 0
            2006 130051 12.829247 0
            2007 130051 13.033583 0
            2008 130051 13.27733 0
            2009 130051 13.3576 0
            2010 130051 13.562176 0
            2011 130051 13.85118 0
            2012 130051 13.935637 0
            2013 130051 13.892528 0
            2014 130051 13.897848 0
            2015 130051 13.795897 0
            2016 130051 13.817406 0
            2017 130051 13.910783 0
            2018 130051 14.08538 0
            2019 130051 14.029647 0
            2020 130051 14.051526 0
            2000 130052 11.85925 0
            2001 130052 11.518928 0
            2002 130052 11.559685 0
            2003 130052 11.6439 0
            2004 130052 11.818048 0
            2005 130052 12.001333 0
            2006 130052 12.091065 0
            2007 130052 12.24683 0
            2008 130052 12.50646 0
            2009 130052 12.58955 0
            2010 130052 12.714566 0
            2011 130052 12.824623 0
            2012 130052 12.959562 0
            2013 130052 13.0197 0
            2014 130052 13.07875 0
            2015 130052 13.171716 0
            2016 130052 13.188484 0
            2017 130052 13.147033 1
            2018 130052 13.275602 1
            2019 130052 13.44958 1
            2020 130052 13.556867 1
            2000 130054 12.50655 0
            2001 130054 12.607824 0
            2002 130054 12.700632 0
            2003 130054 12.802654 0
            2004 130054 12.98408 0
            2005 130054 13.110777 0
            2006 130054 13.246142 0
            2007 130054 13.432185 0
            2008 130054 13.58517 0
            2009 130054 13.50063 0
            2010 130054 13.781195 0
            2011 130054 13.911062 0
            2012 130054 13.998914 0
            2013 130054 14.02823 0
            2014 130054 14.036033 0
            2015 130054 14.07054 0
            2016 130054 14.160477 0
            2017 130054 14.36948 0
            2018 130054 14.4145 0
            2019 130054 14.52233 0
            2020 130054 14.540642 0
            2000 420004 12.183572 0
            2001 420004 12.227594 0
            2002 420004 12.233479 0
            2003 420004 12.344033 0
            2004 420004 12.630598 0
            2005 420004 12.717998 0
            2006 420004 12.840796 0
            2007 420004 12.771955 0
            2008 420004 12.87172 0
            2009 420004 13.07867 0
            2010 420004 13.208174 0
            2011 420004 13.381113 0
            2012 420004 13.505586 0
            2013 420004 13.617174 0
            2014 420004 13.72087 0
            2015 420004 13.804045 0
            2016 420004 13.88569 0
            2017 420004 13.980007 1
            2018 420004 14.074517 1
            2019 420004 14.532814 1
            2020 420004 14.504383 1
            2000 420005 11.74541 0
            2001 420005 11.751808 0
            2002 420005 11.713234 0
            2003 420005 11.879844 0
            2004 420005 11.93385 0
            2005 420005 11.99102 0
            2006 420005 12.037654 0
            2007 420005 12.15109 0
            2008 420005 12.372828 0
            2009 420005 12.57006 0
            2010 420005 12.760532 0
            2011 420005 12.947562 0
            2012 420005 13.085367 0
            2013 420005 13.20832 0
            2014 420005 13.315625 0
            2015 420005 13.40302 0
            2016 420005 13.503536 0
            2017 420005 13.582695 1
            2018 420005 13.635118 1
            2019 420005 13.776562 1
            2020 420005 13.744412 1
            2000 420009 11.524715 0
            2001 420009 11.598093 0
            2002 420009 11.65106 0
            2003 420009 11.73908 0
            2004 420009 11.788494 0
            2005 420009 11.874153 0
            2006 420009 11.952722 0
            2007 420009 12.06566 0
            2008 420009 12.278528 0
            2009 420009 12.401364 0
            2010 420009 12.582452 0
            2011 420009 12.75535 0
            2012 420009 12.90613 0
            2013 420009 13.023102 0
            2014 420009 13.12755 0
            2015 420009 13.217855 0
            2016 420009 13.30851 0
            2017 420009 13.402416 1
            2018 420009 13.490084 1
            2019 420009 13.58042 1
            2020 420009 13.588927 1
            2000 420010 11.962503 0
            2001 420010 12.06282 0
            2002 420010 12.100118 0
            2003 420010 12.17804 0
            2004 420010 12.119256 0
            2005 420010 12.197536 0
            2006 420010 12.276997 0
            2007 420010 12.51796 0
            2008 420010 12.784965 0
            2009 420010 12.91697 0
            2010 420010 13.109076 0
            2011 420010 13.26241 0
            2012 420010 13.392573 0
            2013 420010 13.514421 0
            2014 420010 13.61033 0
            2015 420010 13.69729 0
            2016 420010 13.776874 0
            2017 420010 13.869715 1
            2018 420010 13.936916 1
            2019 420010 14.058143 1
            2020 420010 14.040918 1
            2000 420011 12.001567 0
            2001 420011 11.943643 0
            2002 420011 11.929976 0
            2003 420011 11.971135 0
            2004 420011 12.106164 0
            2005 420011 12.19011 0
            2006 420011 12.275352 0
            2007 420011 12.392552 0
            2008 420011 12.559855 0
            2009 420011 12.707923 0
            2010 420011 12.884614 0
            2011 420011 13.07882 0
            2012 420011 13.234322 0
            2013 420011 13.37091 0
            2014 420011 13.477237 0
            2015 420011 13.564224 0
            2016 420011 13.662243 0
            2017 420011 13.738414 1
            2018 420011 13.85519 1
            2019 420011 14.001824 1
            2020 420011 13.967618 1
            2000 420012 12.55223 0
            2001 420012 12.611195 0
            2002 420012 12.672174 0
            2003 420012 12.752875 0
            2004 420012 12.88302 0
            2005 420012 12.973167 0
            2006 420012 13.062613 0
            2007 420012 13.177987 0
            2008 420012 13.284536 0
            2009 420012 13.495668 0
            2010 420012 13.67556 0
            2011 420012 13.867502 0
            2012 420012 14.023303 0
            2013 420012 14.162605 0
            2014 420012 14.268368 0
            2015 420012 14.354282 0
            2016 420012 14.446037 0
            2017 420012 14.56324 1
            2018 420012 14.662112 1
            2019 420012 15.149248 1
            2020 420012 15.088042 1
            2000 420014 11.57076 0
            2001 420014 11.512405 0
            2002 420014 11.515752 0
            2003 420014 11.643602 0
            2004 420014 11.65119 0
            2005 420014 11.723996 0
            2006 420014 11.815989 0
            2007 420014 11.965274 0
            2008 420014 12.182087 0
            2009 420014 12.431054 0
            2010 420014 12.61752 0
            2011 420014 12.772483 0
            2012 420014 12.92112 0
            2013 420014 13.062356 0
            2014 420014 13.18082 0
            2015 420014 13.268367 0
            2016 420014 13.353 0
            2017 420014 13.438195 1
            2018 420014 13.51636 1
            2019 420014 13.648984 1
            2020 420014 13.618075 1
            2000 420016 12.020177 0
            2001 420016 12.111987 0
            2002 420016 12.193564 0
            2003 420016 12.27974 0
            2004 420016 12.231624 0
            2005 420016 12.333146 0
            2006 420016 12.44627 0
            2007 420016 12.599465 0
            2008 420016 12.820398 0
            2009 420016 12.993716 0
            2010 420016 13.178743 0
            2011 420016 13.4104 0
            2012 420016 13.57691 0
            2013 420016 13.723784 0
            2014 420016 13.820797 0
            2015 420016 13.911638 0
            2016 420016 13.980686 0
            2017 420016 14.013705 0
            2018 420016 14.12311 0
            2019 420016 14.3132 0
            2020 420016 14.270063 0
            2000 420017 11.315986 0
            2001 420017 11.393083 0
            2002 420017 11.457328 0
            2003 420017 11.538242 0
            2004 420017 11.760675 0
            2005 420017 11.885867 0
            2006 420017 11.99597 0
            2007 420017 12.19248 0
            2008 420017 12.47887 0
            2009 420017 12.625237 0
            2010 420017 12.79386 0
            2011 420017 13.11556 0
            2012 420017 13.273023 0
            2013 420017 13.41693 0
            2014 420017 13.51697 0
            2015 420017 13.589237 0
            2016 420017 13.67579 0
            2017 420017 13.78371 0
            2018 420017 13.903162 0
            2019 420017 13.957705 0
            2020 420017 13.97356 0
            2000 420018 11.0913 0
            2001 420018 11.147988 0
            2002 420018 11.233198 0
            2003 420018 11.375765 0
            2004 420018 11.652113 0
            2005 420018 11.792828 0
            2006 420018 11.932294 0
            2007 420018 12.081642 0
            2008 420018 12.324243 0
            2009 420018 12.45172 0
            2010 420018 12.764258 0
            2011 420018 12.96498 0
            2012 420018 13.097263 0
            2013 420018 13.23883 0
            2014 420018 13.337797 0
            2015 420018 13.409195 0
            2016 420018 13.498194 0
            2017 420018 13.57191 0
            2018 420018 13.620885 0
            2019 420018 13.647602 0
            2020 420018 13.684027 0
            2000 420019 12.682404 0
            2001 420019 12.717011 0
            2002 420019 12.780222 0
            2003 420019 12.834658 0
            2004 420019 12.49986 0
            2005 420019 12.57522 0
            2006 420019 12.666657 0
            2007 420019 12.839205 0
            2008 420019 13.099955 0
            2009 420019 13.275476 0
            2010 420019 13.38964 0
            2011 420019 13.620192 0
            2012 420019 13.774407 0
            2013 420019 13.889386 0
            2014 420019 14.004146 0
            2015 420019 14.07826 0
            2016 420019 14.158533 0
            2017 420019 14.246058 0
            2018 420019 14.24511 0
            2019 420019 14.504198 0
            2020 420019 14.49824 0
            2000 420020 12.319982 0
            2001 420020 12.351687 0
            2002 420020 12.427923 0
            2003 420020 12.526314 0
            2004 420020 12.198448 0
            2005 420020 12.299108 0
            2006 420020 12.409014 0
            2007 420020 12.554262 0
            2008 420020 12.89849 0
            2009 420020 13.189517 0
            2010 420020 13.355536 0
            2011 420020 13.499784 0
            2012 420020 13.653852 0
            2013 420020 13.77203 0
            2014 420020 13.870566 0
            2015 420020 13.935513 0
            2016 420020 14.01264 0
            2017 420020 14.106836 0
            2018 420020 14.139275 0
            2019 420020 14.2783 0
            2020 420020 14.191108 0
            2000 420021 12.094845 0
            2001 420021 11.8918 0
            2002 420021 11.948293 0
            2003 420021 12.055994 0
            2004 420021 12.07767 0
            2005 420021 12.131887 0
            2006 420021 12.278394 0
            2007 420021 12.511718 0
            2008 420021 12.838857 0
            2009 420021 12.892162 0
            2010 420021 13.073383 0
            2011 420021 13.163013 0
            2012 420021 13.362507 0
            2013 420021 13.47671 0
            2014 420021 13.574076 0
            2015 420021 13.627854 0
            2016 420021 13.69864 0
            2017 420021 13.802222 0
            2018 420021 13.817602 0
            2019 420021 14.011242 0
            2020 420021 13.884695 0
            2000 420026 12.950353 0
            2001 420026 13.06431 0
            2002 420026 13.1404 0
            2003 420026 13.221847 0
            2004 420026 13.21476 0
            2005 420026 13.339891 0
            2006 420026 13.440817 0
            2007 420026 13.617182 0
            2008 420026 13.779572 0
            2009 420026 13.786596 0
            2010 420026 13.917254 0
            2011 420026 14.067824 0
            2012 420026 14.227422 0
            2013 420026 14.340358 0
            2014 420026 14.42582 0
            2015 420026 14.457786 0
            2016 420026 14.53379 0
            2017 420026 14.73076 0
            2018 420026 14.855787 0
            2019 420026 14.881703 0
            2020 420026 14.85161 0
            2000 420027 11.267524 0
            2001 420027 11.352475 0
            2002 420027 11.415445 0
            2003 420027 11.514923 0
            2004 420027 11.705832 0
            2005 420027 11.786 0
            2006 420027 11.8713 0
            2007 420027 11.994734 0
            2008 420027 12.110003 0
            2009 420027 12.28016 0
            2010 420027 12.478387 0
            2011 420027 12.625868 0
            2012 420027 12.764728 0
            2013 420027 12.886813 0
            2014 420027 12.985856 0
            2015 420027 13.07569 0
            2016 420027 13.1612 0
            2017 420027 13.248996 1
            2018 420027 13.325668 1
            2019 420027 13.41697 1
            2020 420027 13.383285 1
            2000 420028 13.179167 0
            2001 420028 13.230645 0
            2002 420028 13.300365 0
            2003 420028 13.370824 0
            2004 420028 12.987327 0
            2005 420028 13.072123 0
            2006 420028 13.186464 0
            2007 420028 13.374056 0
            2008 420028 13.636765 0
            2009 420028 13.80885 0
            2010 420028 13.994075 0
            2011 420028 14.264494 0
            2012 420028 14.38302 0
            2013 420028 14.5255 0
            2014 420028 14.631804 0
            2015 420028 14.708778 0
            2016 420028 14.79485 0
            2017 420028 14.923314 0
            2018 420028 14.931285 0
            2019 420028 15.134944 0
            2020 420028 15.040318 0
            2000 430003 10.928633 0
            2001 430003 11.04148 0
            2002 430003 11.13596 0
            2003 430003 11.265464 0
            2004 430003 11.486376 0
            2005 430003 11.72546 0
            2006 430003 11.926808 0
            2007 430003 12.208415 0
            2008 430003 12.395585 0
            2009 430003 12.62617 0
            2010 430003 12.71019 0
            2011 430003 12.830405 0
            2012 430003 12.92096 0
            2013 430003 12.792213 0
            2014 430003 12.895166 0
            2015 430003 13.006288 0
            2016 430003 13.081592 0
            2017 430003 13.163363 1
            2018 430003 13.246316 1
            2019 430003 13.461202 1
            2020 430003 13.505068 1
            2000 430004 11.24155 0
            2001 430004 11.332842 0
            2002 430004 11.366442 0
            2003 430004 11.499202 0
            2004 430004 11.70204 0
            2005 430004 11.780836 0
            2006 430004 11.91691 0
            2007 430004 12.17555 0
            2008 430004 12.340333 0
            2009 430004 12.605214 0
            2010 430004 12.747274 0
            2011 430004 12.938662 0
            2012 430004 13.056472 0
            2013 430004 13.201916 0
            2014 430004 13.327118 0
            2015 430004 13.456265 0
            2016 430004 13.518466 0
            2017 430004 13.563707 1
            2018 430004 13.60512 1
            2019 430004 13.686294 1
            2020 430004 13.70361 1
            2000 430005 10.171184 0
            2001 430005 10.260602 0
            2002 430005 10.309485 0
            2003 430005 10.405475 0
            2004 430005 10.573392 0
            2005 430005 10.810192 0
            2006 430005 10.917485 0
            2007 430005 11.088202 0
            2008 430005 11.314463 0
            2009 430005 11.431097 0
            2010 430005 11.580603 0
            2011 430005 11.767537 0
            2012 430005 11.911977 0
            2013 430005 12.056911 0
            2014 430005 12.195492 0
            2015 430005 12.308024 0
            2016 430005 12.374232 0
            2017 430005 12.429976 1
            2018 430005 12.45867 1
            2019 430005 12.65001 1
            2020 430005 12.66756 1
            2000 430017 10.66546 0
            2001 430017 10.738915 0
            2002 430017 10.84714 0
            2003 430017 10.924967 0
            2004 430017 11.120357 0
            2005 430017 11.256574 0
            2006 430017 11.399354 0
            2007 430017 11.475317 0
            2008 430017 11.59633 0
            2009 430017 11.654086 0
            2010 430017 11.827955 0
            2011 430017 12.060995 0
            2012 430017 12.18378 0
            2013 430017 12.29575 0
            2014 430017 12.410714 0
            2015 430017 12.530935 0
            2016 430017 12.637424 0
            2017 430017 12.749507 0
            2018 430017 12.817484 0
            2019 430017 12.97987 0
            2020 430017 13.042355 0
            2000 430018 11.213913 0
            2001 430018 11.26645 0
            2002 430018 11.348947 0
            2003 430018 11.447672 0
            2004 430018 11.611132 0
            2005 430018 12.07208 0
            2006 430018 12.227918 0
            2007 430018 12.420684 0
            2008 430018 12.566484 0
            2009 430018 12.703943 0
            2010 430018 12.887468 0
            2011 430018 13.093176 0
            2012 430018 13.238447 0
            2013 430018 13.313922 0
            2014 430018 13.428617 0
            2015 430018 13.515332 0
            2016 430018 13.613673 0
            2017 430018 13.720353 0
            2018 430018 13.78159 0
            2019 430018 13.794523 0
            2020 430018 13.824677 0
            2000 430020 11.381803 0
            2001 430020 11.456546 0
            2002 430020 11.521677 0
            2003 430020 11.610696 0
            2004 430020 11.783128 0
            2005 430020 11.8887 0
            2006 430020 11.993906 0
            2007 430020 12.19133 0
            2008 430020 12.378748 0
            2009 430020 12.503046 0
            2010 430020 12.640304 0
            2011 430020 12.82876 0
            2012 430020 12.934126 0
            2013 430020 13.05281 0
            2014 430020 13.14425 0
            2015 430020 13.26183 0
            2016 430020 13.326668 0
            2017 430020 13.384454 1
            2018 430020 13.449515 1
            2019 430020 13.669332 1
            2020 430020 13.691092 1
            2000 430023 12.483833 0
            2001 430023 12.53957 0
            2002 430023 12.67401 0
            2003 430023 12.761738 0
            2004 430023 12.892608 0
            2005 430023 12.963914 0
            2006 430023 13.095962 0
            2007 430023 13.318348 0
            2008 430023 13.466147 0
            2009 430023 13.578462 0
            2010 430023 13.768038 0
            2011 430023 13.991638 0
            2012 430023 14.163062 0
            2013 430023 14.258805 0
            2014 430023 14.309906 0
            2015 430023 14.303978 0
            2016 430023 14.38687 0
            2017 430023 14.25816 0
            2018 430023 14.278455 0
            2019 430023 14.344996 0
            2020 430023 14.387956 0
            2000 430024 10.966145 0
            2001 430024 11.044553 0
            2002 430024 11.13399 0
            2003 430024 11.259452 0
            2004 430024 11.436487 0
            2005 430024 11.510823 0
            2006 430024 11.703546 0
            2007 430024 12.03961 0
            2008 430024 12.291562 0
            2009 430024 12.62565 0
            2010 430024 12.824857 0
            2011 430024 13.075077 0
            2012 430024 13.097727 0
            2013 430024 13.07048 0
            2014 430024 13.172446 0
            2015 430024 13.191545 0
            2016 430024 13.194924 0
            2017 430024 13.240608 1
            2018 430024 13.273286 1
            2019 430024 13.45135 1
            2020 430024 13.49168 1
            2000 430031 10.995378 0
            2001 430031 11.103633 0
            2002 430031 11.043626 0
            2003 430031 11.203094 0
            2004 430031 11.56451 0
            2005 430031 12.060168 0
            2006 430031 12.510246 0
            2007 430031 12.834276 0
            2008 430031 13.027107 0
            2009 430031 13.072575 0
            2010 430031 13.08768 0
            2011 430031 13.208435 0
            2012 430031 13.288874 0
            2013 430031 13.275623 0
            2014 430031 13.304002 0
            2015 430031 13.29911 0
            2016 430031 13.311963 0
            2017 430031 13.420583 1
            2018 430031 13.340822 1
            2019 430031 13.488692 1
            2020 430031 13.53264 1
            2000 430040 11.705387 0
            2001 430040 11.765628 0
            2002 430040 11.84554 0
            2003 430040 11.882356 0
            2004 430040 11.912587 0
            2005 430040 12.02874 0
            2006 430040 12.13059 0
            2007 430040 12.3451 0
            2008 430040 12.557715 0
            2009 430040 12.69103 0
            2010 430040 12.841013 0
            2011 430040 12.988214 0
            2012 430040 13.10899 0
            2013 430040 13.219882 0
            2014 430040 13.330408 0
            2015 430040 13.421107 0
            2016 430040 13.4988 0
            2017 430040 13.5755 1
            2018 430040 13.637848 1
            2019 430040 13.763556 1
            2020 430040 13.804058 1
            end
            Code:
            qui: sdid lnGDP county year treated, vce(noinference) graph
            
            matrix lambda = e(lambda)[1..16,1]
            matrix yco = e(series)[1..16,2]
            matrix ytr = e(series)[1..16,3]
            matrix aux = lambda'*(ytr - yco)
            scalar meanpre_o = aux[1,1]
            
            matrix difference = e(difference)[1..21,1..2] 
            svmat difference
            ren (difference1 difference2) (time d)
            replace d = d - meanpre_o            
            
            local b = 1
            local B = 10
            while `b'<=`B' {
                preserve
                bsample, cluster(county) idcluster(c2)
                qui count if treated == 0
                local r1 = r(N)
                qui count if treated != 0
                local r2 = r(N)
                if (`r1 '!=0 & `r2 '!=0){
                    qui: sdid lnGDP c2 year treated, vce(noinference) graph
                    matrix lambda_b = e(lambda)[1..16,1]
                    matrix yco_b = e(series)[1..16,2]
                    matrix ytr_b = e(series)[1..16,3]
                    matrix aux_b = lambda_b'*(ytr_b - yco_b)
                    matrix meanpre_b = J(21,1,aux_b[1,1])
                    
                    matrix d`b'=e(difference)[1..21,2] - meanpre_b
                    
                    local ++b
                }
                restore
            }
                
            
            preserve
            keep time d
            keep if time!=.
            forval b=1/`B' {
                svmat d`b'
            }
            
            
            egen rsd = rowsd(d11 - d`B '1)      
            gen LCI = d + invnormal(0.025)*rsd 
            gen UCI = d + invnormal(0.975)*rsd 
            
            *generate plot
            tw rarea UCI LCI time, color(gray%40) || scatter d time, color(blue) m(d) xtitle("") ytitle("GDP") xlab(2000(1)2021, angle(45)) legend(order(2 "Point Estimate" 1 "95% CI") pos(12) col(2)) xline(2016, lc(black) lp(solid)) yline(0, lc(red) lp(shortdash)) scheme(sj)
            graph export "event_sdid.pdf", replace
            restore
            Last edited by Juncheng Lyu; 01 Aug 2023, 08:37.

            Comment

            Working...
            X