找回密码
 注册
查看: 2636|回复: 0

R语言 ssize包 power.t.test.FDR()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 15:06:23 | 显示全部楼层 |阅读模式
power.t.test.FDR(ssize)
power.t.test.FDR()所属R语言包:ssize

                                        Power calculations for one and two sample t tests using FDR correction
                                         功率计算,一和两样本t检验,使用FDR修正的

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Compute power of test, or determine parameters to obtain target power.
计算测试电源,或确定参数,以获得目标电源。


用法----------Usage----------


power.t.test.FDR(sd=1, n=NULL, delta=NULL,
                 FDR.level=0.05,
                 pi0,
                 power=NULL,
                 type=c("two.sample", "one.sample", "paired"),
                 alternative=c("two.sided", "one.sided") )



参数----------Arguments----------

参数:sd
Standard deviation
标准偏差


参数:n
Number of observations (per group)
的若干意见(每组)


参数:delta
True difference in means
真正的差别在手段


参数:FDR.level
False Discovery Rate (expected ratio of false discoveries among all discoveries)
错误发现率(各发现虚假发现比预计)


参数:pi0
Proportion of true null hypothesies (fraction of tests that with no difference)
的比例真空hypothesies的(测试的分数没有区别)


参数:power
Power of test (1 minus Type II error probability)
电源测试(1减去第二类错误的概率)


参数:type
Type of t test
t检验的类型


参数:alternative
One- or two-sided test
一个或双面测试


Details

详情----------Details----------

Exactly one of the parameters n, delta, power, sd, and FDR.level must be passed as NULL, and that parameter is determined from the others. Notice that the last two have non-NULL defaults so NULL must be explicitly passed if you want to compute them.
恰好一个参数n,delta,power,sd,FDR.level必须通过为NULL,该参数是从别人决定。请注意,近两年有非NULL的默认值NULL,必须明确地传递,如果你想计算他们。


值----------Value----------

Object of class "power.htest", a list of the arguments (including the computed one) augmented with method and note elements.
Object类的"power.htest",列表中的参数(包括计算一)扩充了method和note元素。


注意----------Note----------

uniroot is used to solve power equation for unknowns, so you may see errors from it, notably about inability to bracket the root when invalid arguments are given.
uniroot是用来解决功率为未知数的方程,所以你可能会看到,特别是有关无力支架根从它的错误,无效的参数时。


作者(S)----------Author(s)----------


Peng Liu, based on <code>power.t.test</code> code by Peter Dalgaard,
which in turn is based on previous work by Claus
Ekstr鴐



参见----------See Also----------

t.test, uniroot
t.test,uniroot


举例----------Examples----------



## Compute power given sd, n, delta, FDR &amp; pi.0[#计算赋予的权力SD,N,Delta,FDRpi.0的]
power.t.test.FDR(sd=1, n=5, delta=2, FDR.level=0.05, pi0=0.95,
                  power=NULL, type="two.sample", alternative="two.sided")

## Compute power[#计算能力]
power.t.test.FDR(n=20, delta=1, FDR=0.05, pi0=0.75)
power.t.test.FDR(n=29, delta=1, FDR=0.05, pi0=0.75)

## compute n[#计算n]
power.t.test.FDR(n=NULL, sd=1, power=.90, delta=1, FDR=0.05, pi0=0.975)
power.t.test.FDR(n=NULL, sd=1, power=.90, delta=1, FDR=0.05, pi0=0.975,
                  alt="one.sided")

## compute sd[#计算SD]
power.t.test.FDR(sd=NULL, n=29, power=.90, delta=1, FDR=0.05, pi0=0.975)

## compute FDR level[#计算FDR水平。]
power.t.test.FDR(sd=1, n=29, power=.90, delta=1, FDR=NULL, pi0=0.975)



转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-2 22:40 , Processed in 0.026179 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表