Summary statistics for nhamcsopd2007 dataset : by Jean Roth , jroth@nber.org , 28 Mar 2016 Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- vmonth | 34,473 6.587938 3.233298 1 12 vyear | 34,473 2007 0 2007 2007 vdayr | 34,473 3.940388 1.432865 1 7 age | 34,473 39.02019 23.0941 0 100 sex | 34,473 1.373945 .4838563 1 2 -------------+--------------------------------------------------------- ethun | 34,473 -.2696603 4.278601 -9 2 raceun | 34,473 .1632292 3.542266 -9 6 paypriv | 34,473 .3469672 .4760121 0 1 paymcare | 34,473 .176689 .3814108 0 1 paymcaid | 34,473 .3731326 .4836439 0 1 -------------+--------------------------------------------------------- paywkcmp | 34,473 .0098048 .0985339 0 1 payself | 34,473 .095466 .2938618 0 1 paynochg | 34,473 .0471673 .2119997 0 1 payoth | 34,473 .0409886 .1982667 0 1 paydk | 34,473 .0362313 .1868678 0 1 -------------+--------------------------------------------------------- paytype | 34,473 2.224146 2.694387 -9 7 usetobac | 34,473 -2.650683 4.603228 -9 2 injdet | 34,473 4.515853 1.290031 -9 5 injury | 34,473 .145041 .3521473 0 1 rfv1 | 34,473 29939.6 15655.43 -9 89990 -------------+--------------------------------------------------------- rfv2 | 34,473 8697.211 15082.44 -9 89990 rfv3 | 34,473 2693.033 8896.366 -9 89990 rfv13d | 34,473 2993.945 1565.536 0 8999 rfv23d | 34,473 870.3037 1507.891 0 8999 rfv33d | 34,473 270.0925 889.3875 0 8999 -------------+--------------------------------------------------------- primcare | 34,473 .9298001 2.695641 -9 2 refer | 34,473 -2.452064 4.478874 -9 2 senbefor | 34,473 1.19656 .3974022 1 2 pastvis | 34,473 3.210193 9.20346 -7 99 major | 34,473 2.437502 2.217593 -9 5 -------------+--------------------------------------------------------- diag1 | 0 diag2 | 0 diag3 | 0 diag13d | 0 diag23d | 0 -------------+--------------------------------------------------------- diag33d | 0 prdiag1 | 34,473 -.0478055 .6400337 -7 1 prdiag2 | 34,473 -3.561425 3.512254 -7 1 prdiag3 | 34,473 -5.394338 2.948715 -7 1 arthrtis | 34,473 .0922751 .2894181 0 1 -------------+--------------------------------------------------------- asthma | 34,473 .0647463 .2460813 0 1 cancer | 34,473 .0594668 .2364998 0 1 castage | 34,473 -6.791663 1.420617 -8 3 cebvd | 34,473 .0154904 .1234944 0 1 chf | 34,473 .0185362 .1348821 0 1 -------------+--------------------------------------------------------- crf | 34,473 .0136049 .1158454 0 1 copd | 34,473 .0255272 .1577222 0 1 deprn | 34,473 .1124068 .3158709 0 1 diabetes | 34,473 .1198619 .3248047 0 1 hyplipid | 34,473 .091869 .2888451 0 1 -------------+--------------------------------------------------------- htn | 34,473 .2188669 .4134842 0 1 ihd | 34,473 .0245119 .1546344 0 1 obesity | 34,473 .0720564 .258585 0 1 ostprsis | 34,473 .0165347 .1275216 0 1 nochron | 34,473 .5314014 .548428 0 2 -------------+--------------------------------------------------------- totchron | 34,473 .7128767 2.024006 -9 11 dmp | 34,473 -5.717808 3.681408 -9 3 htin | 34,473 22.41757 35.48262 -9 86 wtlb | 34,473 97.26267 97.76117 -9 500 bmi | 34,473 4.556058 18.33014 -9 85.26 -------------+--------------------------------------------------------- tempf | 34,473 440.6507 492.1733 -9 1066 bpsys | 34,473 71.4925 66.8438 -9 266 bpdias | 34,473 40.57953 41.17531 -9 148 diagscrn | 34,473 .8949613 .3436362 0 2 breast | 34,473 .056653 .2311818 0 1 -------------+--------------------------------------------------------- pelvic | 34,473 .0853712 .2794373 0 1 rectal | 34,473 .0192324 .137343 0 1 skin | 34,473 .1246773 .3303574 0 1 depress | 34,473 .014243 .1184929 0 1 anyimage | 34,473 .1859716 .3890894 0 1 -------------+--------------------------------------------------------- xray | 34,473 .0774519 .267311 0 1 bonedens | 34,473 .0040321 .0633719 0 1 catscan | 34,473 .0217562 .1458885 0 1 echocard | 34,473 .0110231 .1044123 0 1 othultra | 34,473 .0403504 .1967826 0 1 -------------+--------------------------------------------------------- mammo | 34,473 .021118 .1437797 0 1 mri | 34,473 .0208569 .1429073 0 1 petscan | 34,473 .0025527 .0504607 0 1 othimage | 34,473 .0183332 .1341552 0 1 cbc | 34,473 .1282163 .3343353 0 1 -------------+--------------------------------------------------------- electrol | 34,473 .0545064 .2270176 0 1 glucose | 34,473 .0651814 .2468493 0 1 hgba | 34,473 .0366664 .1879441 0 1 cholest | 34,473 .0514025 .2208206 0 1 psa | 34,473 .0085864 .0922656 0 1 -------------+--------------------------------------------------------- otherbld | 34,473 .1426044 .349674 0 1 scopproc | 34,473 .0250631 .156319 0 1 sigcolon | 34,473 .0119224 .1085383 0 1 scopewi1 | 0 scopewi2 | 0 -------------+--------------------------------------------------------- scpwi13d | 0 scpwi23d | 0 scpwi12d | 0 scpwi22d | 0 biopsy | 34,473 .0122995 .1102205 0 1 -------------+--------------------------------------------------------- biopsywi | 0 chlamyd | 34,473 .0194355 .1380519 0 1 papconv | 34,473 .0093987 .0964914 0 1 papliq | 34,473 .017811 .1322661 0 1 papunsp | 34,473 .0096597 .0978095 0 1 -------------+--------------------------------------------------------- pregtest | 34,473 .010733 .1030444 0 1 hpvdna | 34,473 .0098628 .0988221 0 1 ekg | 34,473 .0251501 .1565832 0 1 spiro | 34,473 .0074261 .0858555 0 1 urine | 34,473 .0947988 .2929411 0 1 -------------+--------------------------------------------------------- othdiag | 34,473 .1914832 .3934741 0 1 diagsc1 | 0 diagsc2 | 0 digsc13d | 0 digsc23d | 0 -------------+--------------------------------------------------------- digsc12d | 0 digsc22d | 0 httake | 34,473 .4542395 .4979088 0 1 wttake | 34,473 .6510022 .4766602 0 1 temptake | 34,473 .4549938 .4979775 0 1 -------------+--------------------------------------------------------- blodpres | 34,473 .6053723 .4887777 0 1 totdiag | 34,473 3.523105 3.041113 -9 22 healthed | 34,473 .5304731 .5399517 0 2 asthmaed | 34,473 .0127346 .1121285 0 1 dietnutr | 34,473 .1332347 .3398331 0 1 -------------+--------------------------------------------------------- exercise | 34,473 .067125 .250242 0 1 grwthdev | 34,473 .0441215 .205368 0 1 injprev | 34,473 .0435413 .2040752 0 1 stresmgt | 34,473 .0332434 .1792741 0 1 tobaced | 34,473 .0406695 .1975263 0 1 -------------+--------------------------------------------------------- wtreduc | 34,473 .0339686 .181151 0 1 othlthed | 34,473 .3478084 .4762818 0 1 tothlted | 34,473 .565341 1.741813 -9 8 nonmed | 34,473 .3770487 .5603807 0 2 cam | 34,473 .0048734 .0696403 0 1 -------------+--------------------------------------------------------- dme | 34,473 .0169408 .1290515 0 1 homehlth | 34,473 .0065559 .0807036 0 1 hospice | 34,473 .0003191 .0178605 0 1 pt | 34,473 .0288342 .1673427 0 1 radther | 34,473 .0029588 .0543155 0 1 -------------+--------------------------------------------------------- spocther | 34,473 .0072811 .0850192 0 1 psychoth | 34,473 .0524468 .2229296 0 1 othmntl | 34,473 .0457459 .2089366 0 1 excision | 34,473 .0158675 .1249647 0 1 ortho | 34,473 .0290082 .1678319 0 1 -------------+--------------------------------------------------------- wound | 34,473 .0553767 .2287173 0 1 othproc | 34,473 .1309431 .337343 0 1 othproc1 | 0 othproc2 | 0 othproc3 | 0 -------------+--------------------------------------------------------- othproc4 | 0 othpr13d | 0 othpr23d | 0 othpr33d | 0 othpr43d | 0 -------------+--------------------------------------------------------- othpr12d | 0 othpr22d | 0 othpr32d | 0 othpr42d | 0 totnonmed | 34,473 .0250341 1.947094 -9 8 -------------+--------------------------------------------------------- med | 34,473 .7328054 .4848563 0 2 med1 | 0 med2 | 0 med3 | 0 med4 | 0 -------------+--------------------------------------------------------- med5 | 0 med6 | 0 med7 | 0 med8 | 0 ncmed1 | 34,473 -1.257622 4.150856 -9 2 -------------+--------------------------------------------------------- ncmed2 | 34,473 -3.071041 4.384873 -9 2 ncmed3 | 34,473 -4.219534 4.125253 -9 2 ncmed4 | 34,473 -4.973719 3.748312 -9 2 ncmed5 | 34,473 -5.472892 3.377626 -9 2 ncmed6 | 34,473 -5.832942 3.026728 -9 2 -------------+--------------------------------------------------------- ncmed7 | 34,473 -6.123053 2.673966 -9 2 ncmed8 | 34,473 -6.372726 2.299363 -9 2 numnew | 34,473 .5490964 1.107203 0 8 numcont | 34,473 1.606649 2.376615 0 8 nummed | 34,473 2.243814 2.474339 0 8 -------------+--------------------------------------------------------- noprovid | 34,473 .0099208 .0991094 0 1 phys | 34,473 .7805819 .4138584 0 1 physasst | 34,473 .0587996 .2352527 0 1 npnmw | 34,473 .0843559 .2779248 0 1 rnlpn | 34,473 .4970267 .4999984 0 1 -------------+--------------------------------------------------------- mhp | 34,473 .0544774 .2269606 0 1 othprov | 34,473 .240304 .4272743 0 1 nodisp | 34,473 .014243 .1184929 0 1 nofu | 34,473 .049343 .2165862 0 1 retprn | 34,473 .1918603 .3937695 0 1 -------------+--------------------------------------------------------- refothmd | 34,473 .1398776 .346865 0 1 retappt | 34,473 .7423201 .4373632 0 1 telephon | 34,473 .0202767 .1409474 0 1 refered | 34,473 .0033359 .057662 0 1 admithos | 34,473 .0067009 .0815855 0 1 -------------+--------------------------------------------------------- othdisp | 34,473 .0134598 .1152347 0 1 patwt | 34,473 2578.654 3955.166 13 24922 region | 34,473 2.280625 1.069759 1 4 msa | 34,473 1.083457 .2765752 1 2 owner | 34,473 1.328228 .5364716 1 3 -------------+--------------------------------------------------------- blank | 0 hospcode | 34,473 98.03849 55.07397 1 199 clintype | 34,473 2.801671 1.830093 1 6 patcode | 34,473 119.4316 116.9055 1 964 bdatefl | 34,473 .0179271 .1326884 0 1 -------------+--------------------------------------------------------- sexfl | 34,473 .0062948 .0790907 0 1 ethnicfl | 34,473 .1926145 .3943586 0 1 racefl | 34,473 .123633 .3291672 0 1 senbefl | 34,473 .0335625 .1801027 0 1 pastfl | 34,473 .1269109 .332878 0 1 -------------+--------------------------------------------------------- drugid1 | 0 prescr1 | 23,908 1.204869 .4653265 1 4 contsub1 | 23,908 5.740254 .9381014 1 7 comstat1 | 23,908 1.18613 .3895421 1 3 rx1cat1 | 0 -------------+--------------------------------------------------------- rx1cat2 | 0 rx1cat3 | 0 rx1cat4 | 0 rx1v1c1 | 0 rx1v1c2 | 0 -------------+--------------------------------------------------------- rx1v1c3 | 0 rx1v1c4 | 0 rx1v2c1 | 0 rx1v2c2 | 0 rx1v2c3 | 0 -------------+--------------------------------------------------------- rx1v2c4 | 0 rx1v3c1 | 0 rx1v3c2 | 0 rx1v3c3 | 0 rx1v3c4 | 0 -------------+--------------------------------------------------------- drugid2 | 0 prescr2 | 16,257 1.171311 .4401913 1 3 contsub2 | 16,257 5.746325 .8948069 2 7 comstat2 | 16,257 1.113244 .3169 1 2 rx2cat1 | 0 -------------+--------------------------------------------------------- rx2cat2 | 0 rx2cat3 | 0 rx2cat4 | 0 rx2v1c1 | 0 rx2v1c2 | 0 -------------+--------------------------------------------------------- rx2v1c3 | 0 rx2v1c4 | 0 rx2v2c1 | 0 rx2v2c2 | 0 rx2v2c3 | 0 -------------+--------------------------------------------------------- rx2v2c4 | 0 rx2v3c1 | 0 rx2v3c2 | 0 rx2v3c3 | 0 rx2v3c4 | 0 -------------+--------------------------------------------------------- drugid3 | 0 prescr3 | 11,456 1.153544 .4319129 1 3 contsub3 | 11,456 5.790154 .8197438 2 7 comstat3 | 11,456 1.096718 .2961762 1 3 rx3cat1 | 0 -------------+--------------------------------------------------------- rx3cat2 | 0 rx3cat3 | 0 rx3cat4 | 0 rx3v1c1 | 0 rx3v1c2 | 0 -------------+--------------------------------------------------------- rx3v1c3 | 0 rx3v1c4 | 0 rx3v2c1 | 0 rx3v2c2 | 0 rx3v2c3 | 0 -------------+--------------------------------------------------------- rx3v2c4 | 0 rx3v3c1 | 0 rx3v3c2 | 0 rx3v3c3 | 0 rx3v3c4 | 0 -------------+--------------------------------------------------------- drugid4 | 0 prescr4 | 8,364 1.142516 .4209794 1 4 contsub4 | 8,364 5.803922 .7800293 1 7 comstat4 | 8,364 1.083931 .277732 1 3 rx4cat1 | 0 -------------+--------------------------------------------------------- rx4cat2 | 0 rx4cat3 | 0 rx4cat4 | 0 rx4v1c1 | 0 rx4v1c2 | 0 -------------+--------------------------------------------------------- rx4v1c3 | 0 rx4v1c4 | 0 rx4v2c1 | 0 rx4v2c2 | 0 rx4v2c3 | 0 -------------+--------------------------------------------------------- rx4v2c4 | 0 rx4v3c1 | 0 rx4v3c2 | 0 rx4v3c3 | 0 rx4v3c4 | 0 -------------+--------------------------------------------------------- drugid5 | 0 prescr5 | 6,308 1.144578 .4218062 1 3 contsub5 | 6,308 5.821655 .7561766 2 7 comstat5 | 6,308 1.081484 .2735984 1 2 rx5cat1 | 0 -------------+--------------------------------------------------------- rx5cat2 | 0 rx5cat3 | 0 rx5cat4 | 0 rx5v1c1 | 0 rx5v1c2 | 0 -------------+--------------------------------------------------------- rx5v1c3 | 0 rx5v1c4 | 0 rx5v2c1 | 0 rx5v2c2 | 0 rx5v2c3 | 0 -------------+--------------------------------------------------------- rx5v2c4 | 0 rx5v3c1 | 0 rx5v3c2 | 0 rx5v3c3 | 0 rx5v3c4 | 0 -------------+--------------------------------------------------------- drugid6 | 0 prescr6 | 4,820 1.149378 .4225556 1 4 contsub6 | 4,820 5.809959 .7727892 1 7 comstat6 | 4,820 1.082573 .2797503 1 3 rx6cat1 | 0 -------------+--------------------------------------------------------- rx6cat2 | 0 rx6cat3 | 0 rx6cat4 | 0 rx6v1c1 | 0 rx6v1c2 | 0 -------------+--------------------------------------------------------- rx6v1c3 | 0 rx6v1c4 | 0 rx6v2c1 | 0 rx6v2c2 | 0 rx6v2c3 | 0 -------------+--------------------------------------------------------- rx6v2c4 | 0 rx6v3c1 | 0 rx6v3c2 | 0 rx6v3c3 | 0 rx6v3c4 | 0 -------------+--------------------------------------------------------- drugid7 | 0 prescr7 | 3,629 1.157895 .4337366 1 4 contsub7 | 3,629 5.815101 .7674706 1 7 comstat7 | 3,629 1.087627 .284734 1 3 rx7cat1 | 0 -------------+--------------------------------------------------------- rx7cat2 | 0 rx7cat3 | 0 rx7cat4 | 0 rx7v1c1 | 0 rx7v1c2 | 0 -------------+--------------------------------------------------------- rx7v1c3 | 0 rx7v1c4 | 0 rx7v2c1 | 0 rx7v2c2 | 0 rx7v2c3 | 0 -------------+--------------------------------------------------------- rx7v2c4 | 0 rx7v3c1 | 0 rx7v3c2 | 0 rx7v3c3 | 0 rx7v3c4 | 0 -------------+--------------------------------------------------------- drugid8 | 0 prescr8 | 2,609 1.17133 .4518263 1 3 contsub8 | 2,609 5.815255 .7666738 2 7 comstat8 | 2,609 1.078957 .269724 1 2 rx8cat1 | 0 -------------+--------------------------------------------------------- rx8cat2 | 0 rx8cat3 | 0 rx8cat4 | 0 rx8v1c1 | 0 rx8v1c2 | 0 -------------+--------------------------------------------------------- rx8v1c3 | 0 rx8v1c4 | 0 rx8v2c1 | 0 rx8v2c2 | 0 rx8v2c3 | 0 -------------+--------------------------------------------------------- rx8v2c4 | 0 rx8v3c1 | 0 rx8v3c2 | 0 rx8v3c3 | 0 rx8v3c4 | 0 -------------+--------------------------------------------------------- emropd | 34,473 2.231166 1.143037 -9 3 edemogo | 34,473 1.035158 1.101295 -9 2 eprolsto | 34,473 -.5693731 3.77189 -9 2 ecpoeo | 34,473 1.296957 1.746404 -9 4 ewarno | 34,473 -4.008935 3.99793 -9 4 -------------+--------------------------------------------------------- escripo | 34,473 -3.797204 4.184705 -9 4 ectoeo | 34,473 .9915586 2.089024 -9 4 eordero | 34,473 -2.525716 4.118704 -9 2 eresulto | 34,473 1.037972 1.439377 -9 2 erangeo | 34,473 -1.439474 3.7889 -9 2 -------------+--------------------------------------------------------- eimgreso | 34,473 1.070664 1.72347 -9 2 eimageo | 34,473 -3.002031 4.242319 -9 2 epnoteso | 34,473 1.207061 1.642599 -9 2 ehxfuo | 34,473 -3.253213 4.087956 -9 2 eremindo | 34,473 .8886665 2.678046 -9 2 -------------+--------------------------------------------------------- epubhtho | 34,473 .4439706 3.297555 -9 2 enotdiso | 34,473 -5.225742 3.466869 -9 2 emrnewo | 34,473 .1806631 3.501246 -9 3 ccs | 34,473 -3.113538 4.276019 -9 2 ethim | 34,473 1.815218 .3881265 1 2 -------------+--------------------------------------------------------- raceim | 34,473 1.457546 .89252 1 6 racer | 34,473 1.383489 .5992347 1 3 raceeth | 34,473 1.825487 1.188614 1 7 agedays | 34,473 -1.17315 36.35932 -7 364 ager | 34,473 3.177327 1.41486 1 6 -------------+--------------------------------------------------------- diag1r | 34,473 161240.8 33639 -9 209980 diag2r | 34,473 79103.21 83512.06 -9 209920 diag3r | 34,473 36256.25 68044.83 -9 209920 scopwi1r | 34,473 125.1884 870.253 -9 9999 scopwi2r | 34,473 -2.17666 185.5045 -9 9999 -------------+--------------------------------------------------------- biopsywir | 34,473 70.73721 754.5392 -9 9999 diagsc1r | 34,473 1700.509 3543.765 -9 9999 diagsc2r | 34,473 296.3955 1648.977 -9 9999 othproc1r | 34,473 1028.811 2848.64 -9 9999 othproc2r | 34,473 195.6749 1347.196 -9 9999 -------------+--------------------------------------------------------- othproc3r | 34,473 33.04548 606.1644 -9 9999 othproc4r | 34,473 2.235866 319.1051 -9 9955 whocomp | 34,473 1.756621 1.987984 -9 5 settype | 34,473 2 0 2 2 year | 34,473 2007 0 2007 2007 -------------+--------------------------------------------------------- cstratm | 34,473 2.96e+07 9987822 2.01e+07 4.04e+07 cpsum | 34,473 53231.13 49937.91 5 100196 opdwt | 34,473 .0714182 1.37945 0 87 pctpovr | 34,473 2.191802 2.64964 -9 4 hincomer | 34,473 1.790735 2.618121 -9 4 -------------+--------------------------------------------------------- pbamorer | 34,473 1.821861 2.62273 -9 4 urbanrur | 34,473 2.086938 2.310944 -9 5 by Jean Roth , jroth@nber.org , 28 Mar 2016