LikGenNPH This function calculates the neglikelihood for parametrical survival model.
1 |
b |
shape parameters defining the hazard functions |
D |
The data set as described in previous section; |
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 covariate defining the shared frailty (is equal to 0 for the fixed-effect model); |
dist |
distribution either Weibull or Gompertz |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.