theta: A starting value for the 'outer' maximization with respect to the frailty parameter θ. Must be >0.
pvfm: Only relevant if dist = 'pvf' is used. It determines which PVF distribution should be used. Must be larger than -1 and not equal to 0.
left_truncation: Logical. Whether the data set represents left truncated survival times.
basehaz: A character string which determines how the baseline hazard is calculated. The default is "breslow", but other possible options are "weibull", "exponential" "gaussian", "logistic", "lognormal" or "loglogistic".
Returns
An object of the type emfrail_dist, which is mostly used to denote the supported frailty distributions in a consistent way.
Details
The theta argument must be positive. In the case of gamma or PVF, this is the inverse of the frailty variance, i.e. the larger the theta is, the closer the model is to a Cox model. When dist = "pvf" and pvfm = -0.5, the inverse Gaussian distribution is obtained. For the positive stable distribution, the γ parameter of the Laplace transform is θ/(1+θ), with the alpha parameter fixed to 1.