Dear Statalisters,
I have appended standardized datasets for different countries with the same variables name across datasets. Yet, some countries do not have observations for specific variables. I'd like to identify, for each variable `var' stored in a macro, which country show all of their data missing. I intend to do this by generating a variable m_`var' that is equal to 1 when the variable country has all of its data missing in `var'. I have no code to show you as I am new to Stata and all of my attempts remained unsuccessful.
Could anyone help me ?
Regards,
Julia
I have appended standardized datasets for different countries with the same variables name across datasets. Yet, some countries do not have observations for specific variables. I'd like to identify, for each variable `var' stored in a macro, which country show all of their data missing. I intend to do this by generating a variable m_`var' that is equal to 1 when the variable country has all of its data missing in `var'. I have no code to show you as I am new to Stata and all of my attempts remained unsuccessful.
Could anyone help me ?
Regards,
Julia
Comment