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

R语言 sensR包 samediffPwr()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 01:08:18 | 显示全部楼层 |阅读模式
samediffPwr(sensR)
samediffPwr()所属R语言包:sensR

                                        Power Analysis for Same-different Experiments
                                         功率相同,不同的实验分析

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

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

Computes the power for at same-different discrimination experiment with a no-difference null hypothesis via simulation.
计算功率相同,不同的歧视,通过模拟实验,一个没有差异的零假设。


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


samediffPwr(n = 1000, tau, delta, Ns, Nd, alpha = 0.05)



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

参数:n
the number of samples to use in the simulation. More samples means higher precision, but takes longer to compute.
在模拟中使用的样品的数目。更多的样品意味着更高的精度,但需要更长的时间来计算。


参数:tau
the value of tau
tau蛋白的价值


参数:delta
the underlying sensory difference under the alternative hypothesis (non-negative)
底层的感官差异的另一种假设下(非负)


参数:Ns
the number of same-samples (a positive integer)
相同的样品的数量(正整数)


参数:Nd
the number of different-samples (a positive integer)
的数目不同的样品(一个正整数)


参数:alpha
the type I level of the test (must be between zero and one)
I型水平的测试(必须是零和一之间)


Details

详细信息----------Details----------

The power is computed using simulations. n datasets is simulated from the Same Different model with specified parameters. The power is the fraction of times the p-value is lower than alpha.
电源使用模拟计算。 n数据集是从指定的参数相同的不同的模型与模拟。功率是分数次的p-值是低于alpha。

Under some parameter combinations, there is a non-significant probability that data will fall, so that the MLE of delta is not defined and the p-value is not defined. All such undefined p-values are silently ignored.
根据一些参数的组合中,有一个非显着性概率的数据将下降,使MLE的delta还没有定义和还没有定义的p-值。所有这些不确定的p-值将被忽略。

The estimated power may change between runs and especially if the power is either very large or very small (ie. close to 0 or 1). Using more simulations will provide higher accuracy.
有可能发生变化的估计功率之间的运行,特别是如果该电源可以是非常大或非常小(即接近0或1)。使用更多的模拟将提供更高的精度。

It is often a good idea to run the power simulation a couple of times to ensure that the variation in the result is acceptable.
它往往是一个好主意,运行功率模拟了几次,以确保结果的变化是可以接受的。


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

A single numeric value giving the power of the specified test.
一个单一的数值,指定测试的力量。


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


Rune Haubo B Christensen



参考文献----------References----------

Estimation and inference in the same-different test.

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

samediff, samediffSim
samediff,samediffSim


实例----------Examples----------


## Finding the power of a discrimination test with a sensory delta of 2[#寻找电源的歧视测试一个感觉Delta2]
## (alternative hypothesis) versus a null hypothesis of delta = 0 with[#(另一种假说)与δ= 0的零假设]
## a sample of size 2 x 10 and a type I level of .05. n should be higher[#样本大小为2×10和I型水平的0.05。 n应该是更高的]
## for a reasonable precision:[#一个合理的精度:]

samediffPwr(n = 100, tau = 1, delta = 2, Ns = 10, Nd = 10)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-20 00:23 , Processed in 0.019302 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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