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
How to only keep obvs whose "industry_vertical" value matches a long list of industry verticalsI have a list of firms, firms values, and a variable "industry_verticals" which contains thousands o…
creating a scale with round numbersHey everyone, I'm creating an attitude scale concerning support of Lesbians' and Gays' rights with …
How can i add a variable collected in different time (by region) in cross-sectional model?I'm using a cross sectional data in 2015, and have a poverty rate variable collected in different ye…
Including a quadratic term in a linear regression - what to do here?Hi, I am running a linear regression in Stata 17, using the regress command. Based on theory I susp…
exclude the dataHello, How can I exclude firms for which I can't compute the lagged ratios? i mean ratios (cash flow…
Subscribe to:
Post Comments (Atom)
0 Response to Two-way fixed effects
Post a Comment