View source: R/nntkk_nonparam.R
nntkk_nonparam | R Documentation |
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.
nntkk_nonparam(treat, control, p_c.boot, p_tk)
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) |
Non-Paramaetric MLE of the KK-NNT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.