Skip to main content

Generalized log-logistic proportional hazard model with applications in survival analysis

Abstract

Proportional hazard (PH) models can be formulated with or without assuming a probability distribution for survival times. The former assumption leads to parametric models, whereas the latter leads to the semi-parametric Cox model which is by far the most popular in survival analysis. However, a parametric model may lead to more efficient estimates than the Cox model under certain conditions. Only a few parametric models are closed under the PH assumption, the most common of which is the Weibull that accommodates only monotone hazard functions. We propose a generalization of the log-logistic distribution that belongs to the PH family. It has properties similar to those of log-logistic, and approaches the Weibull in the limit. These features enable it to handle both monotone and nonmonotone hazard functions. Application to four data sets and a simulation study revealed that the model could potentially be very useful in adequately describing different types of time-to-event data.

Introduction

Proportional hazard (PH) models play a vital role in analyzing time-to-event data. A key assumption in the PH model is that the hazard ratio comparing any two specifications of covariates is constant over time (commonly known as PH assumption). Although the PH assumption may not hold for one or more covariates over the entire study period, it may hold in shorter time intervals. Therefore, violation of the PH assumption may be handled using time-dependent covariates (Kleinbaum and Klein 2012). One of the appealing features of PH models is that the regression coefficients have relative risk interpretation, which is preferred by many clinicians.

The Cox PH model (Cox 1972) is the most popular in survival analysis mainly because of two reasons: (a) no assumption is required about the probability distribution of survival times (i.e., a semi-parametric model), and (b) it usually fits the data well no matter which parametric model is appropriate. In contrast, distributional assumption is required for a fully parametric PH model (Kalbfleisch and Prentice 2002; Lawless 2002). This also leads to the added requirement of checking the appropriateness of the chosen distribution. Nevertheless, as demonstrated by Efron (1977) and Oakes (1977), parametric models lead to more efficient estimates than Cox’s model under certain conditions. More specifically, if the distributional assumption is valid, a parametric model leads to smaller standard errors of the estimates than would be in the absence of a distributional assumption (Collett 2003). Moreover, the use of Cox PH in joint modeling of time-to-event and longitudinal data (Wulfsohn and Tsiatis 1997) usually leads to an underestimation of the standard errors of the parameter estimates (Hsieh et al. 2006; Rizopoulos 2012), and therefore most methods for joint modeling are based on parametric response distributions (Hwang and Pennell 2014). Regarding the choice between a parametric and Cox’s PH model, Nardi and Schemper (2003) suggested to use a richer parametric model or simply the Cox’s model in case of an unsatisfactory fit of the chosen probability distribution.

The most commonly used parametric time-to-event models are the Weibull, log-logistic and log-normal distributions. The log-logistic and log-normal distributions belong to the accelerated failure time (AFT) family, and are useful in modeling nonmonotone hazard rates (Lawless 2002). Note that the log-logistic also accommodates decreasing hazard functions. Only a few parametric models are closed under PH assumption, the most common of which is the Weibull that accommodates only monotone hazard functions. In fact, Weibull is the only distribution that is closed under both AFT and PH families (Kalbfleisch and Prentice 2002). Mudholkar et al. (1996) proposed a generalization of the Weibull distribution which permits parametric PH regression modeling. It is a three-parameter distribution and is capable of modeling both monotone and nonmonotone hazard functions. One difficulty with this model is that it is nonregular (the support depends on some parameters) in the case of increasing hazard functions, and therefore the standard maximum likelihood asymptotics do not hold. In this paper, we propose a simple extension of the log-logistic model which is closed under the PH relationship. The proposed generalized log-logistic model is a three-parameter distribution, and has characteristics similar to those of the log-logistic model. Moreover, it approaches the Weibull in the limit. These features enable it to satisfactorily handle both monotone (increasing and decreasing) and nonmonotone (unimodal) hazard functions. In Section 1, we introduce the generalized log-logistic model and discuss estimation and testing of the parameters using the maximum likelihood method. The proposed method is then illustrated with applications to four data sets, one of which involves joint modeling of time-to-event and longitudinal data (Section Examples). In Section Simulations, a simulation study is presented to evaluate the performance of generalized log-logistic in comparison with other commonly used PH models to describe different types of time-to-event data. We conclude in Section Conclusion by summarizing our findings.

The generalized log-logistic model

The generalized log-logistic distribution for a nonnegative random variable T can be conveniently specified in terms of the hazard function as follows:

$$ h(t;\boldsymbol{\alpha})=\frac{\kappa \rho (\rho t)^{\kappa-1}}{1+(\gamma t)^{\kappa}}, t>0, $$
(1)

where ρ>0, κ>0 and γ>0 are parameters and α=(κ,γ,ρ). If γ depends on ρ via γ=ρ and γ=ρ η −1/κ with η>0, then (1) reduces to the hazard function of the log-logistic (Lawless 2002) and Burr XII (Wang et al. 2008) distributions, respectively. Taking γ not dependent on ρ, it is easy to verify that (1) is closed under PH relationship (see below). The hazard function is monotone decreasing when κ≤1, and unimodal when κ>1 (i.e., h(t;α)=0 at t=0, increases to a maximum at t=[(κ−1)/γ κ]1/κ, and then approaches zero monotonically as t). Note that (1) approaches the Weibull hazard function as γ κ→0. This particular feature of the generalized log-logistic model enables it to handle monotone increasing hazard satisfactorily via κ>1 and γ small (close to zero).

The survivor function, probability density function and cumulative hazard function of the generalized log-logistic distribution are, respectively,

$$\begin{array}{*{20}l} &S(t;\boldsymbol{\alpha})=[1+(\gamma t)^{\kappa}]^{-\frac{\rho^{\kappa}}{\gamma^{\kappa}}}, \end{array} $$
(2)
$$\begin{array}{*{20}l} &f(t;\boldsymbol{\alpha})=\frac{\kappa \rho (\rho t)^{\kappa-1}}{\left[1+(\gamma t)^{\kappa}\right]^{\frac{\rho^{\kappa}}{\gamma^{\kappa}}+1}}, \end{array} $$
(3)
$$\begin{array}{*{20}l} &H(t;\boldsymbol{\alpha})=\frac{\rho^{\kappa}}{\gamma^{\kappa}} \log{[1+(\gamma t)^{\kappa}]}. \end{array} $$
(4)

The median of the distribution is \(\frac {\left (2^{\frac {\gamma ^{\kappa }}{\rho ^{\kappa }}}-1\right)^{\frac {1}{\kappa }}}{\gamma }\), and the r th moment is

$$ E(T^{r})=\frac{\rho^{\kappa}}{\gamma^{\kappa+r}}~ \frac{\Gamma\left(\frac{\rho^{\kappa}}{\gamma^{\kappa}}-\frac{r}{\kappa}\right) \Gamma\left(\frac{r}{\kappa}+1\right)}{\Gamma\left(\frac{\rho^{\kappa}}{\gamma^{\kappa}}+1\right)}~~ \text{provided}~~ \frac{\kappa \rho^{\kappa}}{\gamma^{\kappa}}>r. $$

In particular, the mean is \(E(T)=\frac {\rho ^{\kappa }}{\gamma ^{\kappa }} \frac {\Gamma \left (\frac {\rho ^{\kappa }}{\gamma ^{\kappa }}-\frac {1}{\kappa }\right) \Gamma \left (\frac {1}{\kappa }+1\right)}{\Gamma \left (\frac {\rho ^{\kappa }}{\gamma ^{\kappa }}+1\right)}\) provided \(\frac {\kappa \rho ^{\kappa }}{\gamma ^{\kappa }}>1\).

For the family of PH models with covariates z=(z 1,z 2,…,z p ), the hazard function for T can be expressed as

$$ h(t;\mathbf{z})=h_{0}(t;\boldsymbol{\alpha})~ e^{\mathbf{z}'\boldsymbol{\beta}}, $$
(5)

where h 0(t;α) is the baseline hazard function (i.e., the hazard function when z=0) characterized by the vector of parameters α, and β=(β 1,β 2,…,β p ) is the vector of regression coefficients. A fully parametric PH model can be formulated by specifying h 0(t;α) parametrically. If h 0(t;α) is specified by the generalized log-logistic hazard function (1), then (5) takes the form

$$ h(t;\mathbf{z})=\frac{\kappa \rho^{*} (\rho^{*} t)^{\kappa-1}}{1+(\gamma t)^{\kappa}}, $$
(6)

where \(\phantom {\dot {i}\!}\rho ^{*}=e^{\mathbf {z}'\boldsymbol {\beta }/\kappa }\). Thus the generalized log-logistic is closed under proportionality of hazards. Another widely used parametric PH family is the Weibull, for which h 0(t;α)=κ ρ(ρ t)κ. Note that the Cox PH model is semiparametric, for which the baseline hazard function in (5) is left arbitrary and is denoted by h 0(t).

Estimation

Suppose that a censored random sample consisting of data (t i ,δ i ,z i ), i=1,2,…,n, is available, where t i is a lifetime or censoring time according to whether δ i =1 or 0, respectively, and z i =(z i1,z i2,…,z ip ) is the vector of covariates for the i th individual. Letting \(m=\sum _{i=1}^{n} \delta _{i}\), a i = exp(z iβ) and b i =(γ t i )κ, the log-likelihood function for the generalized log-logistic PH can be written as

$$\begin{array}{*{20}l} \ell(\boldsymbol{\theta})&=m\log{\kappa}+m\kappa\log{\rho}+(\kappa-1)\sum_{i=1}^{n}{\delta_{i} \log{t_{i}}}-\sum_{i=1}^{n}{\delta_{i} \log{(1+b_{i})}} \\ &\quad+\sum_{i=1}^{n}{\delta_{i} \log{a_{i}}}-\left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}{a_{i}\log{(1+b_{i})}}, \end{array} $$
(7)

where θ=(α ,β ). The first derivatives of the log-likelihood function are

$$ \begin{aligned} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \kappa}&=\frac{m}{\kappa}+m\log{\rho}+\sum_{i=1}^{n}\delta_{i}\log{t_{i}}-\frac{1}{\kappa}\sum_{i=1}^{n}\delta_{i}b_{i}c_{i} -\left(\frac{\rho}{\gamma}\right)^{\kappa} \left(\frac{1}{\kappa}\right)\sum_{i=1}^{n}a_{i}b_{i}c_{i}\\ &\quad- \left(\frac{\rho}{\gamma}\right)^{\kappa}\log{\left(\frac{\rho}{\gamma}\right)}\sum_{i=1}^{n}a_{i}\log{(1+b_{i})},& \end{aligned} $$
(8)
$$ \begin{aligned} &\frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma}=-\left(\frac{\kappa}{\gamma}\right)\sum_{i=1}^{n}\delta_{i}d_{i}-\left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}d_{i}- \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\log{(1-d_{i})}, & \end{aligned} $$
(9)
$$ \begin{aligned} &\frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho}=\frac{m\kappa}{\rho}-\left(\frac{\kappa}{\rho}\right)\left(\frac{\rho}{\gamma}\right)^{\kappa}~ \sum_{i=1}^{n}a_{i}\log{(1+b_{i})},& \end{aligned} $$
(10)
$$ \begin{aligned} &\frac{\partial \ell(\boldsymbol{\theta})}{\partial \beta_{j}}=\sum_{i=1}^{n}\delta_{i}z_{ij}-\left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n} a_{i}\log{(1+b_{i})}z_{ij}\ \text{for}~ j=1,2,\ldots,p,& \end{aligned} $$
(11)

where c i = logb i /(1+b i ) and d i =b i /(1+b i ) (see Appendix). To improve the convergence of iterative procedures for maximum likelihood estimation and the accuracy of large-sample methods, we remove range restrictions on parameters through the parameterizations α =(κ ,γ ,ρ ), where κ = logκ, γ = logγ and ρ = logρ. The maximum likelihood estimate of θ =(α ,β ) can then be obtained by solving the equations (θ )/ κ =0, (θ )/ γ =0, (θ )/ ρ =0 and (θ )/ β j =0 iteratively, where (see Appendix)

$$\frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*}}= \left[\kappa\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \kappa}\right)\right]_{\boldsymbol{\alpha}=\exp{(\boldsymbol{\alpha}^{*})}},~~ \frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*}}= \left[\gamma\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma}\right)\right]_{\boldsymbol{\alpha}=\exp{(\boldsymbol{\alpha}^{*})}}, $$
$$\frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \rho^{*}}= \left[\rho\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho}\right)\right]_{\boldsymbol{\alpha}=\exp{(\boldsymbol{\alpha}^{*})}},~~ \frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \beta_{j}}= \left[\frac{\partial \ell(\boldsymbol{\theta})}{\partial \beta_{j}}\right]_{\boldsymbol{\alpha}=\exp{(\boldsymbol{\alpha}^{*})}}. $$

Many software packages have reliable optimization procedures to maximize log-likelihood functions. We wrote our computer code in R (R Core Team 2016), and used the function nlminb for optimization (see the Additional file 1).

Initial values

We may use Weibull, log-logistic and Cox PH fits to generate initial values in solving the equations (θ )/ κ =0, (θ )/ γ =0, (θ )/ ρ =0 and (θ )/ β j =0. Let \(\hat {\kappa }_{1}\) and \(\hat {\rho }_{1}\) be the maximum likelihood estimates of the Weibull shape and scale parameters, respectively, \(\hat {\kappa }_{2}\) and \(\hat {\rho }_{2}\) the maximum likelihood estimates of the log-logistic shape and scale parameters, respectively, and \(\hat {\boldsymbol {\beta }^{*}}\) the estimates of the regression coefficients for the Cox PH model. Note that maximum likelihood methods for the Weibull, log-logistic and Cox PH models are available in many statistical softwares, including R (R Core Team 2016). We propose to use \(\log {\hat {\kappa }_{1}}\), \(\log {|\hat {\kappa }_{1}-\hat {\kappa }_{2}|}\), \(\log {\hat {\rho }_{1}}\) and \(\hat {\boldsymbol {\beta }^{*}}\) as initial values for κ , γ , ρ and β, respectively. If convergence is not achieved with these initial values, we propose to replace \(\log {\hat {\kappa }_{1}}\) and \(\log {\hat {\rho }_{1}}\) by \(\log {\hat {\kappa }_{2}}\) and \(\log {\hat {\rho }_{2}}\), respectively. In fitting the generalized log-logistic model to many data sets, we have not experienced any difficulty in obtaining convergence with this technique.

Tests and confidence intervals

Tests and interval estimates for the model parameters are based on the approximate normality of the maximum likelihood estimators. The asymptotic distribution of \(\boldsymbol {\hat {\theta }}^{*}\) is approximately a (p+3)-variate normal distribution with mean θ and covariance matrix \(\Sigma =I(\boldsymbol {\hat {\theta }}^{*})^{-1}\), where

$$I(\boldsymbol{\hat{\theta}}^{*})=- \left[\begin{array}{cccc} \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*2}} & \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*} \partial \gamma^{*}} & \ldots & \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*} \partial \beta_{p}}\\ \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*} \partial \kappa^{*}} & \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*2}} & \ldots & \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*} \partial \beta_{p}}\\ \vdots & \vdots & \vdots & \vdots\\ \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \beta_{p} \partial \kappa^{*}} & \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \beta_{p}\partial \gamma^{*}} & \ldots & \frac{\partial^{2} \ell(\boldsymbol{\theta^{*}})}{\partial {\beta^{2}_{p}}} \end{array}\right]_{\boldsymbol{\theta}^{*}=\boldsymbol{\hat{\theta}}^{*}}. $$

is the (p+3)×(p+3) observed information matrix (second derivatives of (θ ) are given in Appendix: Derivatives of the log-likelihood function). By the multivariate delta method, the asymptotic distribution of \(\boldsymbol {\hat {\theta }}\) is also approximately normal with mean θ and covariance matrix D Σ D , where D is the (p+3)×(p+3) diagonal matrix \(diag(\boldsymbol {\hat {\alpha }},1,1,\ldots,1)\) and \(\boldsymbol {\hat {\alpha }}=\exp {(\boldsymbol {\hat {\alpha }}^{*})}\).

Generalized log-logistic distribution in joint modeling

Joint models are used to quantify association between an internal time-dependent covariate and time until an event of interest occurs (Wulfsohn and Tsiatis 1997). It involves two separate models: a model that takes into account measurement error in the time-dependent covariate to estimate its true values (longitudinal model), and another model that uses these estimated values to quantify the association between this covariate and the time to the occurrence of the event (time-to-event model). The idea behind the joint modeling technique is to couple the time-to-event model with the longitudinal model. The general framework of the maximum likelihood method and large sample theory can be found in Rizopoulos (2012). Maximization of the log-likelihood function for joint modeling is computationally challenging, as it involves evaluating multiple integrals that do not have an analytical solution, except in very special cases. The R package JM has been developed by Rizopoulos (2010) to fit joint models using Weibull baseline hazard, piecewise-constant baseline hazard, spline approximation of the baseline hazard and unspecified baseline hazard functions. We have modified the source codes for Weibull to fit joint models using the generalized log-logistic baseline hazard function. The application of the generalized log-logistic distribution in joint modeling is illustrated with an example in Section 1.

Goodness of fit

The nonparametric estimates are useful for assessing the quality of fit of a particular parametric time-to-event model (Lawless 2002). For a model without covariate, we use the approach to simultaneously examine plots of parametric and nonparametric estimates of the survival function, superimposed on the same graph. Let \(S(t;\hat {\boldsymbol {\theta }})\) and \(\hat {S}(t)\) be the estimates of the survivor functions based on the parametric model of interest and the Kaplan-Meier method (Kaplan and Meier 1958), respectively. The estimates \(S(t;\hat {\boldsymbol {\theta }})\) as a function of t should be close to \(\hat {S}(t)\) if the parametric model is adequate. For a model with covariates, we consider residual diagnostic plots, where the residuals are defined based on the cumulative hazard function H(t;θ). If \(\hat {S}(H(t;\boldsymbol {\hat {\theta }}))\) is the Kaplan-Meier estimate of \(H(t;\boldsymbol {\hat {\theta }})\), then a plot of \(-\log \hat {S}(H(t;\boldsymbol {\hat {\theta }}))\) versus \(H(t;\boldsymbol {\hat {\theta }})\) should be roughly a straight line with unit slope when the model is adequate (Lawless 2002).

We also use the Akaike’s information criterion (AIC) (Akaike 1974) to compare the fits of different models. The AIC is defined by

$$\textrm{AIC}=-2 \log(\mathrm{maximized~likelihood}) + 2(p+k), $$

where p is the number of covariates and k is the number of parameters of the assumed probability distribution (k=3 for the generalized log-logistic model). In general, when comparing two or more models, we prefer the one with the lowest AIC value. A rule of thumb is that if Δ M=AICM−AICmin>2, then there is considerably less support for Model M compared to the model with minimum AIC (Burnham and Anderson 2002).

Examples

Three data sets are taken from the literature to demonstrate the ability of the generalized log-logistic distribution in modeling time-to-event data. The application of the generalized log-logistic PH in joint modeling is illustrated using another data set of AIDS patients. We first use the scaled TTT transform of failure times to detect the shape of the hazard function (Mudholkar et al. 1996). The scaled TTT transform is given by \(\phi (v/n)=\left [\sum _{i=1}^{v}{T_{(i)}}+(n-v)T_{(v)}\right ]/\left (\sum _{i=1}^{n}{T_{(i)}}\right)\), where T (i) represent the order statistics of the sample, and v=1,2,…,n. The hazard function is increasing, decreasing and unimodal if the plot of (v/n,ϕ(v/n)) is concave, convex, and concave followed by convex, respectively. For the first three examples (Sections Example 1: Head and neck cancer data-Example 3: Vaginal cancer mortality in rats), we first fit the generalized log-logistic, Weibull and log-logistic models (without covariate) and check the appropriateness of the distributional assumption using diagnostic plots. Then, we analyze the data using regression models, and compare the fits via residual plots. Note that the regression model based on the log-logistic distribution is given by logT=β 0+β 1 z 1+…+β p z p +τ W where τ=1/κ, β 0=− logρ and W has the logistic distribution with density f(w)=e w/(1+e w)2, – <w<. This model has an accelerated life interpretation (Lawless 2002), whereas the generalized log-logistic and Weibull PH models have relative risk interpretation. In the fourth example (Section Example 4: AIDS data), we consider joint models based on the generalized log-logistic, Weibull and piecewise-constant baseline hazard functions.

Example 1: Head and neck cancer data

Data description, hazard shape and distributional assumption

Efron (1988) described a randomized clinical trial to compare radiation therapy alone (arm A) versus radiation plus chemotherapy (arm B) in treating head and neck cancer patients. Survival times (in days) for 51 patients in arm A (9 observations were censored) and 45 in arm B (14 were censored) were reported. The TTT plot in Fig. 1(a) suggests a unimodal hazard shape of the survival times. Plots of \(S(t;\hat {\boldsymbol {\theta }})\) and \(\hat {S}(t)\) (Fig. 2(ac)) indicate more support for the generalized log-logistic distribution in comparison with the Weibull and log-logistic distributions in describing the head and neck cancer data.

Fig. 1
figure 1

TTT plots for the four data sets used in Examples 1-4

Fig. 2
figure 2

Diagnostic plots for the head and neck cancer data

Regression analysis

Letting z i = I(treatment = radiation therapy) that equals 1 if the treatment involves radiation therapy alone and 0 otherwise, we fit the generalized log-logistic PH, Weibull PH and log-logistic AFT models to the head and neck cancer data (numerical results are summarized in Table 1). The standard error of \(\hat {\beta }\) for the generalized log-logistic model is smaller that those for the Weibull and log-logistic models, and therefore the generalized log-logistic would be preferred on grounds of efficiency. We also see that the generalized log-logistic has the lowest AIC value, which is supported by the residual plots (Fig. 2(df)): residuals lying closely to the unit-slope line for generalized log-logistic indicate its superiority over the Weibull and log-logistic models. In summary, the generalized log-logistic fits the data adequately and is the best among the three models under consideration.

Table 1 Generalized log-logistic, Weibull and log-logistic fits for the head and neck cancer data

Example 2: Autologous and allogeneic bone marrow transplants

Data description, hazard shape and distributional assumption

Klein and Moeschberger (2003) described a study involving a sample of 101 patients with advanced acute myelogenous leukemia. Fifty-one of these patients had received an autologous (auto) bone marrow transplant, whereas 50 an allogeneic (allo) transplant. Survival times (in months) for 28 auto transplant and 22 allo transplant patients were censored. Careful inspection of the TTT plot in Fig. 1(b) reveals an indication of the unimodality of the hazard function. A comparison of the diagnostic plots (without covariate) in Fig. 3(ac) suggests that the assumption of generalized log-logistic is more appropriate than the assumption of Weibull or log-logistic in describing these data.

Fig. 3
figure 3

Diagnostic plots for the autologous and allogeneic bone marrow transplants data

Regression analysis

For regression analysis, we consider the covariate z i = I(transplant = allo). The fits via the generalized log-logistic PH, Weibull PH and log-logistic AFT are summarized in Table 2. The generalized log-logistic has the lowest AIC value, suggesting it produced the best-fitting model. The residual plots (Fig. 3(df)) also support this fact. It is interesting to note here that both the Weibull and log-logistic suggest a decreasing hazard function (estimate of the shape parameter is less than 1), whereas the generalized log-logistic captures the unimodal shape of the hazard function (\(\hat {\kappa }=e^{0.2148}=1.24>1\)).

Table 2 Generalized log-logistic, Weibull and log-logistic fits for the bone marrow transplants data

Example 3: Vaginal cancer mortality in rats

Data description, hazard shape and distributional assumption

Pike (1966) described a laboratory experiment involving the development of vaginal cancer in rats insulted with the carcinogen DMBA. There were 19 rats in group 1 and 21 in group 2. Seventeen rats in group 1 and 19 in group 2 had developed tumours at the time the data were collected (i.e., two observations in each group were censored). There were reasonable scientific grounds for believing that there might be a threshold value before which no tumour could be detected. For this reason, Lawless (2002) considered the values t =t−100 to analyze these data. We also consider here the transformed version of the original observations. The TTT plot in Fig. 1(c) suggests an increasing hazard function for T . Figure 4(ac) shows diagnostic plots for the generalized log-logistic, Weibull and log-logistic fits (without covariate). We see that the generalized log-logistic and Weibull fits are similar, and provide slightly better description of the data compared to the log-logistic model.

Fig. 4
figure 4

Diagnostic plots for the vaginal cancer mortality data

Regression analysis

For regression analysis, we consider the covariate z i = I(group = group 1). Table 3 gives the estimates of the parameters and associated standard errors from the generalized log-logistic, Weibull and log-logistic fits. As demonstrated by the TTT plot, the Weibull PH suggests an increasing hazard rate (\(\hat {\kappa }=e^{1.1308}=3.098\)). Note that a small value of \(\hat {\gamma }\) (\(\hat {\gamma }=e^{-5.0190}=0.007\)) and \(\hat {\kappa }=e^{1.2568}=3.514>1\) for generalized log-logistic also support this fact. Although the AIC values (Table 3) suggest no obvious preference of one model over the other, the residual plots (Fig. 4(df)) clearly indicate more support for the generalized log-logistic and Weibull models. This example demonstrates that the generalized log-logistic has the ability to satisfactorily fit data which exhibit increasing hazard rates.

Table 3 Generalized log-logistic, Weibull and log-logistic fits for the vaginal cancer mortality data

Example 4: AIDS data

Data description and hazard shape

This example illustrates the use of the generalized log-logistic distribution in joint modeling. Rizopoulos (2012) described a study involving 467 human immunodeficiency virus (HIV) infected patients who had failed or were intolerant to zidovudine therapy (ZT). The main objective was to compare two antiretroviral drugs to prevent the progression of HIV infections: didanosine (ddI) and zalcitabine (ddC). Patients were randomly assigned to receive either ddI or ddC and followed until death or the end of the study, resulting in 188 complete and 279 censored observations. It was also of interest to quantify the association between CD4 cell counts (internal time-dependent covariate) measured at t=0, 2, 6, 12 and 18 months, and time to death. The TTT plot in Fig. 1(d) indicates an increasing hazard shape.

Regression analysis

For regression analysis, Rizopoulos (2012) considered joint models of the form

$$\begin{array}{*{20}l} &h_{i}(t;\mathbf{z}_{i})=h_{0}(t;\boldsymbol{\alpha}) \exp{\{\beta_{0}+\beta_{1} \text{drug}_{i}+\beta_{2} \text{sex}_{i}+\beta_{3} \text{ZT}_{i}+\beta_{4} \textrm{CD4}_{i}(t)\}}, \end{array} $$
(12)
$$\begin{array}{*{20}l} &\textrm{CD4}_{i}(t)=b_{0}+b_{1} t+b_{2}(t\times \text{drug}_{i})+b_{0i}+b_{1i}t+\epsilon_{i}(t), \end{array} $$
(13)

where (12) is the time-to-event model with drug i =I(drug = ddI), sex i =I(sex = male) and ZT i =I(ZT = failure); and (13) is the longitudinal model with b 0, b 1 and b 2 being the fixed-effects parameters, b 0i and b 1i the random-effects parameters, and ε i (t) the random error component. We have reanalyzed the data here using generalized log-logistic, Weibull and piecewise-constant (six knots placed at equally spaced percentiles of the observed event times (Rizopoulos 2012)) baseline hazard functions in (12). Note that h 0(t;α)=κ t κ−1/[1+(γ t)κ] and κ t κ−1 for generalized log-logistic and Weibull, respectively, and so β 0=κ logρ for both these models. For piecewise-constant baseline hazard, \(h_{0}{(t;\boldsymbol {\alpha })}=\sum _{q=1}^{7}\xi _{q}\mathrm {I}(v_{q-1}<t\leq v_{q})\) and β 0=0 in (12), where 0=v 0<v 1<…<v 7 is the split of the time scale and ξ q is the value of the hazard in the interval (v q−1,v q ]. The estimates of the parameters and standard errors for the time-to-event process are presented in Table 4. We see that the estimates of the coefficients (i.e., \(\hat {\beta }_{1}\), \(\hat {\beta }_{2}\), \(\hat {\beta }_{3}\) and \(\hat {\beta }_{4}\)) and their standard errors are broadly similar under the three competing models. The AIC values and residual plots (Fig. 5) also suggest no obvious preference of one model over the other. Although we see no obvious preference of the generalized log-logistic model for this example for which the hazard function is monotone increasing, generalized log-logistic could be useful in joint modeling where the shape of the hazard function is unimodal.

Fig. 5
figure 5

Residual plots for the AIDS data

Table 4 AIDS data: estimates and standard errors for the time-to-event process of joint models

Simulations

Four covariates in a PH regression framework were considered in all simulations: two continuous covariates (z 1 and z 2), each generated from the standard normal distribution; and two binary covariates (z 3 and z 4), each generated from the Bernoulli(0.5) distribution. Regression parameter values were chosen to be β=(0.50,−0.50,0.75,−0.75) corresponding to the covariate vector z=(z 1,z 2,z 3,z 4). To evaluate the performance of the generalized log-logistic model, we considered three simulation scenarios based on the shape of the hazard function. For each scenario (see below), lifetime data were generated from the generalized Weibull distribution with probability density function

$$ f(t;\boldsymbol{\alpha},\boldsymbol{\beta})=\kappa\rho(\rho t)^{\kappa-1}~ \exp{(\mathbf{z}'\boldsymbol{\beta})}~[1-\gamma(\rho t)^{\kappa}]^{\frac{\exp{(\mathbf{z}'\boldsymbol{\beta})}}{\gamma}-1}, $$
(14)

where ρ>0, κ>0 and −<γ< are distributional parameters and α=(κ,γ,ρ); the support of the distribution is t>0 for γ≤0 and \(0<t<\frac {1}{\rho \gamma ^{\kappa }}\) for γ>0. Note that the hazard function of the generalized Weibull distribution is (a) monotone increasing for κ≥1 and γ≥1, (b) monotone decreasing for 0<κ≤1 and γ≤1, and (c) unimodal for κ>1 and γ<0. The simulation scenarios are then specified as follows.

  • Scenario 1: Decreasing hazard. Lifetimes were generated from generalized Weibull with κ=0.5, γ=−0.1 and ρ=0.1, and censoring times were generated from the exponential distribution with rate parameter λ=0.045.

  • Scenario 2: Increasing hazard. Lifetimes were generated from generalized Weibull with κ=2, γ=0.1 and ρ=0.1, and censoring times were generated from the exponential distribution with rate parameter λ=0.060.

  • Scenario 3: Unimodal hazard. Lifetimes were generated from generalized Weibull with κ=2, γ=−0.1 and ρ=0.1, and censoring times were generated from the exponential distribution with rate parameter λ=0.060.

Our choice of the parameter values led to, on average, 39.99, 40.69 and 42.99% censored observations for Scenarios 1-3, respectively. Given the covariates and censoring indicator, we then fit the generalized log-logistic, Weibull and Cox PH models to the simulated lifetimes. Note that since the Cox model is robust (usually fits the data well no matter which parametric model is appropriate), we consider this in our simulation study to compare model performance. For each scenario, 500 data sets (each of size n=100) were generated, and the average of each of the estimated model parameters across these data sets was calculated. Absolute bias (AB) and mean square error (MSE) were then computed for model comparison (numerical results are summarized in Table 5).

Table 5 Model performance and comparison using simulation study (n=100) with about 40% censored observations

Results for scenario 1. For the continuous covariates (z 1 and z 2), all three models produced estimates with similar MSE, whereas for the binary covariates (z 3 and z 4), the generalized log-logistic demonstrated the smallest MSE. In terms of bias, generalized log-logistic and Cox PH were roughly equivalent, and both were superior to Weibull.

Results for scenario 2. For the regression coefficients, the generalized log-logistic produced estimates with the smallest bias. We also see that the generalized log-logistic and Weibull produced estimates with similar MSE, and both were superior to the Cox PH model. Note that the generalized log-logistic estimates for κ and γ were 2.269 and 0.006, respectively (i.e., the estimate of γ κ is close to zero), supporting the fact that the hazard function is monotone increasing.

Results for scenario 3. In terms of bias, the generalized log-logistic and Cox PH produced comparable estimates of the regression coefficients. However, the generalized log-logistic produced the most accurate estimates in terms of MSE, mostly as a consequence of smaller standard deviations of the estimates. As expected, the Weibull produced the least accurate estimates in terms of both bias and MSE for Scenario 3 (i.e., unimodal hazard).

A simulation study with about 20% censored observations per data set also led to similar conclusions (data not shown). In summary, our simulation study has demonstrated that the generalized log-logistic could potentially be a very useful parametric model to adequately describe different types of time-to-event data.

Conclusion

In this paper, we proposed a simple extension of the log-logistic distribution to a PH model by appending an additional parameter. As described in Section 1, the proposed model naturally accommodates decreasing and unimodal hazard functions. The log-logistic distribution is known to be useful to describe unimodal hazard functions (Lawless 2002). As demonstrated in Examples 1 and 2, it turns out that the generalized log-logistic may provide better fits in describing unimodal hazard functions compared to the log-logistic distribution. Moreover, our simulation study revealed that the generalized log-logistic could produce more accurate results compared to the Weibull and Cox PH models in describing monotone decreasing and unimodal hazard functions. In summary, the flexibility provided by the generalized log-logistic model could be very useful in adequately describing different types of time-to-event data.

Appendix: Derivatives of the log-likelihood function

Let \(m=\sum _{i=1}^{n} \delta _{i}\), a i = exp(z iβ), b i =(γ t i )κ, c i = logb i /(1+b i ) and d i =b i /(1+b i ). We have

  • $$ {\log{(\gamma t_{i})}= \frac{\log{b_{i}}}{\kappa},} $$
    (15)
  • $$ {(\gamma t_{i})^{\kappa} \log{(\gamma t_{i})}= \frac{b_{i}\log{b_{i}}}{\kappa},} $$
    (16)
  • $$ {\frac{\partial b_{i}}{\partial \kappa}=\frac{\partial}{\partial \kappa} (\gamma t_{i})^{\kappa} = (\gamma t_{i})^{\kappa} \log{(\gamma t_{i})}= \frac{b_{i}\log{b_{i}}}{\kappa},} $$
    (17)
  • $$ {\frac{\partial \log{b_{i}}}{\partial \kappa}= \frac{\log{b_{i}}}{\kappa},} $$
    (18)
  • $$ {\frac{\partial \log{(1+b_{i})}}{\partial \kappa}= \frac{b_{i}\log{b_{i}}}{\kappa(1+b_{i})}=\frac{b_{i}c_{i}}{\kappa},} $$
    (19)
  • $$ {\frac{\partial b_{i}\log{b_{i}}}{\partial \kappa}=\frac{b_{i}\log{b_{i}}}{\kappa}\log{b_{i}}+b_{i}\frac{\log{b_{i}}}{\kappa}=\frac{b_{i}(\log{b_{i}})(1+\log{b_{i}})}{\kappa},} $$
    (20)
  • $$ {\frac{\partial c_{i}}{\partial \kappa}=\frac{\partial}{\partial \kappa} \frac{\log{b_{i}}}{1+b_{i}} =\frac{\log{b_{i}}}{\kappa(1+b_{i})}\left(1-\frac{b_{i}\log{b_{i}}}{1+b_{i}}\right) =\frac{c_{i}(1-b_{i}c_{i})}{\kappa},} $$
    (21)
  • $$ {\frac{\partial b_{i}c_{i}}{\partial \kappa}=\frac{b_{i}c_{i}(1-b_{i}c_{i}+\log{b_{i}})}{\kappa} = \frac{b_{i}c_{i}(1+c_{i})}{\kappa},} $$
    (22)
  • $$ {\frac{\partial d_{i}}{\partial \kappa}=\frac{\partial}{\partial \kappa}\frac{b_{i}}{1+b_{i}}=\frac{b_{i}\log{b_{i}}}{\kappa(1+b_{i})}\left(1-\frac{b_{i}}{1+b_{i}}\right)= \frac{c_{i}d_{i}}{\kappa},} $$
    (23)
  • $$ {\frac{\partial \log{(1-d_{i})}}{\partial \kappa}= \frac{\partial}{\partial \kappa} \log{(1+b_{i})^{-1}}=-\frac{\partial}{\partial \kappa} \log{(1+b_{i})}=-\frac{b_{i}c_{i}}{\kappa},} $$
    (24)
  • $$ {\frac{\partial b_{i}}{\partial \gamma}=\frac{\partial}{\partial \gamma} (\gamma t_{i})^{\kappa} = \kappa\gamma^{\kappa-1}t_{i}^{\kappa}=\frac{\kappa}{\gamma}b_{i},} $$
    (25)
  • $$ {\frac{\partial d_{i}}{\partial \gamma}=\frac{\partial}{\partial \gamma} \frac{b_{i}}{1+b_{i}}=\frac{\kappa}{\gamma}\frac{b_{i}}{1+b_{i}}\left(1-\frac{b_{i}}{1+b_{i}}\right)=\frac{\kappa}{\gamma}~d_{i}(1-d_{i}),} $$
    (26)
  • $$ {\frac{\partial}{\partial \gamma} \log{(1-d_{i})} =-\frac{\partial}{\partial \gamma}\log{(1+b_{i})}=-\frac{\kappa}{\gamma}~\frac{b_{i}}{1+b_{i}} = -\frac{\kappa}{\gamma}~d_{i}.} $$
    (27)

Using (7) and (15)-(27), we can derive the first and second derivatives of the log-likelihood function as follows.

$$ \begin{aligned} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \kappa}&=\frac{m}{\kappa}+m\log{\rho}+\sum_{i=1}^{n}\delta_{i}\log{t_{i}}-\frac{1}{\kappa}\sum_{i=1}^{n}\delta_{i}b_{i}c_{i} -\left(\frac{\rho}{\gamma}\right)^{\kappa} \left(\frac{1}{\kappa}\right)\sum_{i=1}^{n}a_{i}b_{i}c_{i}&\\ & \quad - \left(\frac{\rho}{\gamma}\right)^{\kappa}\log{\left(\frac{\rho}{\gamma}\right)}\sum_{i=1}^{n}a_{i}\log{(1+b_{i})}.& \end{aligned} $$
$$ \begin{aligned} &\frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma}=-\left(\frac{\kappa}{\gamma}\right)\sum_{i=1}^{n}\delta_{i}d_{i}-\left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}d_- \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\log{(1-d_{i})}. & \end{aligned} $$
$$ \begin{aligned} &\frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho}=\frac{m\kappa}{\rho}-\left(\frac{\kappa}{\rho}\right)\left(\frac{\rho}{\gamma}\right)^{\kappa}~ \sum_{i=1}^{n}a_{i}\log{(1+b_{i})}. \end{aligned} $$
$$ \begin{aligned} &\frac{\partial \ell(\boldsymbol{\theta})}{\partial \beta_{j}}=\sum_{i=1}^{n}\delta_{i}z_{ij}-\left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n} a_{i}\log{(1+b_{i})}z_{ij}~\text{for}~ j=1,2,\ldots,p.& \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa^{2}}&=\frac{\partial}{\partial \kappa} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \kappa}& \\ &=\,-\,\frac{m}{\kappa^{2}}\,+\,\frac{1}{\kappa^{2}}\sum_{i=1}^{n}\delta_{i}b_{i}c_{i}\,-\,\frac{1}{\kappa^{2}}\sum_{i=1}^{n}\delta_{i}b_{i}c_{i}(1\,+\,c_{i})\,-\,\left(\frac{\rho}{\gamma}\right)^{\kappa} \log{\left(\frac{\rho}{\gamma}\right)}\left(\frac{1}{\kappa}\right)\sum_{i=1}^{n}a_{i}b_{i}c_{i}& \\ &~~~~+\left(\frac{\rho}{\gamma}\right)^{\kappa} \left(\frac{1}{\kappa^{2}}\right)\sum_{i=1}^{n}a_{i}b_{i}c_{i} - \left(\frac{\rho}{\gamma}\right)^{\kappa} \left(\frac{1}{\kappa^{2}}\right)\sum_{i=1}^{n}a_{i}b_{i}c_{i}(1+c_{i}) & \\ &~~~~ - \left(\frac{\rho}{\gamma}\right)^{\kappa} \log{\left(\frac{\rho}{\gamma}\right)} \left(\frac{1}{\kappa}\right) \sum_{i=1}^{n}a_{i}b_{i}c_{i} \,-\,\left(\frac{\rho}{\gamma}\right)^{\kappa} \left\{\log{\left(\frac{\rho}{\gamma}\right)}\right\}^{2} \sum_{i=1}^{n}a_{i}\log{(1+b_{i})} & \\ &=\,-\,\frac{m}{\kappa^{2}}\,-\,\frac{1}{\kappa^{2}}\!\!\sum_{i=1}^{n}\delta_{i}b_{i}{c_{i}^{2}} \,-\, \left(\!\frac{\rho}{\gamma}\!\right)^{\kappa} \!\left(\!\frac{1}{\kappa^{2}}\!\right)\sum_{i=1}^{n}a_{i}b_{i}{c_{i}^{2}}\,-\, \!\left(\!\frac{2}{\kappa}\!\right) \!\left(\!\frac{\rho}{\gamma}\!\right)^{\kappa} \log{\left(\frac{\rho}{\gamma}\right)}\sum_{i=1}^{n}a_{i}b_{i}c_{i} &\\ &~~~-\left(\frac{\rho}{\gamma}\right)^{\kappa} \left\{\log{\left(\frac{\rho}{\gamma}\right)}\right\}^{2} \sum_{i=1}^{n}a_{i}\log{(1+b_{i})}. & \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \gamma^{2}}&=\frac{\partial}{\partial \gamma} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma}& \\ &=\left(\frac{\kappa}{\gamma^{2}}\right)\sum_{i=1}^{n}\delta_{i}d_{i} -\left(\frac{\kappa}{\gamma}\right)^{2} \sum_{i=1}^{n}\delta_{i} d_{i}(1-d_{i}) +\kappa \rho^{\kappa} \left(\frac{\kappa+1}{\gamma^{\kappa+2}}\right)\sum_{i=1}^{n}a_{i}d_{i} &\\ &~~~~-\left(\frac{\kappa}{\gamma}\right)^{2} \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i} d_{i}(1-d_{i}) +\kappa \rho^{\kappa} \left(\frac{\kappa+1}{\gamma^{\kappa+2}}\right)\sum_{i=1}^{n}a_{i}\log{(1-d_{i})} &\\ &~~~~ + \left(\frac{\kappa}{\gamma}\right)^{2} \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n} a_{i}d_{i} & \\ &= \left(\frac{\kappa}{\gamma^{2}}\right)\sum_{i=1}^{n}\delta_{i}d_{i} -\left(\frac{\kappa}{\gamma}\right)^{2} \sum_{i=1}^{n}\delta_{i} d_{i}(1-d_{i}) & \\ &~~~~+ \frac{\kappa(\kappa+1)}{\gamma^{2}} \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}[d_{i}+\log{(1-d_{i})}] + \left(\frac{\kappa}{\gamma}\right)^{2} \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n} a_{i}{d_{i}^{2}}. & \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \rho^{2}}&=\frac{\partial}{\partial \rho} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho} =-\frac{m\kappa}{\rho^{2}} -\frac{\kappa(\kappa-1)}{\rho^{2}} \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\log{(1+b_{i})}. & \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \beta_{j} \partial \beta_{j'}}&=\frac{\partial}{\partial \beta_{j}} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \beta_{j'}}=-\left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\log{(1+b_{i})}z_{ij}z_{ij'} \text{~for}~ j,j'=1,2,\ldots,p.& \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa \partial \gamma}&=\frac{\partial}{\partial \kappa} \frac{\partial \ell(\boldsymbol{\theta})}{\partial\gamma}& \\ &=-\left(\frac{1}{\gamma}\right)\sum_{i=1}^{n}\delta_{i} d_{i} -\left(\frac{\kappa}{\gamma}\right)\left(\frac{1}{\kappa}\right)\sum_{i=1}^{n}\delta_{i}c_{i}d_{i} -\left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \left(\frac{1}{\kappa}\right)\sum_{i=1}^{n}a_{i}c_{i}d_{i}& \\ &\!\,-\,\!\left(\!\frac{1}{\gamma}\!\right)\!\left(\!\frac{\rho}{\gamma}\!\right)^{\kappa} \sum_{i=1}^{n}a_{i}d_{i} \,-\,\left(\!\frac{\kappa}{\gamma}\!\right)\!\left(\!\frac{\rho}{\gamma}\!\right)^{\kappa} \log{\!\left(\frac{\rho}{\gamma}\!\right)}\sum_{i=1}^{n}a_{i}d_{i}\! +\! \!\left(\!\frac{\kappa}{\gamma}\!\right)\!\left(\!\frac{\rho}{\gamma}\!\right)^{\kappa} \left(\frac{1}{\kappa}\right)\!\sum_{i=1}^{n}a_{i}b_{i}c_{i} & \\ &- \left(\frac{1}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\log{(1-d_{i})} -\left(\frac{\kappa}{\gamma}\right)\left(\frac{\rho}{\gamma}\right)^{\kappa} \log{\left(\frac{\rho}{\gamma}\right)} \sum_{i=1}^{n}a_{i}\log{(1-d_{i})} & \end{aligned} $$
$$ \begin{aligned} &=-\left(\frac{1}{\gamma}\right) \sum_{i=1}^{n}\delta_{i}d_{i}(1+c_{i})- \left(\frac{1}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}[d_{i}+\log{(1-d_{i})}+c_{i}(d_{i}-b_{i})] & \\ & - \left(\frac{\kappa}{\gamma}\right)\left(\frac{\rho}{\gamma}\right)^{\kappa} \log{\left(\frac{\rho}{\gamma}\right)} \sum_{i=1}^{n} a_{i}[d_{i}+\log{(1-d_{i})}].& \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa \partial \rho}&=\frac{\partial}{\partial \kappa} \frac{\partial \ell(\boldsymbol{\theta})}{\partial\rho} & \\ &\,=\,\frac{m}{\rho}\,-\,\left(\frac{1}{\rho}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \!\sum_{i=1}^{n}a_{i}\log{(1\,+\,b_{i})}\,-\, \left(\frac{\kappa}{\rho}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \!\log{\left(\frac{\rho}{\gamma}\right)} \sum_{i=1}^{n}a_{i}\log{(1\,+\,b_{i})} & \\ &-\left(\frac{\kappa}{\rho}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \left(\frac{1}{\kappa}\right)\sum_{i=1}^{n}a_{i}b_{i}c_{i} & \\ &=\frac{m}{\rho} - \left(\frac{1}{\rho}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\left[b_{i}c_{i}+\log{(1+b_{i})}\right] \\&\quad- \left(\frac{\kappa}{\rho}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \log{\left(\frac{\rho}{\gamma}\right)} \sum_{i=1}^{n}a_{i}\log{(1+b_{i})}. & \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa \partial \beta_{j}}&\,=\,\frac{\partial}{\partial \beta_{j}} \frac{\partial \ell(\boldsymbol{\theta})}{\partial\kappa}\,=\,-\!\left(\!\frac{1}{\kappa}\!\right) \left(\!\frac{\rho}{\gamma}\!\right)^{\kappa} \!\sum_{i=1}^{n}a_{i}b_{i}c_{i}z_{ij}\,-\,\left(\frac{\rho}{\gamma}\right)^{\kappa} \!\log{\left(\frac{\rho}{\gamma}\right)} \!\sum_{i=1}^{n}a_{i}\log{(1\,+\,b_{i})}z_{ij}.& \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \gamma \partial \rho}&=\frac{\partial}{\partial \gamma} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho} & \\ &=\left(\frac{\kappa}{\rho}\right) \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa}\sum_{i=1}^{n}a_{i} \log{(1+b_{i})}-\left(\frac{\kappa}{\rho}\right) \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}d_{i} & \\ &=-\left(\frac{\kappa}{\rho}\right) \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa}\sum_{i=1}^{n}a_{i} \log{(1-d_{i})}-\left(\frac{\kappa}{\rho}\right) \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}d_{i} & \\ &=-\left(\frac{\kappa}{\rho}\right) \left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}[d_{i}+\log{(1-d_{i})}]. &. \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \gamma \partial \beta_{j}}&=\frac{\partial}{\partial \beta_{j}} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma} & \\ &=-\left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa}\sum_{i=1}^{n}a_{i}d_{i}z_{ij}-\left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa}\sum_{i=1}^{n}a_{i}\log{(1-d_{i})}z_{ij} & \\ &=-\left(\frac{\kappa}{\gamma}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}[d_{i}+\log{(1-d_{i})}]z_{ij}. & \end{aligned} $$
$$ \begin{aligned} \frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \rho \partial \beta_{j}}&=\frac{\partial}{\partial \beta_{j}} \frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho} & \\ &=-\left(\frac{\kappa}{\rho}\right) \left(\frac{\rho}{\gamma}\right)^{\kappa} \sum_{i=1}^{n}a_{i}\log{(1+b_{i})}z_{ij}. & \end{aligned} $$

The maximum likelihood estimate of θ =(α ,β ) is obtained by solving the equations (θ )/ κ =0, (θ )/ γ =0, (θ )/ ρ =0 and (θ )/ β j =0 iteratively. The first and second derivatives of (θ ) can be derived by noting that

$$ \frac{\partial \ell}{\partial \log u}=u\left(\frac{\partial \ell}{\partial u}\right),\\ $$
(28)
$$ \frac{\partial^{2} \ell}{\partial \log u ~\partial \log v}=u \left(\frac{\partial v}{\partial u}\right) \left(\frac{\partial \ell}{\partial v}\right) + uv \left(\frac{\partial^{2} \ell}{\partial u \partial v}\right), \\ $$
(29)
$$ \frac{\partial^{2} \ell}{\partial \log u ~\partial v} = u \left(\frac{\partial^{2} \ell}{\partial u \partial v}\right). $$
(30)

Using (29)-(30), the first and second derivatives of (θ ) can be expressed as

$$\frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*}}= \left[\kappa\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \kappa}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}},~~ \frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*}}= \left[\gamma\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \rho^{*}}= \left[\rho\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, ~~ \frac{\partial \ell(\boldsymbol{\theta}^{*})}{\partial \beta_{j}}= \left[\frac{\partial \ell(\boldsymbol{\theta})}{\partial \beta_{j}}\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*2}}= \left[\kappa\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \kappa}\right)+ \kappa^{2} \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa^{2}}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*2}}= \left[\gamma\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \gamma}\right)+ \gamma^{2} \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \gamma^{2}}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \rho^{*2}}= \left[\rho\left(\frac{\partial \ell(\boldsymbol{\theta})}{\partial \rho}\right)+ \rho^{2} \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \rho^{2}}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \beta_{j} \partial \beta_{j'}}= \left[\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \beta_{j} \partial \beta_{j'}}\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, ~~ \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*} \partial \gamma^{*}}= \left[\kappa\gamma \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa \partial \gamma}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*} \partial \rho^{*}}= \left[\kappa\rho \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa \partial \rho}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, ~~ \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \kappa^{*} \partial \beta_{j}}= \left[\kappa \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \kappa \partial \beta_{j}}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*} \partial \rho^{*}}= \left[\gamma \rho \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \gamma \partial \rho}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, ~~ \frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \gamma^{*} \partial \beta_{j}}= \left[\gamma \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \gamma \partial \beta_{j}}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}, $$
$$\frac{\partial^{2} \ell(\boldsymbol{\theta}^{*})}{\partial \rho^{*} \partial \beta_{j}}= \left[\rho \left(\frac{\partial^{2} \ell(\boldsymbol{\theta})}{\partial \rho \partial \beta_{j}}\right)\right]_{\boldsymbol{\alpha}=e^{\boldsymbol{\alpha}^{*}}}. $$

References

  • Akaike, H: A new look at the statistical model identification. IEEE Trans. Autom. Control. 19, 716–723 (1974).

    Article  MathSciNet  MATH  Google Scholar 

  • Burnham, KP, Anderson, DR: Model Selection and Multimodel Inference: A Practical Information-Theoretic Approach. Springer, New York (2002).

    MATH  Google Scholar 

  • Collett, D: Modelling Survival Data in Medical Research. Chapman and Hall/CRC, Florida (2003).

    MATH  Google Scholar 

  • Cox, DR: Regression models and life-tables. J. R. Stat. Soc. Ser. B. 34, 187–220 (1972).

    MathSciNet  MATH  Google Scholar 

  • Efron, B: The efficiency of Cox’s likelihood function for censored data. J. Am. Stat. Assoc. 72, 557–565 (1977).

    Article  MathSciNet  MATH  Google Scholar 

  • Efron, B: Logistic regression, survival analysis, and the kaplan-meier curve. J. Am. Stat. Assoc. 83, 414–425 (1988).

    Article  MathSciNet  MATH  Google Scholar 

  • Hsieh, F, Tseng, YK, Wang, JL: Joint modeling of survival and longitudinal data: Likelihood approach revisited. Biometrics. 62, 1037–1043 (2006).

    Article  MathSciNet  MATH  Google Scholar 

  • Hwang, BS, Pennell, ML: Semiparametric bayesian joint modeling of a binary and continuous outcome with applications in toxicological risk assessment. Stat. Med. 33, 1162–1175 (2014).

    Article  MathSciNet  Google Scholar 

  • Kalbfleisch, JD, Prentice, RL: The Statistical Analysis of Failure Time Data. John Wiley & Sons, New Jersey (2002).

    Book  MATH  Google Scholar 

  • Kaplan, EL, Meier, P: Nonparametric estimation from incomplete observations. J. Am. Stat. Assoc. 53, 457–481 (1958).

    Article  MathSciNet  MATH  Google Scholar 

  • Klein, JP, Moeschberger, ML: Survival Analysis: Techniques for Censored and Truncated Data. Springer, New York (2003).

    MATH  Google Scholar 

  • Kleinbaum, DG, Klein, M: Survival Analysis: A Self-Learning Text. Springer, New York (2012).

    Book  MATH  Google Scholar 

  • Lawless, JF: Statistical Models and Methods for Lifetime Data. John Wiley & Sons, New Jersey (2002).

    Book  MATH  Google Scholar 

  • Mudholkar, GS, Srivastava, DK, Kollia, GD: A generalization of the weibull distribution with application to the analysis of survival data. J. Am. Stat. Assoc. 91, 1575–1583 (1996).

    Article  MathSciNet  MATH  Google Scholar 

  • Nardi, A, Schemper, M: Comparing Cox and parametric models in clinical studies. Stat. Med. 22, 3597–3610 (2003).

    Article  Google Scholar 

  • Oakes, D: The asymptotic information in censored survival data. Biometrika. 64, 441–448 (1977).

    Article  MathSciNet  MATH  Google Scholar 

  • Pike, MC: A method of analysis of certain classes of experiments in carcinogenesis. Biometrics. 22, 142–161 (1966).

    Article  Google Scholar 

  • R Core Team: R: A Language and Environment for Statistical Computing. Foundation for Statistical Computing, R. R Core Team, Vienna (2016).

    Google Scholar 

  • Rizopoulos, D: Jm: An r package for the joint modelling of longitudinal and time-to-event data. J. Stat. Softw. 35, 1–33 (2010).

    Article  Google Scholar 

  • Rizopoulos, D: Joint Models for Longitudinal and Time-to-Event Data With Applications in R. Chapman and Hall/CRC, Florida (2012).

    Book  MATH  Google Scholar 

  • Wang, Y, Hossain, AM, Zimmer, WJ: Useful properties of the three-parameter Burr XII distribution. In: Ahsanullah, M (ed.)Applied Statistics Research Progress, pp. 11–20. Nova Science Publishers, New York (2008).

    Google Scholar 

  • Wulfsohn, MS, Tsiatis, AA: A joint model for survival and longitudinal data measured with errror. Biometrics. 53, 330–339 (1997).

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The authors acknowledge the comments and suggestions of the editor and the reviewers. This work was partially supported by NSERC through Discovery Grant (#368532) to SA Khan, and the University of Saskatchewan through New Faculty Start-up Operating Fund to SA Khan.

Authors’ contributions

SAK, the principal investigator, conceptually developed the proposed distribution with related mathematical results and R code for computation, and drafted the manuscript. SKK contributed in developing mathematical results and writing Sections 1-3. Both authors read and approved the final manuscript.

Competing interests

The authors declare that they have no competing interests.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shahedul A. Khan.

Additional file

Additional file 1

Supporting document – R code to fit the models. (PDF 106 kb)

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khan, S., Khosa, S. Generalized log-logistic proportional hazard model with applications in survival analysis. J Stat Distrib App 3, 16 (2016). https://doi.org/10.1186/s40488-016-0054-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s40488-016-0054-z

Keywords

AMS Subject Classification