Hello,
I am running the following regression:
I run this regression to test whether being in the gain vs. loss domain and the risk of stocks has an impact on the selling decision of investors.
My problem is that when I run this code it takes very long for it to complete and show the regression output (takes over 20 minutes). My dataset consists of arond 100,000 observations including 1500 trading days, therefore i.bdate runs to 1500.
Is there any possibility to adjust the code so that it does not take ages to get the result?
Thanks in advance!
I am running the following regression:
Code:
quietly xtreg sell retp retm ybeta c.retp##c.ybeta c.retm##c.ybeta iretp iretz mini maxi sqrhp logprc dec i.dec##c.retp i.dec##c.retm i.bdate, re robust
My problem is that when I run this code it takes very long for it to complete and show the regression output (takes over 20 minutes). My dataset consists of arond 100,000 observations including 1500 trading days, therefore i.bdate runs to 1500.
Is there any possibility to adjust the code so that it does not take ages to get the result?
Thanks in advance!
Comment