z**********i 发帖数: 12276 | 1 有2组数据,我想比较这2组数据的slope。
因为,这2组数据不是independent。打算,分别build model,计算它们的slope。
然后,再比较。应该用什么办法比较呢?
或者有其他的解决办法呢?
多谢! |
z**********i 发帖数: 12276 | 2 换个说法,如果,2组数据是dependent,如何比较他们的slope?
谢谢!
【在 z**********i 的大作中提到】 : 有2组数据,我想比较这2组数据的slope。 : 因为,这2组数据不是independent。打算,分别build model,计算它们的slope。 : 然后,再比较。应该用什么办法比较呢? : 或者有其他的解决办法呢? : 多谢!
|
d**s 发帖数: 1255 | 3 dude, you need to clarify your question
what's the data structure, and what's kind of outcome
slope of what, where is coming from, etc |
h***i 发帖数: 3844 | 4 先说说你这里slope怎么算的吧
【在 z**********i 的大作中提到】 : 换个说法,如果,2组数据是dependent,如何比较他们的slope? : 谢谢!
|
z**********i 发帖数: 12276 | 5 数据是health care data.
一个measure(比如说检测血压),从2004 quarter 1 到2011 quarter 4.
另一个measure(比如说给了Aspirin), 是从2009 quarter 1到2011 quarter 4.
outcome是rate,每个quarter,有多少病人入院,有多少接受了measure(治疗)。
slope是rate随时间的变化。还有一些其他的covarience,建了个model,然后得到slope.
这2个measure都是检测同一个病人的群体,比如说是心脏病的病人,到医院是否接受了
这个meaure.
因为,这2个measure,开始的时间不同,想比较,是否在前3年,2个slope有差异?
比方说,measure1, 用model,得到slope1. measure2, 用model,得到slope2.
2个model,用共同的candidate variables.
问题,想比较不同的measure,在不同的时间。2组数据算是独立的吗?
是否可以用一个model来比较它们的rate变化?
如果,不行,应该如何比较?
多谢大家的回复!
【在 d**s 的大作中提到】 : dude, you need to clarify your question : what's the data structure, and what's kind of outcome : slope of what, where is coming from, etc
|
s******0 发帖数: 1269 | 6 怎么觉得象用mixed model with repeat measure? |
z**********i 发帖数: 12276 | 7 对于一个measure来说,用了proc genmod, repeated, 因为,outcome 是rate.
但,这2个measure是相同的医院,或许有相同的病人,虽然是不同的时间点。
如果,把它们放到一个model里,好像违背了assumption: independence?
不知道,有什么比较的办法,不要求这个?
多谢回复!
【在 s******0 的大作中提到】 : 怎么觉得象用mixed model with repeat measure?
|
d**s 发帖数: 1255 | 8 I fine with two separate models
seems a linear/non-linear mixed effect model is more reasonable
what's the baseline data point?
if you put two measures in the same model, then how to deal with the issue
that they have different start points
【在 z**********i 的大作中提到】 : 对于一个measure来说,用了proc genmod, repeated, 因为,outcome 是rate. : 但,这2个measure是相同的医院,或许有相同的病人,虽然是不同的时间点。 : 如果,把它们放到一个model里,好像违背了assumption: independence? : 不知道,有什么比较的办法,不要求这个? : 多谢回复!
|
z**********i 发帖数: 12276 | 9 嗯。算是generalized linear model.
proc genmod, distribution=binomial link=logit; repearted subject=hospital.
没有baseline data point.
目的是比较rate的变化。比如measure1, 从2004 quarter 1 到2006 quarter4. 3年的
时间,rate得变化是多少? 同样3年时间的数据,measure2 从2009 quarter 1到2011
quarter 4,rate的变化是多少?
比如同样3年的时间,rate从第一个quarter到最后的quarter,一个是0.12,另一个是0
.18。是不是可以比较第2个measure比第一个rate 变化得快?
如果把它们放到一个model,我主要的担心是它们不是independent的2个group。因为,
数据是national的,它们的人群是相同的医院,2个measure都是心脏病的病人。
多谢你的回复!
【在 d**s 的大作中提到】 : I fine with two separate models : seems a linear/non-linear mixed effect model is more reasonable : what's the baseline data point? : if you put two measures in the same model, then how to deal with the issue : that they have different start points
|