nntkk_nonparam: Non-Parametric MLE of KK-NNT in Exponential distribution

View source: R/nntkk_nonparam.R

nntkk_nonparamR Documentation

Non-Parametric MLE of KK-NNT in Exponential distribution

Description

Internal function. Not for users. Takes two numeric vectors of control and treatment results and returns the non-parametric MLE of the Kraemer & Kupfer's NNT.

Usage

nntkk_nonparam(treat, control, p_c.boot, p_tk)

Arguments

treat

a numeric vector of the treatment arm results

control

a numeric vector of the control arm results

p_c.boot

BS estimator of the sample proportion of success in the control arm

p_tk

sample estimator of P(Y_t > Y_c)

Value

Non-Paramaetric MLE of the KK-NNT


vancak/NNTcalculator documentation built on April 7, 2022, 3:48 a.m.