由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - 问个P-VALUE的问题
相关主题
帮我看看这个logistic regression output包子谢问个sas format的问题
sas proc report的问题问个PROC SQL中INNER JOIN的问题
R question, calculate mean over some rows问个 sas 也许很简单的问题
[合集] question about MLE问个censored的survival data概念
data grouping, sub-grouping by column variable in RCan I claim significance based on one-sided p-value?
用2-sided test做superiority test请各位帮忙看看这道作业题谢谢
一个统计问题求助,z score and probability (转载)求问一个合适的test
[合集] probability question help问个简单的求average percentage的问题
相关话题的讨论汇总
话题: test话题: value话题: var1话题: sided话题: ha
进入Statistics版参与讨论
1 (共1页)
W**********E
发帖数: 242
1
Likelihood ratio test example:
H0: var1=0 likelihood ratio chi-square test statistics is 6.6976 with df=1.
So 1-pchisq(6.697,1)= 0.0093.
However, this example gets a p-value of 0.0047 by dividing 0.0093 with 2.
I am not sure why we need to divide a 2 here. Variance is always positive
and Ha: var1>0 justifies a one tailed test only, right?
Any help will be appreciated.
s*r
发帖数: 2757
2
devide 2 to convert the 2 sided test to 1 sided test
but the LR test on the border of the region can be tricky
the tests may be wrong
W**********E
发帖数: 242
3
I am not sure I follow this " convert 2 sided test to 1sided test" here.
Pr(Y>test_statistics) is one sided p-value only, right?
if we want a two-sided p-value, we should have a 2*Pr(Y>test_statistics)
under a symmetric distribution.
So I am very confused with the example. Either they report 0.0093 as p-value
for one sided test Ha: var1>0. or 2*0.0093=0.018 as a two sided p-value for
Ha: var1 ne 0. Why divide 0.0093 by 2 here? Plus I do not think it is necessary to do a two tailed test for varia

【在 s*r 的大作中提到】
: devide 2 to convert the 2 sided test to 1 sided test
: but the LR test on the border of the region can be tricky
: the tests may be wrong

x*********i
发帖数: 55
4
Maybe you're testing the significance of one random effect in a linear mixed
model, the distribution of the lrt under the null hypothesis var1=0 is a 50
p-value by 0.5( approximate value). See reference: Self and Liang (1987).
f*******r
发帖数: 257
5
I agree with you on that, no need to divide by 2.

value
for
necessary to do a two tailed test for variance=0

【在 W**********E 的大作中提到】
: I am not sure I follow this " convert 2 sided test to 1sided test" here.
: Pr(Y>test_statistics) is one sided p-value only, right?
: if we want a two-sided p-value, we should have a 2*Pr(Y>test_statistics)
: under a symmetric distribution.
: So I am very confused with the example. Either they report 0.0093 as p-value
: for one sided test Ha: var1>0. or 2*0.0093=0.018 as a two sided p-value for
: Ha: var1 ne 0. Why divide 0.0093 by 2 here? Plus I do not think it is necessary to do a two tailed test for varia

W**********E
发帖数: 242
6
You are right with testing random effects in a linear mixed model.
Actually it is an example on Page60 from SAS system for mixed model-1st
edition. I read the self and liang's paper and emailed author of the book. He gave the same answer.
Thanks for the help. It is a good thing to know

mixed
50
corresponding

【在 x*********i 的大作中提到】
: Maybe you're testing the significance of one random effect in a linear mixed
: model, the distribution of the lrt under the null hypothesis var1=0 is a 50
: p-value by 0.5( approximate value). See reference: Self and Liang (1987).

1 (共1页)
进入Statistics版参与讨论
相关主题
问个简单的求average percentage的问题data grouping, sub-grouping by column variable in R
问个Chi-square test 的应用, 工业界真实例子用2-sided test做superiority test
问个sas 问题一个统计问题求助,z score and probability (转载)
问个sas问题[合集] probability question help
帮我看看这个logistic regression output包子谢问个sas format的问题
sas proc report的问题问个PROC SQL中INNER JOIN的问题
R question, calculate mean over some rows问个 sas 也许很简单的问题
[合集] question about MLE问个censored的survival data概念
相关话题的讨论汇总
话题: test话题: value话题: var1话题: sided话题: ha