Hi all, I am trying construct a variable that captures the proportion of interviews conducted in English. To provide context, I have three language of interview variables from NHANES (languagesp, languagemec, languagefam). Each is coded dichotomously as 0=Spanish/ 1= English. If one of the interviews is conducted in English I would want the proportion of interviews conducted in English to reflect (0+0+1)/3=.33.
I am unsure how to generate a variable that accomplishes this. Any suggestions would be appreciated.
I am unsure how to generate a variable that accomplishes this. Any suggestions would be appreciated.
Comment