samediffSim(sensR)
samediffSim()所属R语言包:sensR
Simulates data from a samediff test
模拟数据从samediff测试
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Simulates the outcome of n same-different experiments.
n相同,不同的实验模拟的结果。
用法----------Usage----------
samediffSim(n, tau, delta, Ns, Nd)
参数----------Arguments----------
参数:n
the number of experiments to simulate.
模拟实验的数量。
参数:tau
the value of "tau".
“牛头”的价值。
参数:delta
the value of delta (d-prime).
delta的值(D素数)。
参数:Ns
number of same-samples
相同的样本数
参数:Nd
number of different-samples
不同的样品的数量
Details
详细信息----------Details----------
The function makes two calls to rbinom.
该功能使两个调用rbinom。
值----------Value----------
A matrix of with n rows and four columns named ss, ds, sd, dd with the number of same-answers to same-samples, different-answers to same-samples, same-answers to different-samples and different-answers to different-samples respectively.
矩阵与n列和四列名为ss, ds, sd, dd相同的答案相同的样本数,不同的答案相同的样本,相同的答案,不同的样本,不同的答案不同的样品。
(作者)----------Author(s)----------
Rune Haubo B Christensen
参考文献----------References----------
Estimation and inference in the same-different test.
参见----------See Also----------
discrimSim
discrimSim
实例----------Examples----------
## Running simulations:[#运行模拟:]
samediffSim(n = 10, tau = 1, delta = 1, Ns = 10, Nd = 10)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|