-------------
      name:  <unnamed>
       log:  C:\D\projekte\Replication McCabe_Snyder\McCabe_Snyder_ReStat_Table_1.smcl
  log type:  smcl
 opened on:  23 Mar 2017, 14:31:16

.
. **********************************************************************
. *
. * Program McCabe_Snyder_ReStat_Table_1.DO
. *
. * Computes descriptive statistics for Table 1.  Also computes
. * some isolated statistics cited in the text and some of the numbers
. * used to make the figures.
. *
. * McCabe & Snyder August 2013
. *
. **********************************************************************
.
. * Set initial Stata parameters
. version 12

. set more 1

.
.
. * Compute Table 1 Row 1 (year journal founded)
. use McCabe_Snyder_ReStat_combined

. sort journal

. keep if journal ~= journal[_n-1]
(60,353 observations deleted)

. summ fpubdate

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    fpubdate |        100     1956.44    27.95318       1844       1988

.
.
. * Compute Table 1 Row 2 (year volume published)
. clear

. use McCabe_Snyder_ReStat_combined

. sort journal pyear

. egen jp = group(journal pyear)

. sort jp

. keep if jp ~= jp[_n-1]
(56,895 observations deleted)

. summ pyear

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
       pyear |      3,558    1985.727    13.08323       1956       2005

.
.
. * Compute Table 1 Rows 3, 4, 6 (citation year, cites, and OA)
. clear

. use McCabe_Snyder_ReStat_combined

. gen cit = cusa + ceng + ceur + coth + cmis

.
. * Suffix 1 refers to partial access
. gen digit1 = (own1 + elsevier1 + jstor1 + ingaoc1 +  blackwell1 + ebsco1 + proquest1 + digz1) >= 1

.
. * Suffix 2 refers to full access
. gen digit2 = (own2 + elsevier2 + jstor2 + ingaoc2 +  blackwell2 + ebsco2 + proquest2 + digz2) >= 1

. quietly replace digit1 = 0 if digit2 == 1

.
. summ cyear cit digit2

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
       cyear |     60,453    1994.847    7.148305       1980       2005
         cit |     60,453    35.74076      59.352          0        771
      digit2 |     60,453    .2589284    .4380498          0          1

.
. * Compute age and time fixed effects graphed in Figures 1 and 2
. gen age = cyear - pyear

.
. forvalues num = 0/49 {
  2.    generate age`num' = age == `num'
  3.    }

.
. forvalues num = 1980/2005 {
  2.    generate c`num'= cyear == `num'
  3.    }

.
. gen c95_99 = (cyear >= 1995) & (cyear <= 1999)

. gen c00_05 = (cyear >= 2000) & (cyear <= 2005)

.
. gen d1c95 = digit1 * c95_99

. gen d1c00 = digit1 * c00_05

. gen d2c95 = digit2 * c95_99

. gen d2c00 = digit2 * c00_05

.
. xtpqml cit age1-age49 c1981-c2005 d1c* d2c*, i(journal) fe cluster(journal)

Iteration 0:   log likelihood = -962388.59
Iteration 1:   log likelihood = -452649.87
Iteration 2:   log likelihood = -428090.62
Iteration 3:   log likelihood = -427618.34
Iteration 4:   log likelihood = -427616.72
Iteration 5:   log likelihood = -427616.72

Conditional fixed-effects Poisson regression    Number of obs     =     60,453
Group variable: journal                         Number of groups  =        100

                                                Obs per group:
                                                              min =        136
                                                              avg =      604.5
                                                              max =        975

                                                Wald chi2(78)     =  904356.04
Log likelihood  = -427616.72                    Prob > chi2       =     0.0000

-------------+----------------------------------------------------------------
          cit |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
        age1 |    1.386704    .0085683    161.84    0.000       1.36991     1.403498
        age2 |     1.93452    .0082305    235.04    0.000      1.918389     1.950652
        age3 |     2.10822    .0081708    258.02    0.000      2.092205     2.124234
        age4 |    2.152604    .0081553    263.95    0.000       2.13662     2.168588
        age5 |    2.155614    .0081528    264.40    0.000      2.139634     2.171593
        age6 |    2.127767    .0081677    260.51    0.000      2.111759     2.143776
        age7 |    2.073805    .0081926    253.13    0.000      2.057748     2.089863
        age8 |    2.016167    .0082165    245.38    0.000      2.000063     2.032271
        age9 |    1.951536    .0082609    236.24    0.000      1.935345     1.967727
       age10 |    1.882138    .0083004    226.75    0.000      1.865869     1.898406
       age11 |    1.800316    .0083551    215.48    0.000       1.78394     1.816692
       age12 |    1.711469    .0084258    203.12    0.000      1.694955     1.727983
       age13 |    1.629782    .0085005    191.73    0.000      1.613121     1.646442
       age14 |    1.548084    .0085791    180.45    0.000      1.531269     1.564899
       age15 |     1.45251    .0086745    167.45    0.000      1.435508     1.469512
       age16 |    1.356254    .0087899    154.30    0.000      1.339026     1.373481
       age17 |    1.267943    .0089122    142.27    0.000      1.250476     1.285411
       age18 |    1.175346    .0090545    129.81    0.000      1.157599     1.193092
       age19 |    1.092443    .0092019    118.72    0.000      1.074408     1.110478
       age20 |    1.000237    .0093758    106.68    0.000      .9818611     1.018614
       age21 |     .905568    .0095757     94.57    0.000         .8868      .924336
       age22 |    .8274188    .0097688     84.70    0.000      .8082722     .8465653
       age23 |    .7373653    .0100106     73.66    0.000      .7177449     .7569857
       age24 |    .6291734    .0103046     61.06    0.000      .6089767     .6493701
       age25 |    .5517191    .0105896     52.10    0.000      .5309637     .5724744
       age26 |    .4595665    .0109504     41.97    0.000      .4381041     .4810288
       age27 |    .3304055    .0114541     28.85    0.000      .3079559      .352855
       age28 |    .2587975    .0118453     21.85    0.000      .2355812     .2820138
       age29 |    .1586084    .0123986     12.79    0.000      .1343076     .1829092
       age30 |    .0888691    .0129002      6.89    0.000      .0635853      .114153
       age31 |    .0295279    .0133631      2.21    0.027      .0033367     .0557192
       age32 |   -.0635764    .0140426     -4.53    0.000     -.0910994    -.0360535
       age33 |   -.1569165    .0147695    -10.62    0.000     -.1858642    -.1279688
       age34 |   -.2293672    .0154776    -14.82    0.000     -.2597027    -.1990318
       age35 |   -.3189494    .0163942    -19.45    0.000     -.3510815    -.2868172
       age36 |    -.360225    .0171206    -21.04    0.000     -.3937809    -.3266692
       age37 |   -.4315412    .0181329    -23.80    0.000     -.4670811    -.3960014
       age38 |   -.4814317    .0190443    -25.28    0.000     -.5187578    -.4441056
       age39 |   -.4672245    .0193329    -24.17    0.000     -.5051162    -.4293327
       age40 |   -.5355318    .0204238    -26.22    0.000     -.5755617    -.4955018
       age41 |   -.6041095    .0219346    -27.54    0.000     -.6471005    -.5611185
       age42 |   -.6130453    .0230744    -26.57    0.000     -.6582703    -.5678203
       age43 |   -.6457013    .0246955    -26.15    0.000     -.6941036    -.5972991
       age44 |   -.6715016    .0266287    -25.22    0.000     -.7236929    -.6193103
       age45 |   -.7677527    .0301058    -25.50    0.000      -.826759    -.7087465
       age46 |   -.7615751    .0330361    -23.05    0.000     -.8263247    -.6968254
       age47 |   -.7641091    .0374701    -20.39    0.000     -.8375492     -.690669
       age48 |   -.8360832    .0475959    -17.57    0.000     -.9293694     -.742797
       age49 |   -.6561209    .0615126    -10.67    0.000     -.7766833    -.5355584
       c1981 |    .0402931     .008783      4.59    0.000      .0230787     .0575076
       c1982 |    .1118351    .0085584     13.07    0.000      .0950609     .1286092
       c1983 |    .2307599    .0082727     27.89    0.000      .2145458      .246974
       c1984 |    .2742404    .0081384     33.70    0.000      .2582895     .2901914
       c1985 |    .3600008    .0079517     45.27    0.000      .3444158     .3755858
       c1986 |    .3805442    .0078729     48.34    0.000      .3651136     .3959747
       c1987 |    .4171876    .0077791     53.63    0.000      .4019408     .4324344
       c1988 |    .4571624    .0076888     59.46    0.000      .4420927     .4722321
       c1989 |    .4793119    .0076261     62.85    0.000      .4643651     .4942588
       c1990 |    .5640294    .0074993     75.21    0.000      .5493309     .5787278
       c1991 |    .5824908     .007452     78.17    0.000      .5678852     .5970964
       c1992 |    .6292704    .0073808     85.26    0.000      .6148044     .6437364
       c1993 |    .6943649    .0072996     95.12    0.000       .680058     .7086719
       c1994 |    .7136207    .0072649     98.23    0.000      .6993818     .7278596
       c1995 |    .7718102    .0072557    106.37    0.000      .7575893      .786031
       c1996 |    .8541969    .0072453    117.90    0.000      .8399963     .8683975
       c1997 |    .8353228     .007278    114.77    0.000      .8210582     .8495873
       c1998 |    .9031359    .0072727    124.18    0.000      .8888816     .9173902
       c1999 |    .9411936    .0073151    128.66    0.000      .9268561      .955531
       c2000 |    .9839181    .0075801    129.80    0.000      .9690613     .9987748
       c2001 |    1.044253    .0078237    133.47    0.000      1.028919     1.059587
       c2002 |    1.072922     .008085    132.71    0.000      1.057076     1.088768
       c2003 |    1.158775    .0080836    143.35    0.000      1.142931     1.174618
       c2004 |    1.208777    .0080958    149.31    0.000       1.19291     1.224645
       c2005 |    1.185953    .0081266    145.93    0.000      1.170025     1.201881
       d1c95 |    .0665517    .0048509     13.72    0.000      .0570441     .0760593
       d1c00 |    .0325162    .0061223      5.31    0.000      .0205166     .0445157
       d2c95 |    .0898923    .0034221     26.27    0.000       .083185     .0965995
       d2c00 |    .1030675    .0043407     23.74    0.000        .09456      .111575
-------------+----------------------------------------------------------------
Calculating Robust Standard Errors...
-------------+----------------------------------------------------------------
          cit |      Coef.    Std. Err.       z    P>|z|      [95% Con f. Interval]
-------------+----------------------------------------------------------------
cit          |
        age1 |    1.386704    .0435254     31.86    0.000      1.301396     1.472012
        age2 |     1.93452    .0471891     41.00    0.000      1.842031      2.02701
        age3 |     2.10822     .049264     42.79    0.000      2.011664     2.204775
        age4 |    2.152604    .0515952     41.72    0.000      2.051479     2.253729
        age5 |    2.155614    .0525687     41.01    0.000      2.052581     2.258647
        age6 |    2.127767    .0552918     38.48    0.000      2.019397     2.236137
        age7 |    2.073805    .0569306     36.43    0.000      1.962223     2.185387
        age8 |    2.016167     .059949     33.63    0.000      1.898669     2.133665
        age9 |    1.951536    .0627109     31.12    0.000      1.828625     2.074447
       age10 |    1.882138     .065404     28.78    0.000      1.753948     2.010327
       age11 |    1.800316    .0691211     26.05    0.000      1.664841     1.935791
       age12 |    1.711469    .0710875     24.08    0.000       1.57214     1.850798
       age13 |    1.629782    .0763334     21.35    0.000      1.480171     1.779392
       age14 |    1.548084    .0800219     19.35    0.000      1.391244     1.704924
       age15 |     1.45251    .0837228     17.35    0.000      1.288417     1.616604
       age16 |    1.356254    .0865372     15.67    0.000      1.186644     1.525863
       age17 |    1.267943    .0895138     14.16    0.000        1.0925     1.443387
       age18 |    1.175346    .0950786     12.36    0.000      .9889949     1.361696
       age19 |    1.092443    .0970371     11.26    0.000      .9022539     1.282632
       age20 |    1.000237    .1042103      9.60    0.000      .7959888     1.204486
       age21 |     .905568    .1074653      8.43    0.000      .6949399     1.116196
       age22 |    .8274188    .1149776      7.20    0.000      .6020669     1.052771
       age23 |    .7373653    .1207249      6.11    0.000      .5007488     .9739817
       age24 |    .6291734    .1169536      5.38    0.000      .3999486     .8583982
       age25 |    .5517191    .1166883      4.73    0.000      .3230141      .780424
       age26 |    .4595665    .1187736      3.87    0.000      .2267744     .6923585
       age27 |    .3304055    .1107727      2.98    0.003       .113295     .5475159
       age28 |    .2587975    .1111335      2.33    0.020      .0409798     .4766153
       age29 |    .1586084     .118384      1.34    0.180       -.07342     .3906368
       age30 |    .0888691    .1249645      0.71    0.477     -.1560567      .333795
       age31 |    .0295279    .1284085      0.23    0.818      -.222148     .2812039
       age32 |   -.0635764    .1283302     -0.50    0.620     -.3150991     .1879462
       age33 |   -.1569165    .1189324     -1.32    0.187     -.3900197     .0761867
       age34 |   -.2293672     .118648     -1.93    0.053     -.4619131     .0031786
       age35 |   -.3189494    .1196267     -2.67    0.008     -.5534134    -.0844853
       age36 |    -.360225    .1291976     -2.79    0.005     -.6134477    -.1070024
       age37 |   -.4315412    .1336218     -3.23    0.001     -.6934352    -.1696473
       age38 |   -.4814317    .1315327     -3.66    0.000     -.7392311    -.2236323
       age39 |   -.4672245    .1355003     -3.45    0.001     -.7328001    -.2016488
       age40 |   -.5355318    .1325281     -4.04    0.000     -.7952821    -.2757814
       age41 |   -.6041095    .1484146     -4.07    0.000     -.8949968    -.3132222
       age42 |   -.6130453    .1546534     -3.96    0.000     -.9161603    -.3099303
       age43 |   -.6457013    .1664885     -3.88    0.000     -.9720128    -.3193899
       age44 |   -.6715016    .1677869     -4.00    0.000     -1.000358    -.3426454
       age45 |   -.7677527    .2132185     -3.60    0.000     -1.185653    -.3498521
       age46 |   -.7615751    .1962709     -3.88    0.000     -1.146259    -.3768912
       age47 |   -.7641091    .1920029     -3.98    0.000     -1.140428    -.3877903
       age48 |   -.8360832    .2768763     -3.02    0.003     -1.378751    -.2934156
       age49 |   -.6561209     .357071     -1.84    0.066     -1.355967     .0437254
       c1981 |    .0402931    .0196972      2.05    0.041      .0016873      .078899
       c1982 |    .1118351    .0163814      6.83    0.000      .0797282     .1439419
       c1983 |    .2307599    .0213208     10.82    0.000      .1889718     .2725479
       c1984 |    .2742404    .0294947      9.30    0.000      .2164318      .332049
       c1985 |    .3600008    .0330011     10.91    0.000      .2953198     .4246817
       c1986 |    .3805442    .0376384     10.11    0.000      .3067743      .454314
       c1987 |    .4171876     .041414     10.07    0.000      .3360176     .4983576
       c1988 |    .4571624    .0425379     10.75    0.000      .3737896     .5405352
       c1989 |    .4793119    .0454949     10.54    0.000      .3901436     .5684802
       c1990 |    .5640294    .0527063     10.70    0.000       .460727     .6673317
       c1991 |    .5824908    .0500176     11.65    0.000      .4844581     .6805234
       c1992 |    .6292704    .0551309     11.41    0.000      .5212158      .737325
       c1993 |    .6943649    .0566093     12.27    0.000      .5834127     .8053172
       c1994 |    .7136207    .0602631     11.84    0.000      .5955071     .8317342
       c1995 |    .7718102    .0611123     12.63    0.000      .6520322     .8915882
       c1996 |    .8541969    .0658694     12.97    0.000      .7250952     .9832986
       c1997 |    .8353228    .0697939     11.97    0.000      .6985292     .9721163
       c1998 |    .9031359    .0718615     12.57    0.000      .7622899     1.043982
       c1999 |    .9411936    .0771599     12.20    0.000       .789963     1.092424
       c2000 |    .9839181     .078555     12.53    0.000      .8299532     1.137883
       c2001 |    1.044253    .0812647     12.85    0.000      .8849771     1.203529
       c2002 |    1.072922      .08339     12.87    0.000      .9094807     1.236364
       c2003 |    1.158775    .0889228     13.03    0.000      .9844895      1.33306
       c2004 |    1.208777    .0915769     13.20    0.000       1.02929     1.388265
       c2005 |    1.185953    .0949823     12.49    0.000      .9997913     1.372115
       d1c95 |    .0665517    .0490042      1.36    0.174     -.0294948     .1625983
       d1c00 |    .0325162    .0194701      1.67    0.095     -.0056445     .0706769
       d2c95 |    .0898923    .0566396      1.59    0.112     -.0211192     .2009037
       d2c00 |    .1030675    .0376207      2.74    0.006      .0293323     .1768028
-------------+----------------------------------------------------------------
Wald chi2(78) = 62939.32                                Prob > chi2 =   0.0000

.
.
. * Generate numbers behind Figure 3 (Proportion of content digitized by citation year)
. tabulate cyear, summarize(digit2)

            |          Summary of digit2
      cyear |        Mean   Std. Dev.       Freq.
------------+------------------------------------
       1980 |           0           0       1,169
       1981 |           0           0       1,247
       1982 |           0           0       1,326
       1983 |           0           0       1,410
       1984 |           0           0       1,496
       1985 |           0           0       1,583
       1986 |           0           0       1,673
       1987 |           0           0       1,768
       1988 |           0           0       1,865
       1989 |           0           0       1,963
       1990 |           0           0       2,063
       1991 |           0           0       2,163
       1992 |           0           0       2,263
       1993 |           0           0       2,363
       1994 |           0           0       2,463
       1995 |     .044957   .20725023       2,558
       1996 |   .11437171   .31832207       2,658
       1997 |   .19253082   .39435909       2,758
       1998 |   .21658502   .41198949       2,858
       1999 |   .29344151   .45541597       2,958
       2000 |   .37246566   .48354054       3,058
       2001 |   .40183661    .4903469       3,158
       2002 |    .6368938   .48096891       3,258
       2003 |    .8144729   .38878247       3,358
       2004 |   .83111625   .37470339       3,458
       2005 |   .87802136   .32730714       3,558
------------+------------------------------------
      Total |   .25892842   .43804985      60,453

.
. * Generate numbers behind Figure 6 (Proportion of content in digital channels by publication year)
. tabulate pyear, summarize(digit2)

            |          Summary of digit2
      pyear |        Mean   Std. Dev.       Freq.
------------+------------------------------------
       1956 |   .16445623   .37093512         754
       1957 |   .16312997   .36972948         754
       1958 |   .15151515   .35875942         858
       1959 |   .15504808   .36216822         832
       1960 |   .15045249   .35771677         884
       1961 |   .15054945   .35780581         910
       1962 |   .14636752   .35366326         936
       1963 |   .14271255   .34995662         988
       1964 |    .1469428    .3542236       1,014
       1965 |   .15384615   .36097925       1,014
       1966 |   .16194332   .36858539         988
       1967 |   .14615385   .35343034       1,040
       1968 |   .15742397   .36436302       1,118
       1969 |   .15957447   .36636088       1,222
       1970 |   .15007541   .35728007       1,326
       1971 |      .15625   .36323775       1,248
       1972 |   .15306122   .36018789       1,274
       1973 |   .15070644   .35790299       1,274
       1974 |   .14844804   .35566357       1,482
       1975 |   .14667536   .35389736       1,534
       1976 |    .1497669   .35694681       1,716
       1977 |   .14762443   .35482767       1,768
       1978 |   .14536199   .35256516       1,768
       1979 |   .14762443   .35482767       1,768
       1980 |   .14760915   .35480434       1,924
       1981 |   .15128205    .3584155       1,950
       1982 |     .157173   .36405982       1,896
       1983 |   .16149068   .36807821       1,932
       1984 |   .16754757   .37356276       1,892
       1985 |   .17569787    .3806671       1,827
       1986 |   .17888889   .38336576       1,800
       1987 |   .25706371   .43713594       1,805
       1988 |   .29610538   .45666884       1,746
       1989 |   .33073229   .47061809       1,666
       1990 |        .355   .47866293       1,600
       1991 |        .382   .48603857       1,500
       1992 |   .43928571   .49647743       1,400
       1993 |   .48692308   .50002132       1,300
       1994 |   .52916667   .49935669       1,200
       1995 |    .6354067   .48154639       1,045
       1996 |        .676   .46823418       1,000
       1997 |   .74555556   .43579064         900
       1998 |         .79   .40756304         800
       1999 |   .79428571   .40451165         700
       2000 |         .78   .41459194         600
       2001 |        .776    .4173396         500
       2002 |       .7375   .44054392         400
       2003 |         .65   .47776654         300
       2004 |         .49   .50115445         200
       2005 |         .01          .1         100
------------+------------------------------------
      Total |   .25892842   .43804985      60,453

. tabulate pyear, summarize(jstor2)

            |          Summary of jstor2
      pyear |        Mean   Std. Dev.       Freq.
------------+------------------------------------
       1956 |   .15517241    .3623093         754
       1957 |   .15517241    .3623093         754
       1958 |   .14219114   .34944978         858
       1959 |   .14182692   .34908239         832
       1960 |   .13800905   .34510473         884
       1961 |   .13846154   .34557369         910
       1962 |   .13461538   .34149477         936
       1963 |   .13157895   .33820364         988
       1964 |   .12919132   .33557709       1,014
       1965 |   .12919132   .33557709       1,014
       1966 |   .12854251    .3348624         988
       1967 |   .11826923   .32308201       1,040
       1968 |   .12522361   .33112041       1,118
       1969 |   .12274959    .3282839       1,222
       1970 |   .11915535   .32409346       1,326
       1971 |   .12339744    .3290247       1,248
       1972 |   .12009419    .3251993       1,274
       1973 |    .1177394   .32242586       1,274
       1974 |   .10931174   .31213527       1,482
       1975 |   .10560626   .30743323       1,534
       1976 |    .1013986   .30194379       1,716
       1977 |   .10067873   .30098798       1,768
       1978 |   .09841629   .29796097       1,768
       1979 |   .10067873   .30098798       1,768
       1980 |   .09459459   .29273024       1,924
       1981 |   .09282051   .29025518       1,950
       1982 |   .09493671   .29320483       1,896
       1983 |   .09782609   .29715627       1,932
       1984 |   .10042283   .30064241       1,892
       1985 |   .10399562   .30533844       1,827
       1986 |   .10555556   .30735332       1,800
       1987 |   .11135734   .31466131       1,805
       1988 |   .12027491   .32537593       1,746
       1989 |   .12605042   .33200584       1,666
       1990 |     .133125   .33981599       1,600
       1991 |        .142   .34916655       1,500
       1992 |   .14857143   .35579261       1,400
       1993 |   .15615385   .36314083       1,300
       1994 |         .16    .3667589       1,200
       1995 |   .17129187    .3769442       1,045
       1996 |        .167    .3731625       1,000
       1997 |   .16222222   .36885952         900
       1998 |      .14375   .35105553         800
       1999 |   .11857143    .3235147         700
       2000 |   .07333333   .26090037         600
       2001 |         .05   .21816322         500
       2002 |       .0075   .08638522         400
       2003 |           0           0         300
       2004 |           0           0         200
       2005 |           0           0         100
------------+------------------------------------
      Total |   .11805866   .32268023      60,453

. tabulate pyear, summarize(elsevier2)

            |        Summary of elsevier2
      pyear |        Mean   Std. Dev.       Freq.
------------+------------------------------------
       1956 |           0           0         754
       1957 |           0           0         754
       1958 |           0           0         858
       1959 |           0           0         832
       1960 |           0           0         884
       1961 |           0           0         910
       1962 |           0           0         936
       1963 |           0           0         988
       1964 |           0           0       1,014
       1965 |           0           0       1,014
       1966 |           0           0         988
       1967 |           0           0       1,040
       1968 |           0           0       1,118
       1969 |   .00736498   .08553783       1,222
       1970 |   .00678733   .08213617       1,326
       1971 |   .00721154   .08464794       1,248
       1972 |   .00941915   .09663209       1,274
       1973 |   .00941915   .09663209       1,274
       1974 |   .01417004   .11823148       1,482
       1975 |   .01564537    .1241396       1,534
       1976 |   .02272727   .14907614       1,716
       1977 |   .02205882   .14691644       1,768
       1978 |   .02205882   .14691644       1,768
       1979 |   .02205882   .14691644       1,768
       1980 |   .02806653   .16520588       1,924
       1981 |   .03230769   .17686138       1,950
       1982 |   .03481013   .18334697       1,896
       1983 |   .03726708   .18946458       1,932
       1984 |   .03805497   .19137959       1,892
       1985 |   .03940887   .19461896       1,827
       1986 |   .04166667   .19988184       1,800
       1987 |   .04487535   .20708768       1,805
       1988 |   .04639175   .21039228       1,746
       1989 |   .04861945   .21513572       1,666
       1990 |     .050625   .21929926       1,600
       1991 |        .054   .22609308       1,500
       1992 |   .05785714   .23355654       1,400
       1993 |   .07461538   .26287085       1,300
       1994 |   .08083333   .27269264       1,200
       1995 |    .1569378   .36391628       1,045
       1996 |        .209   .40679784       1,000
       1997 |   .22666667   .41890795         900
       1998 |      .24875   .43255904         800
       1999 |   .24714286   .43165895         700
       2000 |   .24166667   .42845051         600
       2001 |        .232   .42253173         500
       2002 |       .2175    .4130621         400
       2003 |   .19333333   .39557192         300
       2004 |        .145    .3529844         200
       2005 |           0           0         100
------------+------------------------------------
      Total |   .04615156   .20981496      60,453

.
. * Generate numbers behind Figure 7 (Subscription trends)
. clear

. use McCabe_Snyder_ReStat_combined

. * Look at MAX entry for each CYEAR and multiply by 100 to get points on JSTOR graph
. by jstor2 cyear, sort: summ jss2

-------------
-> jstor2 = 0, cyear = 1980

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,169           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1981

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,247           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1982

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,326           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1983

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,410           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1984

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,496           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1985

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,583           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1986

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,673           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1987

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,768           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1988

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,865           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1989

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,963           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1990

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,063           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1991

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,163           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1992

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,263           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1993

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,363           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1994

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,463           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1995

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,558           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1996

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,658           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1997

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,584           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1998

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,654           0           0          0          0

-------------
-> jstor2 = 0, cyear = 1999

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,626           0           0          0          0

-------------
-> jstor2 = 0, cyear = 2000

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,529           0           0          0          0

-------------
-> jstor2 = 0, cyear = 2001

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,607           0           0          0          0

-------------
-> jstor2 = 0, cyear = 2002

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,081           0           0          0          0

-------------
-> jstor2 = 0, cyear = 2003

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,104           0           0          0          0

-------------
-> jstor2 = 0, cyear = 2004

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      2,171           0           0          0          0

-------------
-> jstor2 = 0, cyear = 2005

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,929           0           0          0          0

-------------
-> jstor2 = 1, cyear = 1997

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |        174         .31           0        .31        .31

-------------
-> jstor2 = 1, cyear = 1998

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |        204        2.29           0       2.29       2.29

-------------
-> jstor2 = 1, cyear = 1999

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |        332        3.49           0       3.49       3.49

-------------
-> jstor2 = 1, cyear = 2000

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |        529        5.92           0       5.92       5.92

-------------
-> jstor2 = 1, cyear = 2001

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |        551        8.65           0       8.65       8.65

-------------
-> jstor2 = 1, cyear = 2002

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,177    6.678709    4.811312        .46      11.39

-------------
-> jstor2 = 1, cyear = 2003

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,254    9.385024    5.152827       1.99      14.14

-------------
-> jstor2 = 1, cyear = 2004

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,287    11.71618    5.517557       3.56      16.55

-------------
-> jstor2 = 1, cyear = 2005

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        jss2 |      1,629    12.89117    6.084656       3.02      18.98


. * Look at MAX entry for each CYEAR and multiply by 100 to get points on Elsevier graph
. by elsevier2 cyear, sort: summ es2

-------------
-> elsevier2 = 0, cyear = 1980

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,169           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1981

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,247           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1982

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,326           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1983

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,410           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1984

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,496           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1985

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,583           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1986

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,673           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1987

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,768           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1988

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,865           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1989

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      1,963           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1990

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,063           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1991

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,163           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1992

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,263           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1993

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,363           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1994

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,463           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1995

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,558           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1996

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,658           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1997

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,753           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1998

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,848           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 1999

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,859           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 2000

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,923           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 2001

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,979           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 2002

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      3,050           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 2003

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,669           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 2004

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,740           0           0          0          0

-------------
-> elsevier2 = 0, cyear = 2005

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |      2,811           0           0          0          0

-------------
-> elsevier2 = 1, cyear = 1997

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |          5           0           0          0          0

-------------
-> elsevier2 = 1, cyear = 1998

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |         10           0           0          0          0

-------------
-> elsevier2 = 1, cyear = 1999

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |         99           0           0          0          0

-------------
-> elsevier2 = 1, cyear = 2000

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |        135           0           0          0          0

-------------
-> elsevier2 = 1, cyear = 2001

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |        179           0           0          0          0

-------------
-> elsevier2 = 1, cyear = 2002

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |        208    .0265385    .1183769          0        .56

-------------
-> elsevier2 = 1, cyear = 2003

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |        689    .9417562    .7292735          0       2.15

-------------
-> elsevier2 = 1, cyear = 2004

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |        718    1.424485    1.160484          0       3.24

-------------
-> elsevier2 = 1, cyear = 2005

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         es2 |        747    1.772169    1.553431          0       5.07


.
.
. * Compute Table 1 Row 5 ("Long-tail" statistic, fraction articles cited)
. clear

. use McCabe_Snyder_ReStat_combined

.
. gen fraction_null = count_null/obs_count
(6,613 missing values generated)

. replace fraction_null = 1 if fraction_80 == .
(6,613 real changes made)

. gen fraction_pos = 1 - fraction_null

. summ fraction_pos

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
fraction_pos |     60,453    .2071262    .2060926          0          1

.
.
end of do-file

.
. exit, clear