I have a data set with the following variables:
- cusip: company identifier
- analystcode: analyst identifier
- forecast: forecasted earnings per share
- eps: actual company earnings per share
- date: date on which the forecast was made
- time: time at which the forecast was made
- epsdate: date of the actual earning announcement made by the company
And I want to compute a variable coverage defined as the number of analysts covering a given earnings announcement. (Hint: in Stata check the command egen...nvals with the option by.)
Related Posts with Command egen...nvals with the option by
Piecewise regressionDear stalist I am running a piecewise regression. I want to use a dataset that contains two differe…
Is there any stata command to apply 'Multiple Discrete Continuous Extreme Value (MDCEV)' model ?Dear all, I had been looking for stata command which let me run 'MDCEV' model but I failed. Could …
xtlogit command generating outcome does not vary in any group r(2000); despite the fact that dependent var has values 0 & 1Hello guys, I'm new to Stata, and I wanted to do a panel logit regression on var selfemployed. The …
Making the subheading bold or italic and indent spacing in METAN forestplotHi, Good morning. I wanted to create a forestplot in METAN. Not actually running a meta-analysis rat…
Marginal effects in GLMHi all, I am having difficulties in obtaining marginal effects of a GLM estimation that I am runnin…
Subscribe to:
Post Comments (Atom)
0 Response to Command egen...nvals with the option by
Post a Comment