gamma-aft {RoBSA}R Documentation

Gamma AFT parametric family.

Description

(log) density, hazard, and survival functions for AFT gamma parametric family.

Usage

gamma_aft_log_density(t, eta, shape)

gamma_aft_log_hazard(t, eta, shape)

gamma_aft_log_survival(t, eta, shape)

gamma_aft_density(t, eta, shape)

gamma_aft_hazard(t, eta, shape)

gamma_aft_survival(t, eta, shape)

gamma_aft_mean(eta, shape)

gamma_aft_sd(eta, shape)

gamma_aft_r(n, eta, shape)

gamma_aft_q(p, eta, shape)

gamma_aft_p(q, eta, shape)

Arguments

t

vector of survival times

eta

linear predictor

shape

auxiliary parameter

n

number of observations

p

vector of probabilities

q

vector of quantiles

Value

gamma_aft_density, gamma_aft_hazard, and gamma_aft_survival return the density, hazard, and survival of the specified survival distribution. The gamma_aft_log_density, gamma_aft_log_hazard, gamma_aft_log_survival return log of the corresponding qualities. gamma_aft_mean and gamma_aft_sd return the mean and standard deviation of the specified survival distribution. gamma_aft_r, gamma_aft_q, and gamma_aft_p return a random generation, quantiles, and cumulative probabilities of the specified survival distribution.


[Package RoBSA version 1.0.2 Index]