taNegbin.LimitRestMLE: taNegbin.LimitRestMLE

View source: R/RML_limit.R

taNegbin.LimitRestMLER Documentation

taNegbin.LimitRestMLE

Description

Limit of restricted maximum-likelihood estimator in case of negative binomial distributed endpoints

Usage

taNegbin.LimitRestMLE(
  rateExp1,
  rateRef1,
  ratePla1,
  shape1,
  Delta,
  allocation = c(1/3, 1/3, 1/3)
)

Arguments

rateExp1

A numeric value specifying the rate of the experimental treatment group in the alternative hypothesis

rateRef1

A numeric value specifying the rate of the reference treatment group in the alternative hypothesis

ratePla1

A numeric value specifying the rate of the placebo treatment group in the alternative hypothesis

shape1

A numeric value specifying the shape parameter

Delta

A numeric value specifying the non-inferiority/superiority margin

allocation

A (non-empty) vector specifying the sample size allocation (wExp, wRef, wPla)

Value

A list containing the following components:

rateExp0, rateRef0, rateRef0

The limit of the maximum-likelihood estimator for the rates when estimated restricted to the boundary of the null hypothesis

shape0

The limit of the maximum-likelihood estimator for the shape parameter when estimated restricted to the boundary of the null hypothesis

sigma2.rest

The limit of the maximum-likelihood variance estimator for the Wald-type test when restricted to the boundary of the null hypothesis


ThreeArmedTrials documentation built on Dec. 28, 2022, 2:06 a.m.