谢谢你的回复!
1 我的数据是省内随机抽取10个县,每个县随机抽取60户(比如有全县的户名单),在利用调查数据进行回归,首先我用了reg,但不知是否必须用svy来reg,其作用是什么。与直接reg的区别何在?
2 比如我的变量是:countycode(10个县),villcode(60户/县),hhincome(户某项收入),其它控制变量为x1,x2,x3,x4,x5,x6,如果用svy,如何写程序?是否要用two stage来 svy reg?
在窗口操作时,在svyset时,提示为:(hhcode为户编码)
svyset hhcode, strata(villcode) vce(linearized) || villcode, strata(countycode)
Note: stage 1 is sampled with replacement, all further stages will be ignored
pweight: <none>
VCE: linearized
Strata 1: villcode
SU 1: volumecode
FPC 1: <zero>
然后 svy:reg income x1 x2 x3 x4 x5 x6
这个运行结果是否是对的?(也就是Note: stage 1 is sampled with replacement, all further stages will be ignored提示的是否说出现了问题?)
[此贴子已经被作者于2007-7-27 12:06:45编辑过]