exp-aft {RoBSA} | R Documentation |
Exponential AFT parametric family.
Description
(log) density, hazard, and survival functions for AFT exponential parametric family.
Usage
exp_aft_log_density(t, eta)
exp_aft_log_hazard(t, eta)
exp_aft_log_survival(t, eta)
exp_aft_density(t, eta)
exp_aft_hazard(t, eta)
exp_aft_survival(t, eta)
exp_aft_mean(eta)
exp_aft_sd(eta)
exp_aft_r(n, eta)
exp_aft_q(p, eta)
exp_aft_p(q, eta)
Arguments
t |
vector of survival times |
eta |
linear predictor |
n |
number of observations |
p |
vector of probabilities |
q |
vector of quantiles |
Value
exp_aft_density
, exp_aft_hazard
, and
exp_aft_survival
return the density, hazard, and survival
of the specified survival distribution. The exp_aft_log_density
,
exp_aft_log_hazard
, exp_aft_log_survival
return log of
the corresponding qualities. exp_aft_mean
and exp_aft_sd
return the mean and standard deviation of the specified survival distribution.
exp_aft_r
, exp_aft_q
, and exp_aft_p
return a random
generation, quantiles, and cumulative probabilities of the specified
survival distribution.
[Package RoBSA version 1.0.2 Index]