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

lnorm_aft_log_density(t, eta, sd)

lnorm_aft_log_hazard(t, eta, sd)

lnorm_aft_log_survival(t, eta, sd)

lnorm_aft_density(t, eta, sd)

lnorm_aft_hazard(t, eta, sd)

lnorm_aft_survival(t, eta, sd)

lnorm_aft_mean(eta, sd)

lnorm_aft_sd(eta, sd)

lnorm_aft_r(n, eta, sd)

lnorm_aft_q(p, eta, sd)

lnorm_aft_p(q, eta, sd)

Arguments

t

vector of survival times

eta

linear predictor

sd

auxiliary parameter

n

number of observations

p

vector of probabilities

q

vector of quantiles

Value

lnorm_aft_density, lnorm_aft_hazard, and lnorm_aft_survival return the density, hazard, and survival of the specified survival distribution. The lnorm_aft_log_density, lnorm_aft_log_hazard, lnorm_aft_log_survival return log of the corresponding qualities. lnorm_aft_mean and lnorm_aft_sd

return the mean and standard deviation of the specified survival distribution. lnorm_aft_r, lnorm_aft_q, and lnorm_aft_p return a random generation, quantiles, and cumulative probabilities of the specified survival distribution.