Dear Statalists,
I have to perform a regression in two steps:
Firstly, regression equation is estimated in cross-section for each industry-year combination using OLS. 𝑖 and 𝑡 index firms and years respectively.
In a second step, starting from the results of the industry-year regressions above, a company- and year-specific AQ measure is computed as the absolute value of the residuals.
The code that I'm using for the first step is: regress ΔWC_w OCF1_w OCF2_w OCF3_w Δsales_w PPE_w if year==20xx & ind_id == x But I get that that is 20xx not valid.
Can you please advise me with a solution?
Note that ind_id is the industry.
Kind regards
Diana Kalifekh
[ATTACH=CONFIG]n1443033[/ATTACH]
I have to perform a regression in two steps:
Firstly, regression equation is estimated in cross-section for each industry-year combination using OLS. 𝑖 and 𝑡 index firms and years respectively.
In a second step, starting from the results of the industry-year regressions above, a company- and year-specific AQ measure is computed as the absolute value of the residuals.
The code that I'm using for the first step is: regress ΔWC_w OCF1_w OCF2_w OCF3_w Δsales_w PPE_w if year==20xx & ind_id == x But I get that that is 20xx not valid.
Can you please advise me with a solution?
Note that ind_id is the industry.
Kind regards
Diana Kalifekh
[ATTACH=CONFIG]n1443033[/ATTACH]
Comment