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 add title to xlineCan you help me how I can specify the vertical line while I am using "twoway connected" command to s…
multilevel/ cross classified model questionHi all, I am working on a study of grant applications and selections. I have about 8 years worth of …
Help Plotting Confidence IntervalHi all, I want to use twoway scatter to do: twoway scatter y x but I would like to add confidence …
Problem with legend in plot with combined subgraphsHello to all, I am trying to plot the means of a dichotomous variable "dredisatt", by country over 4…
When to use Tobit regression?Hallo, I have been recommended to use a Tobit regression because my independent variable is very ri…
Subscribe to:
Post Comments (Atom)
0 Response to Group averages and assign them to a specific date
Post a Comment