24小时热门版块排行榜    

CyRhmU.jpeg
查看: 2995  |  回复: 2

wangjiehao

新虫 (初入文坛)

[交流] 【求助】求高手帮我用MATLAB编程求P值已有2人参与

The number of tests m was set at
m= 64, 512 and 4096, with the fraction of the true null hypotheses (m0/m)
at 0%, 25%, 50%, 75% and 100%. The p-values were generated in the following
way. With Z1, . . . ,Zm+1 distributed independently and identically as
N(0, 1), we first let Yi = sqrt(ρ)*Zm+1 + sqrt(1 −ρ)Zi + μi, i = 1, . . . ,m, and then
defined the corresponding p-values as pi = 1−(Yi) , i = 1, . . . ,m, where 
is the cdf of N(0, 1). The values of μi were either 0 or an equal proportion of
1, 2, 3 and 4; the values of ρ were 0, 0.2, 0.5 and 0.8. The simulation results
are based on 5000 replications.,
上面是我从文章里粘贴过来的的,我想问各位高手,上面这个问题如何用MATLAB编程求p值;
是单边假设检验,清晰版在附件中,困惑我好久了,谢谢了!!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhuwei04

木虫 (正式写手)

★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
余泽成(金币+2): 谢谢参与应助!欢迎常来程序语言版! 2011-02-20 15:47:41
你只粘了一段话,没太看明白:
1. the cdf of N(0,1)是什么意思?
2. equal proportion of 1, 2, 3 and 4 是什么意思?
3. The simulation results are based on 5000 replications 5000次重复是指什么?
2楼2011-01-24 14:04:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wangjiehao

新虫 (初入文坛)

就是检验统计量,服从正态N(0.,1)分布,这个和假设检验有关,1,2,3,4指检验的备择假设的均值变化从1到4,程序运行5000次
3楼2011-01-25 10:00:50
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 wangjiehao 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见