sungmoo 发表于 2012-2-23 08:03 
*稍微调整一下(结果不变。补充:若mat值只出现一次,则原数据无匹配可能;若mat值重复两次以上,则原数据有 ...
你好,请问为什么运行你的程序,会出现以下问题:
. expandcl s if !fenlei,cl(year stkcd) gen(g)
no room to add more observations
An attempt was made to increase the number of observations beyond what is currently possible. You have the following alternatives:
1. Store your variables more efficiently; see help compress. (Think of Stata's data area as the area of a rectangle; Stata can trade off
width and length.)
2. Drop some variables or observations; see help drop.
3. Increase the amount of memory allocated to the data area using the set memory command; see help memory.
该怎么解决?