pval_MN: p-value corresponding to the Miettinen & Nurminen (1985)...

Description Usage Arguments Value References Examples

View source: R/EC.R

Description

This function calculates the asymptotic p-value described in Hawila & Berg (2021)

Usage

1
pval_MN(x.T, x.C, N.T, N.C, delta0)

Arguments

x.T

positive integer representing the observed number of responders in the treatment group

x.C

positive integer representing the observed number of responders in the control group

N.T

positive integer representing the sample size in the treatment group

N.C

positive integer representing the sample size in the control group

delta0

numeric between 0 and 1 representing the noninferiority margin

Value

numeric representing the asymptotic p-value associated with the Miettinen & Nurminen statistic

References

\insertRef

Miettinen:85EC \insertRefHawila:21EC

Examples

1
2
#The example is taken from Rodary et al. (1989) which was analyzed by Chan (1998)
pval_MN(x.T=83,x.C=69,N.T=88,N.C=76,delta0=0.1)

NourHawila/EC documentation built on Feb. 24, 2022, 8:24 a.m.