YulesQ: Yule's Q

View source: R/YulesQ.R

YulesQR Documentation

Yule's Q

Description

Determines Yule's Q for a collection of 2 x 2 tables of the form

event not event
drug a c
not drug b d

In case the parameter alpha is set, it returns the lower endpoint of the 100(1 - \alpha) percent confidence interval.

Usage

YulesQ(a, b, c, d, alpha = NULL)

Arguments

a

A vector with the counts of the upper left corner of the tables

b

A vector with the counts of the lower left corner of the tables

c

A vector with the counts of the upper right corner of the tables

d

A vector with the counts of the lower right corner of the tables

alpha

Value between (0,1). If set, the lower endpoint the confidence (or credible) interval is returned. (Default = NULL)

Value

Yule's Q or the lower endpoint of the confidence interval


bips-hb/pvm documentation built on Feb. 13, 2025, 3:32 a.m.