I have a set of companies with the date they were founded and the date they were acquired by other company. I'd like to duplicate this observation as much times as the difference between the date the company was created and 2018, identifying each observation with a dummy variable that will be 1 in the year the company was acquired.
Thanks in advance for any suggestion!
Related Posts with Create multiple observations from a current one considering a specific variable
Allocating cases to the class with the highest probabilty - Latent Class AnalysisHi Statalists, I am running a LCA with the gsem-command. My code is as follows: Code: gsem ( var…
Using -atjoint- in -margins- targeting only one at() condition when multiple at() are specifiedI am working on a logit model containing one interaction between a continuous and a dummy variable. …
Simultaneous equation model with dynamic panelDear all: I am trying to estimate a four-equation simultaneous model, my dataset is a panel. Usuall…
meta regress - STATA16Dear all, I have a very general question about the meta regress command in Stata 16. I could not fin…
spell-type data/survival time analysesDear stata list, I am running survival time analyses and my goal is to create a survival time varia…
Subscribe to:
Post Comments (Atom)
0 Response to Create multiple observations from a current one considering a specific variable
Post a Comment