Find.h: To find parameter of a uniform dropout censoring distribution...

Description Usage Arguments Value Examples

View source: R/Find_h.R

Description

A function finds parameter h of a uniform dropout censoring distribution U(0,h) with a generalized gamma survival distribution or a log-logistic survival distribution for a given dropout censoring probability.

Usage

1
Find.h(lfu, R, T, q, mu, sigma, eta, theta)

Arguments

lfu

the dropout censoring probability.

R

the recuritment duration.

T

the study duration.

q, mu, sigma

shape, location and scale parameters of an assumed generalized gamma distribution for the control arm. A character string q="LLG" indiactes an assumed log-logistic survival distribution F_0(y;ξ,ζ)=1/(1+(y/ξ)^{-ζ}) for the control arm, where ξ = mu and ζ = sigma.

eta, theta

parameters of the entry distribution with η ≥ -θ/R and η >0 (θ=0 for the uniform dropout censoring).

Value

the parameter h of the uniform dropout censoring distribution U(0,h).

Examples

1
2
Find.h(lfu=0.15, R=2, T=3, q=1, mu=0.367, sigma=1, eta=1, theta=0)
Find.h(lfu=0.15, R=2, T=3, q="LLG", mu=1, sigma=1.75, eta=1, theta=0)

SurvGSD documentation built on May 2, 2019, 11:12 a.m.

Related to Find.h in SurvGSD...