• No results found

Package obs.agree. February 20, 2015

N/A
N/A
Protected

Academic year: 2021

Share "Package obs.agree. February 20, 2015"

Copied!
8
0
0

Loading.... (view fulltext now)

Full text

(1)

Package ‘obs.agree’

February 20, 2015

Type Package

Title An R package to assess agreement between observers. Version 1.0

Date 2012-09-25

Author Teresa Henriques, Luis Antunes and Cristina Costa-Santos Maintainer Teresa Henriques<[email protected]>

Description The package includes two functions for measuring agreement. Raw Agreement In-dices (RAI) to categorical data and Information-Based Measure of Disagreement (IBMD) to con-tinuous data. It can be used for multiple raters and multiple readings cases.

License GPL (>= 2)

URL http://www.r-project.org,http://disagreement.med.up.pt/ NeedsCompilation no Repository CRAN Date/Publication 2013-12-04 16:28:27

R

topics documented:

obs.agree-package . . . 2 ctg . . . 2 gymnasts . . . 3 IBMD . . . 4 RAI . . . 6 Index 8 1

(2)

2 ctg

obs.agree-package Observer agreement package

Description

The package includes two functions for measuring agreement. Raw Agreement Indices to categor-ical data and Information-Based Measure of Disagreement to continuous data. It can be used for multiple raters and multiple readings cases.

Details Package: obs.agree Type: Package Version: 1.0 Date: 2013-10-09 License: GPL-2 Author(s)

Teresa Henriques, Luis Antunes and Cristina Costa-Santos

ctg Different clinicians classified cardiotocographic traces based on two guidelines.

Description

The matrix contains 151 cardiotocographic traces classified by 18 clinicians as Patologic (3), Sus-pect (2) or Normal (1).

Usage

data(ctg)

Format

A matrix with 151 observations and the following 18 classifications: GL1_E1_O1 the classification of the first intern based on the first guideline. GL1_E1_O2 the classification of the second intern based on the first guideline. GL1_E1_O3 the classification of the third intern based on the first guideline.

(3)

gymnasts 3

GL1_E2_O1 the classification of the first clinician based on the first guideline. GL1_E2_O2 the classification of the second clinician based on the first guideline. GL1_E2_O3 the classification of the third clinician based on the first guideline. GL1_E3_O1 the classification of the first expert based on the first guideline. GL1_E3_O2 the classification of the second expert based on the first guideline. GL1_E3_O3 the classification of the third expert based on the first guideline. GL2_E1_O1 the classification of the first intern based on the first guideline. GL2_E1_O2 the classification of the second intern based on the second guideline. GL2_E1_O3 the classification of the third intern based on the second guideline. GL2_E2_O1 the classification of the first clinician based on the second guideline. GL2_E2_O2 the classification of the second clinician based on the second guideline. GL2_E2_O3 the classification of the third clinician based on the second guideline. GL2_E3_O1 the classification of the first expert based on the second guideline. GL2_E3_O2 the classification of the second expert based on the second guideline. GL2_E3_O3 the classification of the third expert based on the second guideline.

Details

6 interns (E1), 6 clinicians (E2) and 6 experts (E3) classified 151 cardiotocographic traces as Pa-tologic (3), Suspect (2) or Normal (1). Nine of them (3 interns, 3 clinicians and 3 experts) used a guideline (GL1) different from the other nine (GL2).

Source

artificial data Examples

data(ctg)

gymnasts Performance of 40 gymnasts rated by eigth judges according to two different rulebook

Description

A data frame containing the score performance of 40 gymnasts, 20 evaluated by eight judges using the old rulebook and 20 by the same judges using the new rulebook

Usage

(4)

4 IBMD

Format

A data frame with 40 observations on the following 9 variables:

Rulebook a factor with levels New and Old according to which rulebook was used. Jude.1 a numeric vector with the ratings of the first judge.

Jude.2 a numeric vector with the ratings of the second judge. Jude.3 a numeric vector with the ratings of the third judge. Jude.4 a numeric vector with the ratings of the fourth judge. Jude.5 a numeric vector with the ratings of the fifth judge. Jude.6 a numeric vector with the ratings of the sixth judge. Jude.7 a numeric vector with the ratings of the seventh judge. Jude.8 a numeric vector with the ratings of the eighth judge.

Details

Assume that a new rulebook has been recently proposed and subsequently criticized. Consider a random sample of eight judges evaluating a random sample of 20 gymnasts with the old rulebook, and a different random sample of 20 gymnasts with the new rulebook.

Source

artificial data References

Henriques, T., Antunes, L., Bernardes, J., Matias, M., Sato, D. and Costa-Santos, C. (2013) Information-based measure of disagreement for more than two observers: a useful tool to compare the degree of observer disagreement.BMC Medical Research Methodology.13(1):47.

Examples

data(gymnasts)

IBMD Information-based measure of disagreement

Description

Calculates the Information-Based Measure of Disagreement (IBMD) coefficient on a continuous measure.

Usage

(5)

IBMD 5 Arguments

x n*m matrix or dataframe with n subjects and m observers. If the observer num-ber differ for each subject missing values should be represented by the NA sym-bol.

conf.levels confidence level of the interval. Must be a single number between 0 and 1. Details

The IBMD was proposed (Costa-Santos, 2010) on the basis of Shannon’s notion of entropy (Shan-non, 1948), described as the average amount of information contained in a variable. In 2013 (Henriques, 2013) was generalized to measure the disagreement among measurements obtained by several observers, allowing different number of observations in each case. It is appropriate for ratio-scale variables with positive values and ranges from 0 (no disagreement) to 1. The confidence interval is estimated using a bootstrap procedure.

Value

A list containing the following components: Subjects number of subjects.

Observers maximum number of observers.

IBMD the information based measure of disagreement coefficient and the respective confidence interval.

Author(s)

Teresa Henriques<[email protected]>

References

Costa-Santos, C, Antunes, L., Souto, A. and Bernardes, J. (2010) Assessment of disagreement: a new information-based approach.Ann Epidemiol,20(7):555-61.

Shannon, C.E. (1948) A mathematical theory of communication. Bell System Technical Journal, 27:379-423 and 623-656.

Henriques, T., Antunes, L., Bernardes, J., Matias, M., Sato, D. and Costa-Santos, C. (2013) Information-based measure of disagreement for more than two observers: a useful tool to compare the degree of observer disagreement.BMC Medical Research Methodology.13(1):47.

Carpenter J. and Bithell J. (2000) Bootstrap confidence intervals: when, which, what? A practical guide for medical statisticians.Stat Med,19(9):1141-1164.

Examples data(gymnasts) head(gymnasts) ## Not run: IBMD(gymnasts[1:20,-1]) IBMD(gymnasts[21:40,-1])

(6)

6 RAI

## End(Not run)

RAI Raw Agreement Indices

Description

Calculates the proportion of overall and specific agreement.

Usage

RAI(x, conf.levels = 0.95)

Arguments

x n*m matrix with n subjects and m observers. If the observer number differ for each subject missing values should be represented by the NA symbol.

conf.levels confidence level of the interval.Must be a single number between 0 and 1.

Details

The proportions of overall agreement indicates the number of cases in which raters agree exactly, relative to the total number of observations. The proportions of specific agreement calculates ob-served agreement relative to each rating category individually.

A more detail description of the case of agreement between two raters on dichotomous ratings is presented in (Fleiss,J.L.,2003). The generalized case used is presented by John Uebersax (Uebersax, J., 2009)

Value

Subjects number of subjects.

Observers maximum number of observers. Overall_agreement

the overall proportion of agreement coefficient and the respective confidence interval.

Categories the categories. Specific_agreement

the coefficient of proportion of agreement specific to each category and the re-spectives confidence interval.

Author(s)

(7)

RAI 7 References

Fleiss,J.L., Levin, B. and Paik, M.C. (2003)Statistical Methods for Rates and Proportions John Wiley & Sons, Inc, 3rd Edition.

Uebersax, J. (2009) http://www.john-uebersax.com/stat/raw.htm Examples data(ctg) ## Not run: RAI(ctg[,1:9]) RAI(ctg[,10:18]) ## End(Not run)

(8)

Index

∗Topic

datasets

ctg,2 gymnasts,3 ∗Topic

models

IBMD,4 RAI,6 ∗Topic

package

obs.agree-package,2 ctg,2 gymnasts,3 IBMD,4 obs.agree(obs.agree-package),2 obs.agree-package,2 RAI,6 8

References

Related documents

Current location of a user sent to web server database using post method in java and sending data to php.TO get the address from coordinates GEOCODER method is used

The differ- ences in the role and position of the second chamber are mainly related to the level of decentralisation or development of the local government and,

With dependent group-oriented rewards, all or no members of the group receive access to a reward based on one individual student (or a smaller group of students) meeting a

The present study attempts to examine farmers perceptions on the impacts of climate variability; risk coping mechanisms and barriers for adopting adaptation strategies

Though, like much of the rest of Aeschylus’s corpus, it does not align with the criteria of effective tragedy according to the standards of Aristotle’s Poetics (ca. 330

Webpages with sexually explicit content intended for adult entertainment (i.e., not in an educational, medical or artistic context) were used to test a variety of Internet

Center of Excellence for Transgender Health, Department of Family and Community Medicine, University of California San Francisco. Guidelines for the Primary and Gender-Affirming

Students should also describe how they feel about the problem of litter and aquatic debris after participating in this activity, and they should identify negative impacts of