k****e 发帖数: 23 | 1 今天电话面试, 结果被问到这个问题, 我就按照当时课上面学的, 说random effects
是因为sampled from a distribution (其实当时学的就很糊涂); 结果对方不是太满意
,让我举例说明, 我就不知道该咋说了.
面试肯定黄了; 大家教教我吧, 这两者究竟怎么去区分? |
k*******a 发帖数: 772 | 2 应该是取决于有多少个factor level
fixed effect的话就几个level
random effect的话是从很多level里面随机smaple了一些level |
s*********e 发帖数: 1051 | 3 not true
【在 k*******a 的大作中提到】 : 应该是取决于有多少个factor level : fixed effect的话就几个level : random effect的话是从很多level里面随机smaple了一些level
|
h***i 发帖数: 3844 | 4 有时侯有的变量可以是both
【在 k****e 的大作中提到】 : 今天电话面试, 结果被问到这个问题, 我就按照当时课上面学的, 说random effects : 是因为sampled from a distribution (其实当时学的就很糊涂); 结果对方不是太满意 : ,让我举例说明, 我就不知道该咋说了. : 面试肯定黄了; 大家教教我吧, 这两者究竟怎么去区分?
|
k*******a 发帖数: 772 | 5 "SAS for mixed models"摘了几段话
An effect is called fixed if the levels in the
study represent all possible levels of the factor, or at least all levels
about which inference is to
be made.
Factor effects are random if they are used in the study to represent only a
sample (ideally, a
random sample) of a larger set of potential levels. The factor effects
corresponding to the larger
set of levels constitute a population with a probability distribution. The
last statement bears
repeating because it goes to the heart of a great deal of confusion about
the difference between
fixed and random effects: a factor is considered random if its levels
plausibly represent a larger
population with a probability distribution. In |
A*******s 发帖数: 3942 | 6 有时候用random effect是因为特殊的目的,
而不一定是因为data本身的性质。
比如说你也提到了level太多,
这时候random effect起的是shrinkage的作用,
或者说是减少model df的。
或者说需要model correlation
可以用random effect也可以用GEE-type的办法
或者说是需要用到Empirical Bayes Estimates的...
还有用来model unconstant variance的...
这个单子能列很长吧,呵呵...
a
【在 k*******a 的大作中提到】 : "SAS for mixed models"摘了几段话 : An effect is called fixed if the levels in the : study represent all possible levels of the factor, or at least all levels : about which inference is to : be made. : Factor effects are random if they are used in the study to represent only a : sample (ideally, a : random sample) of a larger set of potential levels. The factor effects : corresponding to the larger : set of levels constitute a population with a probability distribution. The
|
h******s 发帖数: 3420 | 7 我敢保证你越解释楼主越糊涂,哈哈
【在 A*******s 的大作中提到】 : 有时候用random effect是因为特殊的目的, : 而不一定是因为data本身的性质。 : 比如说你也提到了level太多, : 这时候random effect起的是shrinkage的作用, : 或者说是减少model df的。 : 或者说需要model correlation : 可以用random effect也可以用GEE-type的办法 : 或者说是需要用到Empirical Bayes Estimates的... : 还有用来model unconstant variance的... : 这个单子能列很长吧,呵呵...
|
A*******s 发帖数: 3942 | 8 是啊,我总觉得我一要解释稍微难一点的概念就无能为力了。一方面是自己的理解也不
够深刻,另一方面是确实不知道如何用直白的语言说。在业界里面,不懂model和不懂
如何诠释model的统计师其实没有分别。郁闷...
★ 发自iPhone App: ChineseWeb 7.3
【在 h******s 的大作中提到】 : 我敢保证你越解释楼主越糊涂,哈哈
|
D******n 发帖数: 2836 | 9 in order to explain it to laymen, accuracy has to be sacrificed.
【在 A*******s 的大作中提到】 : 是啊,我总觉得我一要解释稍微难一点的概念就无能为力了。一方面是自己的理解也不 : 够深刻,另一方面是确实不知道如何用直白的语言说。在业界里面,不懂model和不懂 : 如何诠释model的统计师其实没有分别。郁闷... : : ★ 发自iPhone App: ChineseWeb 7.3
|
k****e 发帖数: 23 | 10 大家能举些例子(理论联系实际)么?
感觉面试人更喜欢通过实例来说明问题 |
|
|
A*******s 发帖数: 3942 | 11 有道理
【在 D******n 的大作中提到】 : in order to explain it to laymen, accuracy has to be sacrificed.
|
D******n 发帖数: 2836 | 12 书上不很多例子嘛,什么不同教学方法,不同班级,班级是random还是fixed,就看你
对啥感兴趣。
【在 k****e 的大作中提到】 : 大家能举些例子(理论联系实际)么? : 感觉面试人更喜欢通过实例来说明问题
|
n**m 发帖数: 156 | 13 我是这么理解的,
一般fixed factor是我们对这几个factor的effect感兴趣,比如你想知道某种药的效果
,某种教学方法对学生的成绩有没有提高。
random factor我们对factor中某个个体不感兴趣,但是random factor解释variation
,帮助设计正确的model。
另外,有一些条件限制,比如factor只有几个个体,比如3个,用random factor就不太
合适。有时候个体太多了,比如20多个,就会比较倾向于设计成random factor。 |
g****8 发帖数: 2828 | 14 我觉得是这样的
fixed effect的话residual distribution的mean是变化的。
random effect的话residual distribution的variance是变化的。
mixed 的话,就是都是变化的。
对否? |
L****n 发帖数: 3545 | 15 shi fu !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
【在 A*******s 的大作中提到】 : 是啊,我总觉得我一要解释稍微难一点的概念就无能为力了。一方面是自己的理解也不 : 够深刻,另一方面是确实不知道如何用直白的语言说。在业界里面,不懂model和不懂 : 如何诠释model的统计师其实没有分别。郁闷... : : ★ 发自iPhone App: ChineseWeb 7.3
|