Hello,
I have daily stock returns for the market and for companies. I want to run this model (reg retcompany retmarket) for each company (for company i have the variable permno) and saved the coefficient for each company. I tried this: statsby _b, by(permno): reg retw vwretd. But it appears the error message: no; data in memory would be lost.
Then i have to use the coefficients to calculate the predicted return for each company.
Thank you
Related Posts with regressions
Simple merge questionI used a collapse command to count the number of occurrences linked to particular survey responses: …
GSEM with multiple moderatorsWould you please help me on the following question? I want to look at the effect of x on y. I suspec…
HLM Models and Cluster Variable SelectionI am involved in a research project examining HIV risk behaviors, pooling data from recent surveys i…
Event study approach assumptionsHi there, I know this is not really related to Stata, but I was wondering if someone could still he…
Counting Outliers using standard deviationsHi, I have a variable Y, is there any stata function that can help me to count and identify the outl…
Subscribe to:
Post Comments (Atom)
0 Response to regressions
Post a Comment