Hello Statalist users,
I am currently writting my master thesis within finance. I am now setting up the data to be used for Fixed Effect and Fama McBeth regressions. Before using this more "complex" methods I am working with simpel OLS regression to see how my data works.
The issue is: I have a dependent variable called: rnf and five independent variables called raw11, raw22, raw33, etc.
When I regress rnf on raw11 the regression works, but when I am trying to regress rnf on raw11 raw22 I get the error: no observations r(2000).
Type of variable
rnf = double
rawXX = float
raw11 is found by multiplying raw*R1 etc. R1 is a dummy variable. The same is present for all the other varibles only the number of R2 is changed. After these two are multiplied I set all the observations which has a zero to .(missing value) as they should be not included.
Hopefully one of you can help
Best,
René
I am currently writting my master thesis within finance. I am now setting up the data to be used for Fixed Effect and Fama McBeth regressions. Before using this more "complex" methods I am working with simpel OLS regression to see how my data works.
The issue is: I have a dependent variable called: rnf and five independent variables called raw11, raw22, raw33, etc.
When I regress rnf on raw11 the regression works, but when I am trying to regress rnf on raw11 raw22 I get the error: no observations r(2000).
Type of variable
rnf = double
rawXX = float
raw11 is found by multiplying raw*R1 etc. R1 is a dummy variable. The same is present for all the other varibles only the number of R2 is changed. After these two are multiplied I set all the observations which has a zero to .(missing value) as they should be not included.
Hopefully one of you can help
Best,
René
Comment