nntkk_norm_eq_inc: MLE of the KK-NNT in Normal distribution with equal variances

View source: R/nntkk_norm_eq.R

nntkk_norm_eq_incR Documentation

MLE of the KK-NNT in Normal distribution with equal variances

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 equal sd.

Usage

nntkk_norm_eq_inc(
  treat,
  control,
  d,
  s_ml,
  p_t.boot,
  p_c.boot,
  s_ml.bs,
  n_c,
  n_t
)

Arguments

treat

a numeric vector of the treatment arm results

control

a numeric vector of the control arm results

d

Cohen's delta MLE

s_ml

pooled sd MLE

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

s_ml.bs

BS of the pooled sd MLE

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 equal sd


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