AD: AD: Average Deviation Within-Groups

ADR Documentation

AD: Average Deviation Within-Groups

Description

This function estimates Burke, Finkelstein, & Dusig's (1999) within-group agreement statistic for a single item, denoted AD.

Usage

AD(x, grpid, model, scale)

Arguments

x

Item on which to estimate AD

grpid

Grouping/clustering variable

model

User-supplied description of multilevel measurement model (e.g., consensus)

scale

Minimum and Maximum Values of the Scale

Details

The input consists of a data frame, and the names of the grouping variable and item. The output consists of a data frame containing the group names, the group means, group medians, and the estimates of AD(j) about means and medians.

Link to Burke, Finkelstein, & Dusig (1999):

Value

Estimates AD

Examples

data(lq2002, package = "multilevel")
AD(x = lq2002[ ,c(3:13)], grpid = lq2002$COMPID, scale = c(1,5), model = "consensus")

james-lebreton/WGA documentation built on Oct. 17, 2022, 4:05 a.m.