ind.t.test.second(rpsychi)
ind.t.test.second()所属R语言包:rpsychi
A t-test with independent samples using published work: Reporting effect size
一个使用已经发表的作品的独立样本的t检验,报告的影响大小
译者:生物统计家园网 机器人LoveR
描述----------Description----------
ind.t.test.second conducts a t-test with independent samples using published work.
ind.t.test.second进行使用已经发表的作品的独立样本t检验。
用法----------Usage----------
ind.t.test.second(m, sd, n,
unbiased = TRUE, correct=TRUE, sig.level = 0.05, digits = 3)
参数----------Arguments----------
参数:m
a numeric vector contains the means (length(m) = 2)
一个数值向量中包含的装置(长度(m)= 2)
参数:sd
a numeric vector contains the sample/unbiased standard deviations (length(sd) = 2)
一个数值向量中包含的采样/中立的标准偏差(长度(sd)= 2)
参数:n
a numeric contains the sample size (length(n) = 2)
一个数字包含的样本尺寸(长(n)= 2)
参数:unbiased
sd contains unbiased standard deviations (unbiased = TRUE, default) or sample standard deviations (unbiased = FALSE)
sd公正的标准偏差(unbiased= TRUE,缺省值)或样本标准差(unbiased= FALSE)
参数:correct
a logical indicating whether to compute an unbiased standardized mean difference (delta) or not (correct = TRUE)
一个逻辑指示是否计算一个公正的标准平均差(delta)或没有(correct= TRUE)
参数:sig.level
a numeric contains the significance level (default 0.05)
一个数字的显着性水平(默认0.05)
参数:digits
the specified number of decimal places (default 3)
指定的小数位数(默认为3)
Details
详细信息----------Details----------
This function conducts a t-test with independent samples using published work. Statistical power is calculated using the following specifications:
此功能进行使用已经发表的作品的独立样本t检验。统计功率的计算使用以下规范:
(a) small (d = 0.20), medium (d = 0.50), and large (d = 0.80) population effect sizes, according to the interpretive guideline for effect sizes by Cohen (1992)
(一)小(d = 0.20),中(d = 0.50),和大(d = 0.80)人口影响的大小,根据解释性指引,影响的大小由Cohen(1992)
(b) sample size specified by n
(二)样本规模指定的n
(c) significance level specified by sig.level
(三)显着性水平指定的sig.level
值----------Value----------
The returned object of ind.t.test.second contains the following components:
返回的对象ind.t.test.second包含以下组件:
参数:samp.stat
returns the means, standard deviations, and sample sizes
返回均值,标准差和样本量
参数:raw.difference
returns a raw mean difference, its' confidence interval, and standard error
返回原始的平均差异,其置信区间和标准错误,
参数:standardized.difference
returns a standardized mean difference (Hedges's g), its' approximate confidence interval for population standardized mean difference, and standard error
返回一个标准化的均数差(对冲的g),“近似置信区间人口标准化平均差和标准错误
参数:power
returns statistical power for detecting small (d = 0.20), medium (d = 0.50), and large (d = 0.80) population effect sizes
返回统计功率检测(d = 0.20),中(d = 0.50),和大(d = 0.80)人口影响的大小
(作者)----------Author(s)----------
Yasuyuki Okumura<br>
Department of Social Psychiatry, <br>
National Institute of Mental Health, <br>
National Center of Neurology and Psychiatry <br>
<a href="mailto:yokumura@blue.zero.jp">yokumura@blue.zero.jp</a>
参考文献----------References----------
参见----------See Also----------
ind.t.test, samplesize.d
ind.t.test,samplesize.d
实例----------Examples----------
##Kline (2004) Table 4.4[#克莱恩(2004年)表4.4]
dat <- data.frame(y = c(9,12,13,15,16,8,12,11,10,14),
x = rep(factor(c("a","b")), each=5)
)
ind.t.test.second(m = tapply(dat$y, dat$x, mean),
sd = tapply(dat$y, dat$x, sd),
n = tapply(dat$y, dat$x, length), correct=FALSE
)
ind.t.test.second(m = tapply(dat$y, dat$x, mean),
sd = tapply(dat$y, dat$x, sd),
n = tapply(dat$y, dat$x, length), correct=TRUE
) #approximate unbiased estimator of delta[近似无偏估计量Delta]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|