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
Paired t-test for unmatched subjects impossible to compute?I know that this is Stata Forum (not SPSS)! But I came across a very interesting discussion that may…
Question about time series data with multiple factorsI am trying to format my data to allow me to designate it as time series and use the lag and lead op…
ols vs logistic regressionGood evening ladies and gents May I ask for your expertise in choosing the above. I want to test th…
Setting .do file templateHello all, I was wondering if there is a way to set a template for all new .do files. I am mostly lo…
How to label discrete variables on histogramI'm doing a histogram of continuous variable (quallife), discrete by two categories in a binary vari…
Subscribe to:
Post Comments (Atom)
0 Response to regressions
Post a Comment