- xtregfem $Y $X $CV, id(stkcd) it(year) ridge(orr) kr(0.05)
已知Y, X, CV中均无离散型变量;
但X1有4300条取0
回归后产生以下报错
- unable to allocate matrix;
- You have attempted to create a matrix with too many rows or columns or attempted to fit a model with
- too many variables.
- You are using Stata/MP which supports matrices with up to 65534 rows or columns. This is the maximum
- matrix size.
- 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(915);