Hi,
I am trying to find beta's for different stocks at in different time periods (when they were not included in the S&P 500 Index and when they were included). I've got three files to work with. One with the 'permno' (id) 'comnam' (company name) 'dateann' (announced inclusion) 'dateeff' (actual inclusion date). One with 'sprtrn' (s&p return) 'rf' (yield on short term government debt) 'date' (observation dates 1 year before dateann and one year after dateeff). One with 'ret' (returns) 'permno' (id) 'dateann' 'date'. Trying to merge them won't work because 5 stocks have double (id) 'permno', an old one and a new one. I am a stata beginner and have no idea what to do from now on. Does anyone know how to proceed?
Related Posts with Finding Beta's from different periods in time
Summing dollar amount for each unique id for each yearstr50 year str27 state str29 district long regno str110 donortype str109 double amount "2009-2010" "…
Issues with loop used to drop observationsHello, everyone, The data that I'm using has been delivered to us with duplicated patient IDs. Thes…
The workflow of data cleanHi! Does anyone know how to make the data cleanning process automazation? Any time I got some new or…
Calculate the difference of the value of one observation with the average value for observations in other groupsHi everyone, I have a question of how to use stata to calculate the difference of the value of one …
Wrapping up twoway plots using loopHi, Using the codes below, I could nicely plot my data and retain my plots of interest using gr comb…
Subscribe to:
Post Comments (Atom)
0 Response to Finding Beta's from different periods in time
Post a Comment