Hi,
I'm working with bonds of many companies between 2010 and 2020 quarterly. Every bond is unique, and has an own ID named new ID. But every company has another ID, named ID. I want to create a panel data with just one observation or bond for every company that can complete the full period of 10 years For that, i have a variable named residual term (plazo residual in spanish). For example, in the first quarter on 2010, Q12020, a bond with a residual term of 10 or more is perfect and i want to keep it, but not all companies has that, so i have to complete them with bonds with less than 10 years, and when they finish, complete it with another. I don't have any clue how to do any of this on Stata, it will be very helpful for me any kind of help.
Related Posts with Problem with multiple id on a panel data
Diff-in-diff graphI am currently running a diff-in-diff analysis on stop and frisk policies in new york city using New…
How to create groups of observations based on shared characteristics and create variables around that.So I'm doing some work with election data. The data I have is formatted like this: Code: * Example…
Testing the CAPM using the Fama-MacBeth (1973) ApproachDear all, This is a purely statistical question, and has nothing to do with the programming languag…
Export multiple xtabond2 resultsHello Statalist users, I need help with exporting multiple xtbond2 estimations along with their pos…
What is intreg? What is the theory behind it?The UCLA IDRE website has an article on -intreg- to estimate models with interval dependent variable…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with multiple id on a panel data
Post a Comment