I have household survey on data including variables
'HouseholdID' containing an ID number unique to each household, with about 1-10 individuals per household.
Some of these individuals are also migrants indicated by a dummy 'IndividualIsMigrant =1 if migrant =0 if not'
What i want to do is to create a new dummy variable 'HHdContainsMigrant' if any of the household members are migrants.
I hope this is clear
Thanks for the Help
Related Posts with Generating a dummy variable if a household has a migrant or not.
grstest output into excelHello everybody, Do you know how I can extract the results from a GRS-test into a table? My curren…
Importing Json-formatted data from a .txt file into stataDear Statausers, I am facing the following: I have received a .txt file containing data in json for…
RegressionHello guys, I wanted know how to at least explain the coefficients. Help! HTML Code: regress log_…
Margins after SEMHi, I am using SEM to estimate an autoregressive model: Code: sem (r9cesdnmv2 <- relwmo2v2c) …
Obtaining predicted values after regressionDear all Thanks for helping me in advance. I guess my problem is not that difficult to solve. Yet I …
Subscribe to:
Post Comments (Atom)
0 Response to Generating a dummy variable if a household has a migrant or not.
Post a Comment