This program creates a variable summarizing the respondent's citizenship status as of the survey date. Status is coded as citizen, born in the U.S.; citizen, naturalized; applicant for naturalization; permanent resident; applicant for residence; or other.
Note that a similar Round 1 variable, CV_CITIZENSHIP, was created using data from the Parent Questionnaire. Users who need more information on the creation of this variable should contact NLS User Services.
/*Variable Names in the Program Variable Names on the Gator*/
do i=1 to (&n); if citizen0(i)>-4 then citizen=citizen0(i); end;
if (usborn=1 | citist=1) then citizen=1; else if citist=2 then citizen=2; else if citist=3 and cciti=1 then do; if nocitist1 =1 then citizen=3; else if nocitist2=1 then citizen=4; else if nocitist3=1 then citizen=5; else if (nocitist4=1 | nocitist5=1 | nocitist6=1 | nocitist7=1) then citizen=6; end;
do i=1 to (&k) ; if nocitist(i) in (-1,-2) then citizen=-3; end; if -4<citist<0 then citizen=-3; if usborn=-5 then citizen=-5;
/* In the prior interview they reported being born outside of the US and being a lawful resident of the US. Then in round 13, they switch their answer to being born in the US (YHHI-55701). */
problem2=0; do i=1 to (&n); if citizen=1 & (citizen0(i)>1) then problem2=1; if problem2=1 then citizen=-3; end;
/* All YHHI-557001 are 0. R's need to pick one of them */ if count0=7 then citizen=-3; endsas;