laupacis: Non-paramatric Laupacis' NNT

View source: R/laupacis.R

laupacisR Documentation

Non-paramatric Laupacis' NNT

Description

Internal function. Not for users. Takes two numeric vectors of control and treatment results and returns the non-parametric MLE.

Usage

laupacis(treat, control, p_t, p_c, n_t, n_c, p_t.boot, p_c.boot)

Arguments

treat

a numeric vector of the treatment arm results

control

a numeric vector of the control arm results

p_t

sample proportion of success in the treatment arm

p_c

sample proportion of success in the control arm

n_t

number of observations in the treatment arm

n_c

number of observations in the control arm

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

Value

Laupacis' type NNT non-parametric MLE


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