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
Question about Rank AcrossGood morning, I have 3 variables that I need to rank. There are some cells in those variables that …
Dominance analysis (domin) after xthybridDear all, I'm using the user-written command xthybrid (see Schunck & Perales, 2017, full refere…
clustered standard errors in double selection lasso causes error (dslogit, vce(cluster clustervar))Dear Statalist-users, I´m using Stata 16.1. In my analysis I want to cluster standard errors at the…
Parallel ado path errorDear all, I would like to use the ado parallel on a virtual machine (remote data access machine due …
how to use table command to analyze multiple choice question?hi masters, I just meet a problem which is somewhat frustrated. The survey question always contain…
Subscribe to:
Post Comments (Atom)
0 Response to dummy variables
Post a Comment