Dear all,
I'm trying to determine the degree of conservatisme
In order to do that I want to use the basu measure of conservatism with the formula NI=b0+b1NEG+ b2RET+ b3RET*NEG.
I have over 68.000 observations,each observation has a unique company code and fiscal year.
I would like to run the regression for each observation and capture the b3 als a sort of ranking of conservatism.
Does anybody know how I can do that?
The command regress NI NEG RET RET*NEG only give me a b3 for the entire set.
But iI would like the know the b3 for each observation.
Is this posible?
Thank you for your help.
Kinds regards
Kimberley
Related Posts with How to run a regression per observation
Time series means of coefficient estimates from cross-sectional regressions.Hi all, I have 29 annual cross-sectional regressions that I want to summarise the findings in a sin…
Find min/max*length of variableDearest StataList I have had a problem when trying to find the maximum and minimum length of every …
Use a substring of a variable name to refer to likewise named variablesDear forum, I have a number of datasets, each consisting of various years. On each file I run the sa…
Difference between estimated coefficientsDear Colleagues I'm running a mediation analysis in which I run two OLS regressions. They are simil…
Mistake in loop for renaming variables of several datafilesDear Statalists, I have ten identically structured excel files which correspond to ten different yea…
Subscribe to:
Post Comments (Atom)
0 Response to How to run a regression per observation
Post a Comment