黃河泉 发表于 2018-10-25 07:04 
请 help fvvarlist。
黄老师好,感谢回答
help fvvarlist里是这样写的:
i.group indicators for levels of group
i.group#i.sex indicators for each combination of levels of group and sex, a two-way interaction
group#sex same as i.group#i.sex
group##sex same as i.group i.sex group#sex
我也查看了 help xi:
i.varname1*i.varname2 creates dummies for categorical variables varname1 and varname2: all interactions and main effects
所以我问题中的
city##year
i.city*i.year
应该是一样的?