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
Blue-gray thin frame when combining graphsHi Everyone, I want to combine two graphs using 'gr combine' command. Each individual graph looks a…
Academic due diligence and robustness testing for a Fixed Effects modelHello Statalist! I have a large N, small T panel dataset on which I have run some fixed effects reg…
Import label value from .csv fileHi, i've a file with all my labels values, and i would like to put them into my database. My .csv i…
How to use the variance of a variableThis may be a noob question. I have been given individual-level data on 10000 person. I have variab…
Query about using aweight while running probit in STATADear all, I am a PhD student at the University of Canterbury, NZ. I wanted to use aweight while run…
Subscribe to:
Post Comments (Atom)
0 Response to dummy variables
Post a Comment