YulesQ: Yule's Q

Description Usage Arguments Value

View source: R/YulesQ.R

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 - α) percent confidence interval.

Usage

1
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 Dec. 14, 2020, 9:31 a.m.