Hello!
I really need your help!
I have a dataset with 122,401 firm-year observations. I run fixed effects models and I want to use firm fixed effects. However, since the large number of firms STATA does not run the regression,
xi:xtreg la1 ma size1 cr1 prof1 i.gvkey, fe vce(cluster gvkey)
and shows the following message:
"no room to add more variables
Up to 5,000 variables are currently allowed, although you could reset the maximum using set maxvar; see help memory.
r(900);"
I tried to change maxvar, by typing " set maxvar 32767", because I am using STATA/MP which by default has maxvar of 5,000, but then another message appears:
". set maxvar 32767
no; data in memory would be lost
r(4);"
Could you please help me?
Thank you very much in advance!
Kind Regards,
Stavroula
I really need your help!
I have a dataset with 122,401 firm-year observations. I run fixed effects models and I want to use firm fixed effects. However, since the large number of firms STATA does not run the regression,
xi:xtreg la1 ma size1 cr1 prof1 i.gvkey, fe vce(cluster gvkey)
and shows the following message:
"no room to add more variables
Up to 5,000 variables are currently allowed, although you could reset the maximum using set maxvar; see help memory.
r(900);"
I tried to change maxvar, by typing " set maxvar 32767", because I am using STATA/MP which by default has maxvar of 5,000, but then another message appears:
". set maxvar 32767
no; data in memory would be lost
r(4);"
Could you please help me?
Thank you very much in advance!
Kind Regards,
Stavroula
Comment