LikGenNPH: LikGenNPH This function calculates the neglikelihood for...

Description Usage Arguments

View source: R/LikGenNPH.r

Description

LikGenNPH This function calculates the neglikelihood for parametrical survival model.

Usage

1
LikGenNPH(b, D, nf, nk, ncl, dist)

Arguments

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


ilyasstatistics/mylongevity documentation built on Aug. 28, 2021, 4:51 p.m.