Dear Madam/Sir,
I want to estimate two-way fixed effect model for firm and CEO identifier and estimate the following regression and get the error message as follows:
reg ln_audit gafscore mascore big4 cspec ln_nonaudit icw restatement gc auchange merger financing yearend abaccrual ln_at mb lev
> erage roa loss fsalepro sq_segs ar_in special_item ln_tenure y2000-y2015 i.gvkey i.execid
maxvar too small
You have attempted to use an interaction with too many levels or attempted to fit a model with too many variables. You need
to increase maxvar; it is currently 2048. Use set maxvar; see help maxvar.
If you are using factor variables and included an interaction that has lots of missing cells, try set emptycells drop to
reduce the required matrix size; see help set emptycells.
If you are using factor variables, you might have accidentally treated a continuous variable as a categorical, resulting in
lots of categories. Use the c. operator on such variables.
r(907);
Any idea to fix this issue will be highly appreciated.
Sincerely,
HJ
Related Posts with Two-way fixed effects
multiplying each value from a long format variable by corresponding value from wide format variablesHello, I have a question that is a bit complicated for me to solve. First of all, here's the exampl…
Laptop Configuration for Big DataDear Stata List I am working with a large trade dataset (17 g). The dataset has three dimensions : …
Decile groups based on MPCEHello, I'm trying to re-create a table given in one of the technical reports on housing. The data se…
Issues implementing a multivariate tobit model of 7 equationsHas anyone ever implemented successfully a mvtobit? I read though all the questions about mvtobit, b…
Poststratification video tutorialIn the following YouTube video tutorial Chuck Huber (StataCorp) mentions at 4:25 that the poststrati…
Subscribe to:
Post Comments (Atom)
0 Response to Two-way fixed effects
Post a Comment