Hello everyone,
i have 20 different Variables for the religion of the interviewed. How can i create from this different Variables a single Variable for the Religion?
I already read something about the recode function but i don't know how the recode function work with more than one Variable.
Best regards,
Fritzi
Related Posts with Recode of two Variables
time dummies always should be included in iv part in xtabond2?I am now trying to implement xtabond2 for my panel data set spanning from 1998 to 2020. The issue th…
Balance tests in a loop?Hello. I am currently trying to run balance tests in a dataset with respondents from 8 countries. T…
wide to long formatDear All, I have this data set Code: * Example generated by -dataex-. For more info, type help data…
Generating a variable that counts the appearance of a particular value in rolling bases (across rows) Dear Statalist, I am having some difficulties in creating a variable I need. I would greatly a…
why the frequency of variables would not change after winsorized?Unlike the trim, which remove the extreme data, the winsor function would replace the extreme data (…
Subscribe to:
Post Comments (Atom)
0 Response to Recode of two Variables
Post a Comment