楼主: ccapboss
3615 3

求助:survey cluster [推广有奖]

  • 0关注
  • 2粉丝

讲师

3%

还不是VIP/贵宾

-

威望
0
论坛币
2701 个
通用积分
26.7793
学术水平
1 点
热心指数
2 点
信用等级
0 点
经验
4188 点
帖子
283
精华
0
在线时间
187 小时
注册时间
2007-3-6
最后登录
2014-1-16

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

我的 数据是省内随机抽取10个县,每个县随机抽取60户(比如有全县的户名单),在利用调查数据进行回归分析后,想用survey 及cluster来进一步分析检查回归系数的标准差是否有很大变化(或显著性有无变化),具体命令如何写?非常感谢!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Cluster Survey CLU SUR 回归系数 Survey Cluster

沙发
dxystata 发表于 2007-7-26 23:21:00 |只看作者 |坛友微信交流群

svyset strata region
svyset pweight gswgt1
svyset psu psuscid

The svyset command is used to specify the design information for analysis. Use the strata
keyword to specify the stratification variable (region), the pweight keyword to specify the
weight variable (gswgt1), and the psu keyword to specify the primary sampling unit
(psuscid).

svyreg pvt_per1 age_kid male biomapa

使用道具

藤椅
ccapboss 发表于 2007-7-27 12:01:00 |只看作者 |坛友微信交流群

谢谢你的回复!

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编辑过]

使用道具

板凳
ccapboss 发表于 2007-7-31 14:07:00 |只看作者 |坛友微信交流群
请再帮忙解释一下!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 13:44