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