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
Instrumental variables with many missing values in the endogenous regressorHi, I have a data set with 10k observations for Y and an endogenous regressor X with many missing o…
Logistic Regression with ClusteringHello users, I am new to the forum, but hoped you would be able to settle a small dispute we are ha…
SEM for longitudinal Data!Hi to all, I am new to stata and have to build an SEM for my research, but i am struggling to figure…
Dummy variable interpretation Code: Source | SS df MS Number of obs = 1,315 -------------+…
Help with regression of (unbalanced) panel data - xtreg, statsby/regressby generating difference resultsHi Statalist! First of all, thank you for all the help you give on a daily basis! It's been very he…
Subscribe to:
Post Comments (Atom)
0 Response to New Variable
Post a Comment