Hi,
I am trying to make average of the median EPS that have been forecasted 90 days before the earnings announcement date.
These are the variables that I have:
storage display value
variable name type format label variable label
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
statpers long %d I/B/E/S Statistical Period (SAS Format)
median_eps double %12.0g Median Estimate
fpedats long %d Forecast Period End Date (SAS Format)
actual double %12.0g Actual Value, from the Detail Actuals File
announce_date long %d Announce date of the Actual, from the Detail Actuals File
cusip str8 %8s CUSIP/SEDOL
Per company I would like to make a variable predicted_EPS and actual_EPS. The actual EPS that I have right now is the same for each announcement date of each company. I think what I essentially want is to have one announcement date every year for each company and that I have the average of the median_eps that fall within the interval of 90 days prior to the earnings announcement date. Does anyone know how to achieve such a thing?
Kind regards,
Sarah
Related Posts with Group averages and assign them to a specific date
How to determine if variables are statistically different (using t-test)?Hi all, I have one more question regarding my regression analysis in the housing market. I have ge…
Pre-treatment effect interpretationHello, I have a quick question regarding the pre-treatment effect and I would appreciate to get an …
Region and year fixed effects model for pooled cross sectional dataDear all, I have a dataset of pooled cross sectional data for individuals across a number of differ…
Creating panel datasetHello I am trying to create a panel dataset using Waves 1 to 5 from the South African National Inco…
Cross-sectional t test & standard deviation (event study caar)Dear all, I've got a question regarding the cross-sectional t-test when determining the significanc…
Subscribe to:
Post Comments (Atom)
0 Response to Group averages and assign them to a specific date
Post a Comment