nntkk_norm_uneq_inc: MLE of the KK-NNT in Normal distribution with unequal sd

Description Usage Arguments Value

View source: R/nntkk_norm_uneq.R

Description

Internal function. Not for users. Takes two numeric vectors of control and treatment results and returns the MLE of the Kraemer & Kupfer's type NNT for Normal distribution with unequal sd.

Usage

1
nntkk_norm_uneq_inc(yt_bar, yc_bar, s_t, s_c, p_t.boot, p_c.boot, n_c, n_t)

Arguments

yt_bar

mean value of the treatment arm vector

yc_bar

mean value of the control arm vector

s_t

sd of the treatment arm vector

s_c

sd of the control arm vector

p_t.boot

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

p_c.boot

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

n_c

number of observations in the control arm

n_t

number of observations in the treatment arm

Value

MLE of the KK-NNT for the Normal distribution with unequal sd


vancak/NNT-calculator-2018 documentation built on Oct. 17, 2020, 11:09 a.m.