mle_exp_inc: MLE of Laupacis' type NNT in Exponental dist.

Description Usage Arguments Value

View source: R/mle_exp.R

Description

Internal function. Not for users. Takes two numeric vectors of control and treatment results and returns the MLE of the Laupacis' type NNT in Exponential distribution.

Usage

1
mle_exp_inc(treat, control, tau, yt_bar, yc_bar, p_t.boot, p_c.boot, n_c, n_t)

Arguments

treat

a numeric vector of the treatment arm results

control

a numeric vector of the control arm results

tau

a scalar that indicates the MCID

yt_bar

mean value of the treatment arm vector

yc_bar

mean value 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

p_c

sample proportion of success in the control arm

p_t

sample proportion of success in the treatment arm

Value

MLE of the Laupacis' type NNT for Exponential distribution


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