作者clever1510 (clever)
看板Statistics
标题[问题] likelihood test 的问题
时间Fri Mar 11 00:41:04 2011
我想问一个有关於 LLR test 的问题
用 likelihood ratio test 检测不同的演化模型
我在计算p值方面遇到一些问题
我运算的程式会 output 出 df 及 -2lnL
可是有些 df 有标 * 表示机率曲线不对称的, 不能直接查 chi-square
计算 p-value.说明的原文如下(我怕我曲解意思因此贴上来)
When the null model is true and has a parameter fixed at the boundary of the
parameter space, the expected distribution is a mixture. In the case of a
single fixed parameter,-2lnL should be asymptotically distributed as
a random variable that takes the value 0 with probability 0.5 and takes
on a value from a chi-square distribution with probability 0.5.
以下举几个例子 m1 m2 为两个参数, 表两族群基因交流量(A跑到B,B跑到两个)。
Alternative
df
m1, m2 --
null model
m1=0, m2 1*
m1=m2 1
也就是测 m1= m2 的时候我才可以直接查 chi-square 算p
那有打*表示我按照 df 查表出来的p 值直接除以2就可以用吗?
这点不是很确定, 还有我不是很懂这部分的概念, 有人可以简单为我解释
或者建议我打甚麽关键字找资料去理解呢?(我会有点混淆 感觉 m1=0 很像是
null model 少一个参数 m1, 可是说明好像是说m1=定值0)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.228.75.188
1F:→ bmka:你是在检验standard deviation等於0吧 03/11 09:52
2F:→ bmka:gooogle "One- and Two-Sided Testing, Mixture Distribution 03/11 10:02
3F:→ yhliu:我不了解你的模型, 但由那段文字看起来, p 值正如你说的, 03/11 11:14
4F:→ yhliu:是以卡方算出来的一半 (因为只有 1/2 的卡方, 而另 1/2 机率 03/11 11:15
5F:→ yhliu:集中在 0, 对 p-value 没有贡献, 除非 observed value 是0.) 03/11 11:16