*This program reads the 2004 National Health Interview Survey 2004 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:51:25 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_samchild.sps". *and choose to RUN ALL file handle nhis2004_samchild /name="c:\homes\data\nhis\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\NHIS\2004\samchild.dat" . data list file=nhis2004_samchild / rectype 1-2 srvy_yr 3-6 hhx 7-12 (a) fmx 13-14 (a) fpx 15-16 (a) wtia_sc 17-22 wtfa_sc 23-28 csrespno 29-30 (a) csreltiv 31-32 bwgtlb 33-34 bwgtoz 35-36 bwgtmgr 37-40 amr1 41 aodd1 42 add2 43 amr2 44 aodd2 45 condl1 46 condl2 47 condl3 48 condl4 49 condl5 50 condl6 51 condl7 52 condl8 53 condl9 54 condl10 55 cpox 56 cpox12mo 57 cashmev 58 casstill 59 cashyr 60 casmeryr 61 hayf1 62 rallg1 63 dallg1 64 sallg1 65 diarh1 66 anemia1 67 earinf1 68 seize1 69 hayf2 70 rallg2 71 dallg2 72 sallg2 73 diarh2 74 anemia2 75 fhead 76 earinf2 77 seize2 78 stutter 79 chstatyr 80 schdayr1 81-83 ccold2w 84 cintil2w 85 chearst 86 cvision 87 cblind 88 ihspeq 89 ihmob 90 ihmobyr 91 probrx 92 learnd 93 cmhagm15 94 mhiboy2 95-96 cmhagf15 97 mhigrl2 98-99 cusualpl 100 cplkind 101 chcplrou 102 chcplknd 103 chcchgyr 104 chcchghi 105 chcdlyr1 106 chcdlyr2 107 chcdlyr3 108 chcdlyr4 109 chcdlyr5 110 chcafyr 111 chcafyr1 112 chcafyr2 113 chcafyr3 114 chcafyr4 115 cdnlongr 116 chcsyr11 117 chcsyr12 118 chcsyr13 119 chcsyr14 120 chcsyr1 121 chcsyr2 122 chcsyr3 123 chcsyr4 124 chcsyr5 125 chcsyr6 126 chcsyr7 127 chcsyr81 128 chcsyr82 129 chcsyr10 130 chcsyrem 131 chpxyr_c 132 chernoy2 133-134 chchyr 135 chchmoyr 136-137 chchnoy2 138-139 chcnoyr2 140-141 csrgyr 142 rsrgnoyr 143-144 cmdlongr 145 rscl1_s1 146 rscl1_h1 147 rscl1_e1 148 rscl1_s2 149 rscl1_c1 150 rscl2_p1 151 rscl2_c2 152 rscl2_e2 153 rscl2_s3 154 rscl2_h2 155 rscl3_p2 156 rscl3_c3 157 rscl3_e3 158 rscl3_p3 159 rscl3_h3 160 rscl4_e4 161 rscl4_s4 162 rscl4_c4 163 rscl4_p4 164 rscl4_s5 165 rscl5_h4 166 rscl5_c5 167 rscl5_p5 168 rscl5_e5 169 rscl5_h5 170 rscl6 171 cscl7 172 rscl8 173 rscl9_hl 174 rscl9_fr 175 rscl9_cl 176 rscl9_la 177 rscl10 178 . * See the codebook for more detailed variable descriptions. variable labels . list. execute. save outfile = 'c:\nhis2004_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.