*This program reads the 2005 National Health Interview Survey 2005 samchild 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:36 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_samchild.sps". *and choose to RUN ALL file handle nhis2005_samchild /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\2005\samchild.dat" . data list file=nhis2005_samchild / 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_sc 20-25 wtfa_sc 26-31 region 32 stratum 33-35 psu 36 sex 37 hispan_i 38-39 racerpi2 40-41 mracrpi2 42-43 mracbpi2 44-45 age_p 46-47 csrespno 48-49 (a) csreltiv 50-51 bwgtlb 52-53 bwgtoz 54-55 bwgtmgr 56-59 amr1 60 aodd1 61 add2 62 amr2 63 aodd2 64 condl1 65 condl2 66 condl3 67 condl4 68 condl5 69 condl6 70 condl7 71 condl8 72 condl9 73 condl10 74 cpox 75 cpox12mo 76 cashmev 77 casstill 78 cashyr 79 casmeryr 80 hayf1 81 rallg1 82 dallg1 83 sallg1 84 diarh1 85 anemia1 86 earinf1 87 seize1 88 hayf2 89 rallg2 90 dallg2 91 sallg2 92 diarh2 93 anemia2 94 fhead 95 earinf2 96 seize2 97 stutter 98 chstatyr 99 schdayr1 100-102 ccold2w 103 cintil2w 104 chearst 105 cvision 106 cblind 107 ihspeq 108 ihmob 109 ihmobyr 110 probrx 111 learnd 112 cmhagm15 113 mhiboy2 114-115 cmhagf15 116 mhigrl2 117-118 cusualpl 119 cplkind 120 chcplrou 121 chcplknd 122 chcchgyr 123 chcchghi 124 chcdlyr1 125 chcdlyr2 126 chcdlyr3 127 chcdlyr4 128 chcdlyr5 129 chcafyr 130 chcafyr1 131 chcafyr2 132 chcafyr3 133 chcafyr4 134 cdnlongr 135 chcsyr11 136 chcsyr12 137 chcsyr13 138 chcsyr14 139 chcsyr1 140 chcsyr2 141 chcsyr3 142 chcsyr4 143 chcsyr5 144 chcsyr6 145 chcsyr7 146 chcsyr81 147 chcsyr82 148 chcsyr10 149 chcsyrem 150 chpxyr_c 151 chernoy2 152-153 chchyr 154 chchmoyr 155-156 chchnoy2 157-158 chcnoyr2 159-160 csrgyr 161 rsrgnoyr 162-163 cmdlongr 164 csnlamp 165 csnnum 166-168 cshfluyr 169 cshflu_m 170-171 cshflu_y 172-175 cspfluyr 176 cspflu_m 177-178 cspflu_y 179-182 rscl2_c2 183 rscl2_e2 184 rscl3_e3 185 rscl5_p5 186 rscl5_h5 187 rscl6 188 seediff 189 mrvsee 190 meddiff 191 mrvmed 192 medwhy 193 tretdiff 194 mrvtret 195 tretwhr1 196 tretwhr2 197 tretwhr3 198 tretwhr4 199 tretwhr5 200 . * See the codebook for more detailed variable descriptions. variable labels . list. execute. save outfile = 'c:\nhis2005_samchild.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.