Hi, I want to create a new variable based on a year variable already within the dataset. The years in my dataset are 2008, 2009,2016, and 2017. I want to combine the years 2008 and 2009 so it forms wave 1. Then combine 2016 and 2017 so it forms wave 2. I'm not sure how to do this? Thanks
Related Posts with New Variable
Problem with the option xline with the user-written command coefplotDear all, I am currently working with Stata 16.1 on an event study analysis. I am having troubles w…
Frequency table for logistic regressionI'm running a multi-level miseducating effect logistic regression. I know that STATA will remove any…
Fixed effect ordered logitHi Stata users, I have an ordered dependent variable and I am trying to implement fixed effect orde…
ODBC, *Stata 16 and Big SurHello, After updating to MacOS BigSur 11.1.3, i am now facing the following problem with Stata 16 a…
Merging/Appending excel datasetHi everyone! So I need to import a new variable 'x' from an excel dataset (ED) within a Stata datase…
Subscribe to:
Post Comments (Atom)
0 Response to New Variable
Post a Comment