po_pbibe: Bayesian posterior probability of the alternative hypothesis...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/po_pbibe.R

Description

Implementation of the algorithm presented in Par. 10.3.3 of Wellek S (2010) Testing statistical hypotheses of equivalence and noninferiority. Second edition.

Usage

1
po_pbibe(n,eps,pio,zq,s,tol,sw,ihmax)

Arguments

n

sample size

eps

equivalence margin to an individual log-bioavailability ratio

pio

prespecified lower bound to the probability of obtaining an individual log-bioavailability ratio falling in the equivalence range (-\varepsilon,\varepsilon)

zq

mean log-bioavailability ratio observed in the sample under analysis

s

square root of the sample variance of the log-bioavailability ratios

tol

maximum numerical error allowed for transforming the hypothesis of PBIBE into a region in the parameter space of the log-normal distribution assumed to underlie the given sample of individual bioavailability ratios

sw

step width used in the numerical procedure yielding results at a level of accuracy specified by the value chosen for tol

ihmax

maximum number of interval halving steps to be carried out in finding the region specified in the parameter space according to the criterion of PBIBE

Details

The program uses 96-point Gauss-Legendre quadrature.

Value

n

sample size

eps

equivalence margin to an individual log-bioavailability ratio

pio

prespecified lower bound to the probability of obtaining an individual log-bioavailability ratio falling in the equivalence range (-\varepsilon,\varepsilon)

zq

mean log-bioavailability ratio observed in the sample under analysis

s

square root of the sample variance of the log-bioavailability ratios

tol

maximum numerical error allowed for transforming the hypothesis of PBIBE into a region in the parameter space of the log-normal distribution assumed to underlie the given sample of individual bioavailability ratios

sw

step width used in the numerical procedure yielding results at a level of accuracy specified by the value chosen for tol

ihmax

maximum number of interval halving steps to be carried out in finding the region specified in the parameter space according to the criterion of PBIBE

PO_PBIBE

posterior probability of the alternative hypothesis of PBIBE

Author(s)

Stefan Wellek <stefan.wellek@zi-mannheim.de>
Peter Ziegler <peter.ziegler@zi-mannheim.de>

References

Wellek S: Bayesian construction of an improved parametric test for probability-based individual bioequivalence. Biometrical Journal 42 (2000), 1039-52.

Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition. Boca Raton: Chapman & Hall/CRC Press, 2010, Par. 10.3.3.

Examples

1
po_pbibe(20,0.25,0.75,0.17451,0.04169, 10e-10,0.01,100)

EQUIVNONINF documentation built on July 12, 2021, 5:08 p.m.