Dear all,
I have one question, if i want to generate a new variable starting from an existing one but the new variable should be year -1 or year +1 from old variable.
What is the command in stata for this operation?
Related Posts with Generating a new variable year-1/year+1
Reshaping dataHi, I have the following wide data. I want to convert it to long. Code: * Example generated by -da…
Changing yes/no observations into 1/0I have a list of variables that contain answers Yes and No, I am trying to replace them with 1 and 0…
ARDL Error Correction Model InterpretationI am trying to estimate the relationship between real currency per capita (dependent variable) and d…
Query about Zero Inflated Poisson RegressionI conducted a study on demand of cinema where cinema goers and non-goers both are respondent. and 51…
How to create a variable for the nth observation using datesHello! I have a long dataset with dates corresponding to visits (variable name "date"). Each person…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable year-1/year+1
Post a Comment