powered by
Computes the log pdf and cdf of the weibull distribution.
log_weibull(y, a1, a2, c_under)
A list containing the following entries
natural logarithm of the pdf, evaluated at each datapoint.
natural logarithm of the CDF, evaluated at each datapoint.
observed data
shape parameter
rate parameter
A small positive value corresponding to the underflow threshold, e.g. c_under = 1e-9.
Panagiotis Papastamoulis
log_weibull(y = 1:10, a1 = 1, a2 = 1, c_under = 1e-9)
Run the code above in your browser using DataLab