楼主: guxianghui
1811 3

[其他] 如何比较两个Ratio是否有显著差别 [推广有奖]

  • 0关注
  • 0粉丝

VIP

本科生

89%

还不是VIP/贵宾

-

威望
0
论坛币
23986 个
通用积分
19.3500
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
632 点
帖子
39
精华
0
在线时间
183 小时
注册时间
2007-12-13
最后登录
2025-7-22

楼主
guxianghui 发表于 2012-4-20 12:16:54 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
有个问题向大家请教,恳请各位老师、同学、高人指点,非常感谢:

背景:有甲、乙两个地方,甲地男、女人数分别为112、223,乙地男、女人数分别为150、280, 试问甲乙两地性别构成是否有显著差异?
我知道这个可以用卡方检验来解决 (112/223 versus 150/280),或者直接比较两地男生百分率的差别112/(112+223)versus 150/(150+280)。可以用SAS里面的Frequency Procedure来分析。

问题:有甲、乙两个地方,人口数分别为335、430,医院病床数分别为881、936,试问两地每百人占有病床数有无显著差异?881/335 versus 936/430

请问这个可以用什么方法来解决呢?可以用Stata里面的什么Procedure呢,下面这个建议是否正确呢?

Hi all,

This might be a simple question but I did not manage to find the
answer to it. I have two variables, say X and Y, so I calculated the
ratio:

svy: ratio x/y
svy: ratio x/y if gender ==1
svy: ratio x/y if gender ==2

Now, what I want to do is to test whether this ratio is the same for,
say, males and females. I would be grateful if someone could shed some
light on how to do this..

Thanks a lot!


Marcos, try avoid using if when using svy commands for subpopulations. Instead you should use the over command: e.g

svy:ratio x/y,over(gender)

Having done that it appears as though you can use the lincom command to test the difference between the two ratios.

An excellent example using lincom after svy:mean can be found in the STATA manual for survey data: section "svy postestimation".

Hope this helps
Shaun

万分感谢!
二维码

扫码加我 拉你入群

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

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

关键词:ratio ATI TIO Populations Estimation

沙发
szy56801 在职认证  发表于 2012-4-20 12:38:31
正态分布 t检验   否则非参数检验  比如卡方检验 秩和检验等等 spss19.0比较方便

藤椅
guxianghui 发表于 2012-4-20 13:09:56
正态分布 t检验   否则非参数检验  比如卡方检验 秩和检验

这几种我都考虑过,都不满足这个数据特征啊

板凳
sungmoo 发表于 2012-4-20 15:00:01
prtest x=y

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-22 03:28