Learn R Programming

nivm (version 0.6)

Noninferiority Tests with Variable Margins

Description

Noninferiority tests for difference in failure rates at a prespecified control rate or prespecified time. For details, see Fay and Follmann, 2016 .

Copy Link

Version

Install

install.packages('nivm')

Monthly Downloads

229

Version

0.6

License

GPL (>= 3)

Maintainer

Michael Fay

Last Published

August 20th, 2025

Functions in nivm (0.6)

getimaxpower

Get i that maiximizes power when F1=F2 for a specified g function
findPowerR

Get power from brkTest).
nicqTest

Non-inferiority control quantile test
nimDiffOR

Variable margin functions
fmecTest

Odds Ratio/Difference Non-inferiority tests
getfx2

Internal functions for nicqTest.
nicqControl

Function that returns a list of algorithm controls for nicq
brkControl

Arguments for Algorithm Control for brkTest.
print.brk

Print Method for brk or nicq Object.
brkTest

Barnard-Rohmel-Kieser Test
getPossibleR

Internal functions used for tests from Rohmel and Kieser ( fmecTest, fmecExact, and brkTest).
powerNicqTest

Power or Sample Size for Non-inferiority Control Quantile Test
nivm-package

Non-inferiority Tests with Variable Margins