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
Boxplot of ProbabilitiesI've created a score that predicts mortality. Does anyone know what lines of code to use to create …
Beginer LPM annalysis Help! (What tests to run on a LPM)Hello STATA Enthusiasts, I am working on a project for university statistics class and have been bu…
What is the interaction term in firm's industry case?In Dasgupta, 2019, p.2012, 2013, they want to examine the impact of staggered leniency laws on firms…
Missing values in Panel DataHello everyone, I am working with panel data describing company code as id variable and financial y…
initial level of depvarHi statalist, I'm looking at panel data across countries and industries, so for example with 10 indu…
Subscribe to:
Post Comments (Atom)
0 Response to dummy variables
Post a Comment