Code:
xtset TargetID Date2
Whenever I try to run any regression with xtreg, it comes up with insufficient observations regardless of the number of explanatory variables. If I run the same variables under a normal linear regression using the standard reg command, it produces an output. I was wondering what my error is with regards to not being able to use xtreg to run my regression over time.
Code:
gen excess = cprem3day - RF xtreg excess MKTRf SMB HML predict phat gen CAR = cprem3day - (RF+phat)
Array
Many thanks in advance! I have consulted many forums and have not come across an answer that works so I hope that you can help.
0 Response to Xtreg results in insufficient observations
Post a Comment