stat_comp: Comparison statistics on matched data

View source: R/stat_comp.R

stat_compR Documentation

Comparison statistics on matched data

Description

Comparison statistics on matched data

Usage

stat_comp(x)

Arguments

x

A callback object.

Value

A stat_comp objects including two data frames. The first data frame is Student and includes the following variables:

p_callback1-p_callback2 callback rates difference
Student Student statistics for dif(cand1-cand2)
p_value p-value for Student

The second data frame is binom and includes the following variables:

r_cand1 proportion of callbacks received by the 1st candidate
r_dif r_cand-0.5
r_pvalue p-value of the binomial test r_cand1=0.5

Examples

data(labour1)
x <- callback(data=labour1,cluster="offer",candid="hist",callback="callback")
stat_comp(x)

callback documentation built on May 29, 2024, 4:57 a.m.