estimate_chisq {faersquarterlydata}R Documentation

Estimate Chi-Squared test with yates correction

Description

Estimate Chi-Squared test with yates correction

Usage

estimate_chisq(n11, n10, n01, n00)

Arguments

n11

Number of events of interest within the group of interest

n10

Number of events of interest from all groups

n01

Number of all events within the group of interest

n00

Number of all events from all groups

Value

list with Chi-squared statistic and p-value

Examples

estimate_chisq(n11 = 20, n10 = 10, n01 = 200, n00 = 200)

[Package faersquarterlydata version 1.1.0 Index]