SurvGSD (version 1.0.0)

Find.h: To find parameter of a uniform dropout censoring distribution under a generalized gamma survival distribution or a log-logistic survival distribution.

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

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;\xi,\zeta)=1/(1+(y/\xi)^{-\zeta})\) for the control arm, where \(\xi\) = mu and \(\zeta\) = sigma.

eta, theta

parameters of the entry distribution with \(\eta \ge -\theta/R\) and \(\eta >0\) (\(\theta=0\) for the uniform dropout censoring).

Value

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataCamp Workspace