Kappa(vcd)
Kappa()所属R语言包:vcd
Cohen's Kappa and Weighted Kappa
科恩的Kappa和加权Kappa
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes two agreement rates: Cohen's kappa and weighted kappa, and confidence bands.
计算两个协定税率:科恩kappa和加权kappa,和置信区间。
用法----------Usage----------
Kappa(x, weights = c("Equal-Spacing", "Fleiss-Cohen"))
参数----------Arguments----------
参数:x
a confusion matrix.
混淆矩阵。
参数:weights
either one of the character strings given in the default value, or a user-specified matrix with same dimensions as x.
中给出的默认值的字符串的任一个,或用户指定的矩阵相同的尺寸x。
Details
详细信息----------Details----------
Cohen's kappa is the diagonal sum of the (possibly weighted) relative frequencies, corrected for expected values and standardized by its maximum value. The equal-spacing weights are defined by 1 - abs(i - j) / (r - 1), r number of columns/rows, and the Fleiss-Cohen weights by 1 - abs(i - j)^2 / (r - 1)^2. The latter one attaches greater importance to near disagreements.
科恩kappa(可能加权)的相对频率,校正预期值和其最大值标准化是对角线求和。相等的间距的权重定义的1 - abs(i - j) / (r - 1),r的列/行的数量,和弗莱斯科恩的权重由1 - abs(i - j)^2 / (r - 1)^2。而后者则更加重视不久的分歧。
值----------Value----------
An object of class "Kappa" with three components:
对象的类"Kappa"三部分组成:
参数:Unweighted
numeric vector of length 2 with the kappa statistic (value component), along with Approximate Standard Error (ASE component)
数值向量与kappa统计量(value成分)的长度为2,沿近似的标准误差(ASE组件)
参数:Weighted
idem for the weighted kappa.
同上的加权kappa。
参数:Weights
numeric matrix with weights used.
使用数字矩阵的权重。
注意----------Note----------
The summary method also prints the weights.
summary方法打印的权重。
There is a confint method for computing approximate confidence intervals.
有一个confint近似置信区间的计算方法。
(作者)----------Author(s)----------
David Meyer <a href="mailtoavid.Meyer@R-project.org">David.Meyer@R-project.org</a>
参考文献----------References----------
A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20, 37–46.
Moments of statistics kappa and weighted kappa. The British Journal of Mathematical and Statistical Psychology, 21, 97–103.
Large sample standard errors of kappa and weighted kappa. Psychological Bulletin, 72, 332–327.
参见----------See Also----------
agreementplot, confint
agreementplot,confint
实例----------Examples----------
data("SexualFun")
Kappa(SexualFun)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|