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
Expressing margins predictions of log outcomesHi all, I wonder if there's a way to express margins results for log transformed outcomes back in t…
Issue(s) with reshaping.Hi I wondering if anyone could help me reshape this data set I'm currently working on.(Sample using …
Fixed-effect level: Is student AND evaluator fixed-effect still correct?Hey, I have the following stylized example. Code: * Example generated by -dataex-. To install: s…
Create an index for countriesI have a dataset of 105 countries and want to create an index variable but forgot the command for it…
Looping with MacrosHI I have a query about looping with macros. I have uploaded a do-file of my code to this post. Es…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable year-1/year+1
Post a Comment