*This program reads the 2005 National Health Interview Survey 2005 personsx Data File *Note: This program is distributed under the GNU GPL. See end of *this file and http://www.gnu.org/licenses/ for details. *by Jean Roth Mon Jul 2 15:45:33 EDT 2007 *Please report errors to jroth@nber.org *Change output file name/location as desired. *Change the input file location as needed. *If you have trouble running this program, *then try opening a new syntax file & type this command: *INCLUDE "c:\nhis2005_personsx.sps". *and choose to RUN ALL file handle nhis2005_personsx /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\2005\personsx.dat" . data list file=nhis2005_personsx / rectype 1-2 srvy_yr 3-6 hhx 7-12 (a) intv_qrt 13 assignwk 14-15 fmx 16-17 (a) fpx 18-19 (a) wtia 20-25 wtfa 26-31 region 32 stratum 33-35 psu 36 sex 37 origin_i 38 origimpt 39 hispan_i 40-41 hispimpt 42 racerpi2 43-44 raceimp2 45 mracrpi2 46-47 mracbpi2 48-49 racreci2 50 hiscodi2 51 erimpflg 52 nowaf 53 rrp 54-55 hhreflg 56-56 (a) frrp 57-58 dob_m 59-60 (a) dob_y_p 61-64 (a) age_p 65-66 age_chg 67 fmrpflg 68-68 (a) fmreflg 69-69 (a) r_maritl 70 cohab1 71 cohab2 72 cdcmstat 73 sib_deg 74 fmother 75-76 mom_deg 77 ffather 78-79 dad_deg 80 parents 81 mom_ed 82-83 dad_ed 84-85 astatflg 86 cstatflg 87 plaplylm 88 plaplyun 89 pspedeis 90 pspedem 91 plaadl 92 labath 93 ladress 94 laeat 95 labed 96 latoilt 97 lahome 98 plaiadl 99 plawknow 100 plawklim 101 plawalk 102 plaremem 103 plimany 104 la1ar 105 lahcc1 106 lahcc2 107 lahcc3 108 lahcc4 109 lahcc5 110 lahcc6 111 lahcc7 112 lahcc8 113 lahcc9 114 lahcc10 115 lahcc11 116 lahcc12 117 lahcc13 118 lahcc90 119 lahcc91 120 lctime1 121-122 lcunit1 123 lcdura1 124-125 lcdurb1 126 lcchrc1 127 lctime2 128-129 lcunit2 130 lcdura2 131-132 lcdurb2 133 lcchrc2 134 lctime3 135-136 lcunit3 137 lcdura3 138-139 lcdurb3 140 lcchrc3 141 lctime4 142-143 lcunit4 144 lcdura4 145-146 lcdurb4 147 lcchrc4 148 lctime5 149-150 lcunit5 151 lcdura5 152-153 lcdurb5 154 lcchrc5 155 lctime6 156-157 lcunit6 158 lcdura6 159-160 lcdurb6 161 lcchrc6 162 lctime7 163-164 lcunit7 165 lcdura7 166-167 lcdurb7 168 lcchrc7 169 lctime8 170-171 lcunit8 172 lcdura8 173-174 lcdurb8 175 lcchrc8 176 lctime9 177-178 lcunit9 179 lcdura9 180-181 lcdurb9 182 lcchrc9 183 lctime10 184-185 lcunit10 186 lcdura10 187-188 lcdurb10 189 lcchrc10 190 lctime11 191-192 lcunit11 193 lcdura11 194-195 lcdurb11 196 lcchrc11 197 lctime12 198-199 lcunit12 200 lcdura12 201-202 lcdurb12 203 lcchrc12 204 lctime13 205-206 lcunit13 207 lcdura13 208-209 lcdurb13 210 lcchrc13 211 lctime90 212-213 lcunit90 214 lcdura90 215-216 lcdurb90 217 lcchrc90 218 lctime91 219-220 lcunit91 221 lcdura91 222-223 lcdurb91 224 lcchrc91 225 lahca1 226 lahca2 227 lahca3 228 lahca4 229 lahca5 230 lahca6 231 lahca7 232 lahca8 233 lahca9 234 lahca10 235 lahca11 236 lahca12 237 lahca13 238 lahca14 239 lahca15 240 lahca16 241 lahca17 242 lahca18 243 lahca19_ 244 lahca20_ 245 lahca21_ 246 lahca22_ 247 lahca23_ 248 lahca24_ 249 lahca25_ 250 lahca26_ 251 lahca27_ 252 lahca28_ 253 lahca29_ 254 lahca30_ 255 lahca31_ 256 lahca32_ 257 lahca33_ 258 lahca34_ 259 lahca90 260 lahca91 261 latime1 262-263 launit1 264 ladura1 265-266 ladurb1 267 lachrc1 268 latime2 269-270 launit2 271 ladura2 272-273 ladurb2 274 lachrc2 275 latime3 276-277 launit3 278 ladura3 279-280 ladurb3 281 lachrc3 282 latime4 283-284 launit4 285 ladura4 286-287 ladurb4 288 lachrc4 289 latime5 290-291 launit5 292 ladura5 293-294 ladurb5 295 lachrc5 296 latime6 297-298 launit6 299 ladura6 300-301 ladurb6 302 lachrc6 303 latime7 304-305 launit7 306 ladura7 307-308 ladurb7 309 lachrc7 310 latime8 311-312 launit8 313 ladura8 314-315 ladurb8 316 lachrc8 317 latime9 318-319 launit9 320 ladura9 321-322 ladurb9 323 lachrc9 324 latime10 325-326 launit10 327 ladura10 328-329 ladurb10 330 lachrc10 331 latime11 332-333 launit11 334 ladura11 335-336 ladurb11 337 lachrc11 338 latime12 339-340 launit12 341 ladura12 342-343 ladurb12 344 lachrc12 345 latime13 346-347 launit13 348 ladura13 349-350 ladurb13 351 lachrc13 352 latime14 353-354 launit14 355 ladura14 356-357 ladurb14 358 lachrc14 359 latime15 360-361 launit15 362 ladura15 363-364 ladurb15 365 lachrc15 366 latime16 367-368 launit16 369 ladura16 370-371 ladurb16 372 lachrc16 373 latime17 374-375 launit17 376 ladura17 377-378 ladurb17 379 lachrc17 380 latime18 381-382 launit18 383 ladura18 384-385 ladurb18 386 lachrc18 387 latime19 388-389 launit19 390 ladura19 391-392 ladurb19 393 lachrc19 394 latime20 395-396 launit20 397 ladura20 398-399 ladurb20 400 lachrc20 401 latime21 402-403 launit21 404 ladura21 405-406 ladurb21 407 lachrc21 408 latime22 409-410 launit22 411 ladura22 412-413 ladurb22 414 lachrc22 415 latime23 416-417 launit23 418 ladura23 419-420 ladurb23 421 lachrc23 422 latime24 423-424 launit24 425 ladura24 426-427 ladurb24 428 lachrc24 429 latime25 430-431 launit25 432 ladura25 433-434 ladurb25 435 lachrc25 436 latime26 437-438 launit26 439 ladura26 440-441 ladurb26 442 lachrc26 443 latime27 444-445 launit27 446 ladura27 447-448 ladurb27 449 lachrc27 450 latime28 451-452 launit28 453 ladura28 454-455 ladurb28 456 lachrc28 457 latime29 458-459 launit29 460 ladura29 461-462 ladurb29 463 lachrc29 464 latime30 465-466 launit30 467 ladura30 468-469 ladurb30 470 lachrc30 471 latime31 472-473 launit31 474 ladura31 475-476 ladurb31 477 lachrc31 478 latime32 479-480 launit32 481 ladura32 482-483 ladurb32 484 lachrc32 485 latime33 486-487 launit33 488 ladura33 489-490 ladurb33 491 lachrc33 492 latime34 493-494 launit34 495 ladura34 496-497 ladurb34 498 lachrc34 499 latime90 500-501 launit90 502 ladura90 503-504 ladurb90 505 lachrc90 506 latime91 507-508 launit91 509 ladura91 510-511 ladurb91 512 lachrc91 513 lcondrt 514 lachronr 515 phstat 516 pdmed12m 517 pnmed12m 518 phospyr 519 hospno 520-522 hpnite 523-525 phchm2w 526 phchmn2w 527-528 phcph2wr 529 phcphn2w 530-531 phcdv2w 532 phcdvn2w 533-534 p10dvyr 535 notcov 536 medicare 537 mcpart 538 mcchoice 539 mchmo 540 mcnamen 541-542 mcref 543 mcpaypre 544 mcrxcard 545 medicaid 546 machmd 547 mapcmd 548 maref 549 single 550 sstypea 551 sstypeb 552 sstypec 553 sstyped 554 sstypee 555 sstypef 556 sstypeg 557 sstypeh 558 sstypei 559 sstypej 560 sstypek 561 sstypel 562 private 563 hitype1 564-565 whonam1 566 plnwrkn1 567-568 plnpay11 569 plnpay21 570 plnpay31 571 plnpay41 572 plnpay51 573 plnpay61 574 plnpay71 575 hicostr1 576-580 plnmgd1 581 mgchmd1 582 mgprmd1 583 mgpymd1 584 mgpref1 585 prrxcov1 586 hitype2 587-588 whonam2 589 plnwrkn2 590-591 plnpay12 592 plnpay22 593 plnpay32 594 plnpay42 595 plnpay52 596 plnpay62 597 plnpay72 598 hicostr2 599-603 plnmgd2 604 mgchmd2 605 mgprmd2 606 mgpymd2 607 mgpref2 608 prrxcov2 609 prplplus 610 schip 611 stdoc1 612 stpcmd1 613 stref1 614 otherpub 615 stdoc2 616 stpcmd2 617 stref2 618 othergov 619 stdoc3 620 stpcmd3 621 stref3 622 military 623 milspc1 624 milspc2 625 milspc3 626 milspc4 627 milman 628 ihs 629 hilast 630 histop1 631 histop2 632 histop3 633 histop4 634 histop5 635 histop6 636 histop7 637 histop8 638 histop9 639 histop10 640 histop11 641 histop12 642 histop13 643 histop14 644 histop15 645 hinotyr 646 hinotmyr 647-648 hcspfyr 649 hikinda 650 hikindb 651 hikindc 652 hikindd 653 hikinde 654 hikindf 655 hikindg 656 hikindh 657 hikindi 658 hikindj 659 hikindk 660 mcareprb 661 mcaidprb 662 sincov 663 plborn 664 regionbr 665-666 geobrth 667 yrsinus 668 citizenp 669 headst 670 headstv1 671 educ1 672-673 pmiltry 674 doinglwp 675 whynowkp 676-677 wrkhrs2 678-679 wrkftall 680 wrklyr1 681 wrkmyr 682-683 ernyr_p 684-685 hiempof 686 psal 687 pseinc 688 pssrr 689 pssrrdb 690 pssrrd 691 ppens 692 popens 693 pssi 694 pssid 695 ptanf 696 powben 697 pintrstr 698 pdivd 699 pchldsp 700 pincot 701 pssapl 702 psdapl 703 tanfmyr 704-705 pfstp 706 fstpmyr 707-708 eligpwic 709 pwic 710 wic_flag 711 . * See the codebook for more detailed variable descriptions. variable labels . list. execute. save outfile = 'c:\nhis2005_personsx.sav'. *Copyright 2007 shared by the National Bureau of Economic Research and Jean Roth * *National Bureau of Economic Research. *1050 Massachusetts Avenue *Cambridge, MA 02138 *jroth@nber.org * *This program and all programs referenced in it are free software. You *can redistribute the program or modify it under the terms of the GNU *General Public License as published by the Free Software Foundation; *either version 2 of the License, or (at your option) any later version. * *This program is distributed in the hope that it will be useful, *but WITHOUT ANY WARRANTY; without even the implied warranty of *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *GNU General Public License for more details. * *You should have received a copy of the GNU General Public License *along with this program; if not, write to the Free Software *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *USA.