Obtains the distribution function value for model-averaging of Weibull and log-normal regression.
pmodavg(t, theta, w1, q = 0, x = 1, lower.tail = TRUE, log.p = FALSE)
The probabilities p = P(T <= t | X = x).
The vector of time points.
The parameter vector consisting of the accelerate failure time (AFT) regression coefficients and the logrithm of the AFT regression scale parameter for the Weibull and log-normal distributions.
The weight for the Weibull component distribution.
The number of elements in the vector of covariates (excluding the intercept).
The vector of covariates (including the intercept).
logical; if TRUE (default), probabilities are the distribution function, otherwise, the survival function.
logical; if TRUE, probabilities p are given as log(p).