Summary statistics for nhamcsopd2010 dataset : by Jean Roth , jroth@nber.org , 28 Mar 2016 Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- vmonth | 34,718 6.329685 3.374207 1 12 vdayr | 34,718 3.906187 1.426578 1 7 age | 34,718 40.38096 24.17 0 100 sex | 34,718 1.393053 .4884354 1 2 ethun | 34,718 .3686272 3.69281 -9 2 -------------+--------------------------------------------------------- raceun | 34,718 -.0624748 3.649078 -9 6 paypriv | 34,718 .3788237 .4851011 0 1 paymcare | 34,718 .2089694 .4065784 0 1 paymcaid | 34,718 .3715364 .4832223 0 1 paywkcmp | 34,718 .008209 .0902322 0 1 -------------+--------------------------------------------------------- payself | 34,718 .0875626 .2826619 0 1 paynochg | 34,718 .0306469 .1723617 0 1 payoth | 34,718 .0469209 .2114725 0 1 paydk | 34,718 .0366093 .1878032 0 1 paytyper | 34,718 2.001239 2.6373 -9 7 -------------+--------------------------------------------------------- usetobac | 34,718 -2.087044 4.440032 -9 2 injdet | 34,718 4.609425 1.074973 1 5 injury | 34,718 .1357509 .3425288 0 1 rfv1 | 34,718 31133.95 15513.3 -9 89990 rfv2 | 34,718 9250.191 15232.93 -9 89990 -------------+--------------------------------------------------------- rfv3 | 34,718 2774.677 8765.369 -9 89980 rfv13d | 34,718 3113.376 1551.337 0 8999 rfv23d | 34,718 925.5758 1522.938 0 8999 rfv33d | 34,718 278.2455 876.2782 0 8998 primcare | 34,718 1.001123 2.593744 -9 2 -------------+--------------------------------------------------------- refer | 34,718 -2.392621 4.509419 -9 2 senbefor | 34,718 1.188116 .3908101 1 2 pastvis | 34,718 3.863731 9.988348 -7 99 major | 34,718 2.414396 1.981691 -9 5 diag1 | 0 -------------+--------------------------------------------------------- diag2 | 0 diag3 | 0 diag13d | 0 diag14d | 0 diag23d | 0 -------------+--------------------------------------------------------- diag33d | 0 prdiag1 | 34,718 -.0458264 .6134349 -7 1 prdiag2 | 34,718 -3.324788 3.505799 -7 1 prdiag3 | 34,718 -5.170776 3.080866 -7 1 arthrtis | 34,718 .0963477 .2950718 0 1 -------------+--------------------------------------------------------- asthma | 34,718 .0730745 .2602625 0 1 cancer | 34,718 .0732185 .2604986 0 1 castage | 34,718 -6.834293 1.450389 -9 4 cebvd | 34,718 .0167924 .1284949 0 1 crf | 34,718 .0224955 .1482907 0 1 -------------+--------------------------------------------------------- chf | 34,718 .0233308 .1509542 0 1 copd | 34,718 .0319431 .1758511 0 1 deprn | 34,718 .1231926 .3286629 0 1 diabetes | 34,718 .1437583 .3508495 0 1 hyplipid | 34,718 .113745 .3175059 0 1 -------------+--------------------------------------------------------- htn | 34,718 .248603 .4322094 0 1 ihd | 34,718 .0239069 .1527614 0 1 obesity | 34,718 .0860649 .2804638 0 1 ostprsis | 34,718 .0193272 .1376741 0 1 nochron | 34,718 .4889683 .5378567 0 2 -------------+--------------------------------------------------------- totchron | 34,718 .9184861 1.972105 -9 11 htin | 34,718 25.95838 36.03321 -9 88 wtlb | 34,718 104.268 100.1177 -9 500 bmi | 34,718 6.684575 19.07299 -9 86.31 tempf | 34,718 426.0765 490.7276 -9 1050 -------------+--------------------------------------------------------- bpsys | 34,718 72.30728 66.38807 -9 233 bpdias | 34,718 41.22737 43.65076 -9 998 services | 34,718 .9502275 .2174776 0 1 breast | 34,718 .0501469 .2182511 0 1 foot | 34,718 .0390575 .1937347 0 1 -------------+--------------------------------------------------------- pelvic | 34,718 .0684083 .2524489 0 1 rectal | 34,718 .0185495 .1349292 0 1 retinal | 34,718 .0120975 .1093228 0 1 skin | 34,718 .1685005 .3743155 0 1 depress | 34,718 .0110893 .104722 0 1 -------------+--------------------------------------------------------- anyimage | 34,718 .1685293 .374341 0 1 xray | 34,718 .0620427 .2412366 0 1 bonedens | 34,718 .0040613 .0635997 0 1 catscan | 34,718 .0213434 .1445284 0 1 echocard | 34,718 .0143153 .118789 0 1 -------------+--------------------------------------------------------- othultra | 34,718 .0496284 .2171792 0 1 mammo | 34,718 .0193848 .1378751 0 1 mri | 34,718 .0170229 .1293583 0 1 othimage | 34,718 .0176277 .131596 0 1 cbc | 34,718 .1117 .3150015 0 1 -------------+--------------------------------------------------------- glucose | 34,718 .0697621 .2547493 0 1 hgba | 34,718 .0425716 .2018921 0 1 cholest | 34,718 .0496572 .2172389 0 1 psa | 34,718 .0099084 .099048 0 1 otherbld | 34,718 .1407051 .3477221 0 1 -------------+--------------------------------------------------------- biopsy | 34,718 .0174261 .1308547 0 1 chlamyd | 34,718 .0142001 .1183169 0 1 ekg | 34,718 .0204793 .141635 0 1 hivtest | 34,718 .0090443 .0946718 0 1 hpvdna | 34,718 .0023619 .0485425 0 1 -------------+--------------------------------------------------------- papconv | 34,718 .0085546 .0920962 0 1 papliq | 34,718 .0122415 .1099636 0 1 papunsp | 34,718 .0078346 .0881669 0 1 pregtest | 34,718 .0128752 .1127376 0 1 urine | 34,718 .0900686 .2862841 0 1 -------------+--------------------------------------------------------- sigcolon | 34,718 .0109741 .1041826 0 1 exam | 34,718 .2087102 .4063927 0 1 httake | 34,718 .4989055 .500006 0 1 wttake | 34,718 .671064 .4698334 0 1 temptake | 34,718 .4401463 .4964118 0 1 -------------+--------------------------------------------------------- blodpres | 34,718 .6135434 .4869443 0 1 cam | 34,718 .0031108 .0556883 0 1 dme | 34,718 .0135088 .1154415 0 1 homehlth | 34,718 .004839 .0693953 0 1 pt | 34,718 .0303877 .1716541 0 1 -------------+--------------------------------------------------------- radther | 34,718 .0023907 .0488369 0 1 spocther | 34,718 .0072297 .0847208 0 1 psychoth | 34,718 .0461432 .2097982 0 1 othmntl | 34,718 .0381934 .1916658 0 1 excision | 34,718 .0296964 .1697509 0 1 -------------+--------------------------------------------------------- wound | 34,718 .0858632 .280166 0 1 cast | 34,718 .0063944 .0797099 0 1 splint | 34,718 .0133936 .1149549 0 1 othserv | 34,718 .3571058 .4791533 0 1 proc1 | 0 -------------+--------------------------------------------------------- proc2 | 0 proc3 | 0 proc4 | 0 proc5 | 0 proc6 | 0 -------------+--------------------------------------------------------- proc7 | 0 proc8 | 0 proc9 | 0 proc13d | 0 proc23d | 0 -------------+--------------------------------------------------------- proc33d | 0 proc43d | 0 proc53d | 0 proc63d | 0 proc73d | 0 -------------+--------------------------------------------------------- proc83d | 0 proc93d | 0 proc12d | 0 proc22d | 0 proc32d | 0 -------------+--------------------------------------------------------- proc42d | 0 proc52d | 0 proc62d | 0 proc72d | 0 proc82d | 0 -------------+--------------------------------------------------------- proc92d | 0 totserv | 34,718 4.111902 2.793919 0 26 healthed | 34,718 .5078922 .5306879 0 2 asthmaed | 34,718 .0087275 .0930137 0 1 dietnutr | 34,718 .1263898 .3322929 0 1 -------------+--------------------------------------------------------- exercise | 34,718 .0694452 .2542134 0 1 famplan | 34,718 .021545 .1451945 0 1 grwthdev | 34,718 .0369837 .1887245 0 1 injprev | 34,718 .0410162 .1983305 0 1 stresmgt | 34,718 .0241661 .153567 0 1 -------------+--------------------------------------------------------- tobaced | 34,718 .0304453 .1718116 0 1 wtreduc | 34,718 .0277954 .1643885 0 1 othlthed | 34,718 .3509419 .4772717 0 1 tothlted | 34,718 .5948787 1.574022 -9 8 med | 34,718 .7400484 .4879791 0 2 -------------+--------------------------------------------------------- med1 | 0 med2 | 0 med3 | 0 med4 | 0 med5 | 0 -------------+--------------------------------------------------------- med6 | 0 med7 | 0 med8 | 0 ncmed1 | 34,718 -1.167003 4.098162 -9 2 ncmed2 | 34,718 -2.822542 4.393667 -9 2 -------------+--------------------------------------------------------- ncmed3 | 34,718 -3.924362 4.224241 -9 2 ncmed4 | 34,718 -4.639611 3.93605 -9 2 ncmed5 | 34,718 -5.126505 3.641646 -9 2 ncmed6 | 34,718 -5.500749 3.341356 -9 2 ncmed7 | 34,718 -5.833487 3.016237 -9 2 -------------+--------------------------------------------------------- ncmed8 | 34,718 -6.125065 2.66254 -9 2 numnew | 34,718 .5851143 1.176945 0 8 numcont | 34,718 1.811596 2.545553 0 8 nummed | 34,718 2.459041 2.656726 0 8 noprovid | 34,718 .0091019 .0949701 0 1 -------------+--------------------------------------------------------- phys | 34,718 .7843482 .4112797 0 1 physasst | 34,718 .0703093 .2556713 0 1 npnmw | 34,718 .094994 .2932108 0 1 rnlpn | 34,718 .4704476 .4991331 0 1 mhp | 34,718 .0488219 .2154987 0 1 -------------+--------------------------------------------------------- othprov | 34,718 .2183594 .4131386 0 1 nodisp | 34,718 .0235901 .1517704 0 1 refothmd | 34,718 .1277435 .3338088 0 1 retappt | 34,718 .7384642 .4394774 0 1 eradmhos | 34,718 .0112334 .1053921 0 1 -------------+--------------------------------------------------------- othdisp | 34,718 .1766231 .3813549 0 1 patwt | 34,718 2901.724 4305.682 17 20553 region | 34,718 2.277551 1.049946 1 4 msa | 34,718 1.109828 .3126794 1 2 owner | 34,718 1.347197 .5836162 1 3 -------------+--------------------------------------------------------- blank1 | 0 hospcode | 34,718 108.7059 62.10496 1 216 clintype | 34,718 2.673455 1.75485 1 6 patcode | 34,718 101.3728 75.69006 1 450 bdatefl | 34,718 .0061639 .0782696 0 1 -------------+--------------------------------------------------------- sexfl | 34,718 .0057319 .0754931 0 1 ethnicfl | 34,718 .1333314 .3399375 0 1 racerfl | 34,718 .1378536 .3447512 0 1 senbefl | 34,718 .0085546 .0920962 0 1 pastfl | 34,718 .1255545 .3313513 0 1 -------------+--------------------------------------------------------- drugid1 | 0 prescr1 | 24,105 1.788384 1.491784 1 5 contsub1 | 24,105 5.762663 .9256549 2 8 comstat1 | 24,105 1.203443 .4503343 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 | 17,187 1.867167 1.578058 1 5 contsub2 | 17,187 5.770582 .876275 1 8 comstat2 | 17,187 1.14575 .4047818 1 3 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 | 12,598 1.850135 1.579696 1 5 contsub3 | 12,598 5.784013 .840985 2 8 comstat3 | 12,598 1.119622 .3663562 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 | 9,597 1.817651 1.556725 1 5 contsub4 | 9,597 5.796082 .8130817 2 8 comstat4 | 9,597 1.109513 .3509502 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 | 7,593 1.886474 1.611918 1 5 contsub5 | 7,593 5.80482 .7978455 2 8 comstat5 | 7,593 1.099697 .3345115 1 3 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 | 6,039 1.902136 1.622505 1 5 contsub6 | 6,039 5.80361 .8029716 2 8 comstat6 | 6,039 1.106309 .3452583 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 | 4,718 1.910555 1.620717 1 5 contsub7 | 4,718 5.78635 .8367539 2 8 comstat7 | 4,718 1.100254 .3394679 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 | 3,536 1.986991 1.661393 1 5 contsub8 | 3,536 5.791572 .8337623 2 8 comstat8 | 3,536 1.110577 .359854 1 3 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 -------------+--------------------------------------------------------- ebillreco | 34,718 -9 0 -9 -9 emropd | 34,718 -9 0 -9 -9 edemogo | 34,718 -9 0 -9 -9 eprolsto | 34,718 -9 0 -9 -9 epnoteso | 34,718 -9 0 -9 -9 -------------+--------------------------------------------------------- emedso | 34,718 -9 0 -9 -9 eallergo | 34,718 -9 0 -9 -9 ecpoeo | 34,718 -9 0 -9 -9 ewarno | 34,718 -9 0 -9 -9 escripo | 34,718 -9 0 -9 -9 -------------+--------------------------------------------------------- ectoeo | 34,718 -9 0 -9 -9 eordero | 34,718 -9 0 -9 -9 eresulto | 34,718 -9 0 -9 -9 eresehro | 34,718 -9 0 -9 -9 erangeo | 34,718 -9 0 -9 -9 -------------+--------------------------------------------------------- eimgreso | 34,718 -9 0 -9 -9 eremindo | 34,718 -9 0 -9 -9 eimmrego | 34,718 -9 0 -9 -9 ehrwho1o | 0 ehrwho2o | 0 -------------+--------------------------------------------------------- ehrwho3o | 0 ehrwho4o | 0 ehrwho5o | 0 ehrwho6o | 0 ehrwho7o | 0 -------------+--------------------------------------------------------- ehrwho1or | 34,718 -9 0 -9 -9 ehrwho2or | 34,718 -9 0 -9 -9 ehrwho3or | 34,718 -9 0 -9 -9 ehrwho4or | 34,718 -9 0 -9 -9 ehrwho5or | 34,718 -9 0 -9 -9 -------------+--------------------------------------------------------- ehrwho6or | 34,718 -9 0 -9 -9 ehrwho7or | 34,718 -9 0 -9 -9 ehrinso | 34,718 -9 0 -9 -9 payhith | 34,718 -9 0 -9 -9 payyrh | 34,718 -9 0 -9 -9 -------------+--------------------------------------------------------- blank2 | 34,718 -9 0 -9 -9 ccs | 34,718 -9 0 -9 -9 ethim | 34,718 1.81946 .3846424 1 2 racer | 34,718 1.318163 .5659941 1 3 racereth | 34,718 1.689786 .9078109 1 4 -------------+--------------------------------------------------------- agedays | 34,718 -2.037905 33.4091 -7 364 ager | 34,718 3.246817 1.487144 1 6 diag1r | 34,718 160775.2 33055.35 -9 209980 diag2r | 34,718 84401.37 83301.9 -9 209970 diag3r | 34,718 41458.74 71361.73 -9 209920 -------------+--------------------------------------------------------- proc1r | 34,718 3011.516 4177.075 -9 9999 proc2r | 34,718 746.5522 2471.884 -9 9999 proc3r | 34,718 203.6434 1359.945 -9 9999 proc4r | 34,718 91.40835 947.9793 -9 9999 proc5r | 34,718 23.00524 532.0274 -9 9959 -------------+--------------------------------------------------------- proc6r | 34,718 -2.100553 242.6842 -9 9999 proc7r | 34,718 -8.095829 78.33725 -9 9639 proc8r | 34,718 -8.843885 29.08854 -9 5411 proc9r | 34,718 -8.842733 29.30322 -9 5451 whocomp | 34,718 1.755458 1.133712 1 5 -------------+--------------------------------------------------------- settype | 34,718 2 0 2 2 year | 34,718 2010 0 2010 2010 cstratm | 34,718 3.03e+07 1.00e+07 2.01e+07 4.04e+07 cpsum | 34,718 49717.74 50046.4 5 100217 opdwt | 34,718 .0813987 1.609535 0 85 -------------+--------------------------------------------------------- pctpovr | 34,718 2.164526 2.655994 -9 4 hincomer | 34,718 1.753989 2.611457 -9 4 pbamorer | 34,718 1.73616 2.628024 -9 4 urbanrur | 34,718 2.126879 2.273049 -9 5 injr1 | 34,718 .0806498 .2723005 0 1 -------------+--------------------------------------------------------- injr2 | 34,718 .0948211 .2929719 0 1 injdetr1 | 34,718 4.749525 .8711674 1 5 injdetr2 | 34,718 4.704361 .9337837 1 5 by Jean Roth , jroth@nber.org , 28 Mar 2016