Description Usage Arguments Value Examples
This function calculates the neg-loglikelihood for the parametric gamma-frailty model with non-proportional hazard functions
1 |
y |
Vector of parameters in the form y = (ln(a), ln(b), β _{shape}, β _{scale}, ln(σ ^2)) for Weibull hazard function and y = (ln(10^3a), ln(10^2b), β _{shape}, β _{scale}, ln(σ ^2)) for Gompertz hazard function, where a and b are slope and shape parameters, β _{shape} and β _{scale} are the Cox-regression parameters for shape and scale, respectively, and σ ^2 is the variance of frailty. This vector must include at least two parameters, ln(a) and ln(b). |
D |
A data.frame in which to interpret the variables named in the formula. The data set includes the following fields:
|
nf |
The number of continuous and binary factors in the data set D corresponding to the covariates used in the Cox-regression for proportional hazard term. |
nk |
The number of continuous and binary factors in the data set D corresponding to the covariates used in the Cox-regression for shape b. |
ncl |
The number of clusters in the data set D corresponding to the cluster covariate. Is equal to 0 for the fixed-effect model. |
dist |
Baseline hazard function ('Weibull' or 'Gompertz'). |
Neg-loglikelihood
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.