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
Difference-in-difference with three time periodsDear all, I am trying to estimate the difference of impact of the Athenes Olympic and the Paralympi…
Panels are not nested within clustersDear Statalister, I basically encounter a problem similar to this: https://www.statalist.org/forums…
Error calculating marginal effects with a tobit modelI am looking at the effect of permitting standards, rebates, average income, and electricity price o…
Help on -mswitch- command to estimate Markov Switching Regression ModelsHello, I use Stata 14. I have a panel dataset. I want to estimate for each id/country in the panel d…
how do the melogit and logit handle missing data? why do the results show different # of observations, despite same vars?I am trying to understand why two models with the same variables report different number of observat…
Subscribe to:
Post Comments (Atom)
0 Response to Create multiple observations from a current one considering a specific variable
Post a Comment