hello everyone, I have some trouble creating two dummy variables. I have a dataset with the variables text and job.
Text is either empty or contains different sentences. The dummy variable i.text should be 1 for the sentences and otherwise 0.
Job is either teacher or craftsman. The dummy varibale i.job should be 1 for teacher and otherwise 0.
Thanks in advance
Thomas
Related Posts with dummy variables
Comparing two waves with RE-LogitI am currently using Panel data from the SOEP to analyze and compare political interest in 2013 and …
one year survival - data managementgood day all I have a list of children with 2 variables "date of birth" and "date of death". Both a…
Doubt on Heckprob model resultsHello everybody, I'm running a Heckman selection model based on a heckprob. I have some categorical…
xtreg, fe robust: xtoverid error(2b) operator invalid when correcting Hausman test (V_b-V_B is not positive definite) due to year dummiesDear Statalisters, I am analyzing a panel dataset with year dummies over a period of 2000-2018 and …
Medeff command: invalid mediate (error r(198))Dear Statalists, Could you please tell me the reason why when I type the following command: medeff…
Subscribe to:
Post Comments (Atom)
0 Response to dummy variables
Post a Comment