prob.derivative: Calculate derivative of rejection probability

Description Usage Arguments Value

View source: R/wrappers.R

Description

Calculate derivative after \mjseqnp_E of probability of a specific region under \mjseqnH_0.

Usage

1
prob.derivative(p_C.vec, x_E, x_C, n_E, n_C, method, delta)

Arguments

p_C.vec

data frame with variables \mjseqnx_E and \mjseqnx_C

x_E

vector of values belonging to region

x_C

vector of values belonging to region

n_E

Sample size in experimental group.

n_C

Sample size in control group.

method

Specifies the effect measure/test statistic. One of "RD", "RR", or "OR".

delta

Non-inferiority margin.

Value

Vector of values of the derivative


s-kilian/binary documentation built on Sept. 26, 2021, 6:28 p.m.