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