由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 谁能说说如何区分fixed effect, random effects
相关主题
GEE and Random effect model[Help] SAS Proc mixed
mixed linear model 里面fixed effect 和 random effect【请教】Stata中random effects的standard error
R lme random effect output, waiting online for responsemain effect not significant, interaction significant
弱问到底什么是fixed/random effect model?kabam 面经
外行请教:这个问题有没有答案?问一个anova里关于model identifiability的问题
请教R问题:GEE里面的contrasts怎么写?及GLMMmixed model 问题,请各位帮忙。
Mixed Effect Model and GEESAS-GLM random effects questions
Random and repeated in mixed modelTesting Random Effects in GLMM?
相关话题的讨论汇总
话题: random话题: factor话题: effect话题: effects话题: fixed
进入Statistics版参与讨论
1 (共1页)
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
大家能举些例子(理论联系实际)么?
感觉面试人更喜欢通过实例来说明问题
相关主题
请教R问题:GEE里面的contrasts怎么写?及GLMM[Help] SAS Proc mixed
Mixed Effect Model and GEE【请教】Stata中random effects的standard error
Random and repeated in mixed modelmain effect not significant, interaction significant
进入Statistics版参与讨论
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

1 (共1页)
进入Statistics版参与讨论
相关主题
Testing Random Effects in GLMM?外行请教:这个问题有没有答案?
a quesiton about random effect请教R问题:GEE里面的contrasts怎么写?及GLMM
Use random effect model on panel data?Mixed Effect Model and GEE
请问谁能给解释一下 fix effect 和 random effect 的区别?Random and repeated in mixed model
GEE and Random effect model[Help] SAS Proc mixed
mixed linear model 里面fixed effect 和 random effect【请教】Stata中random effects的standard error
R lme random effect output, waiting online for responsemain effect not significant, interaction significant
弱问到底什么是fixed/random effect model?kabam 面经
相关话题的讨论汇总
话题: random话题: factor话题: effect话题: effects话题: fixed