Learn R Programming

callback (version 0.1.3)

stat_paired: Callback counts on paired data

Description

Computes the callback count statistics from the paired data sets.

Usage

stat_paired(x)

Value

A list with class "stat_paired" containing two data frames: counts and props.

counts: a data frame with the callback counts.

  • tests: number of tests.

  • callback: number of tests with at least one callback for either candidate.

  • callback1: number of callbacks for candidate 1.

  • callback2: number of callbacks for candidate 2.

  • calldif: difference in callback numbers.

  • disc: number of discrimination cases.

  • c00: number of test without a callback.

  • c10: number of tests with callbacks for candidate 1 only.

  • c01: number of tests with callbacks for candidate 2 only.

  • c11: number of tests with callbacks for both candidates.

props: a data frame with the following variables.

  • p_callback: callback/tests.

  • p_cand1: callback1/tests.

  • p_cand2: callback2/tests.

  • p_c00: c00/tests.

  • p_c10: c10/tests.

  • p_c01: c01/tests.

  • p_c11: c11/tests.

  • p_cand_dif: calldif/tests.

Arguments

x

A callback object.

Author

Emmanuel Duguet

Examples

Run this code
data(labour2)
x <- callback(data=labour2,cluster="offer",candid="hist",callback="callback")
stat_paired(x)

Run the code above in your browser using DataLab