Description Usage Arguments Details Value References Examples

View source: R/loglikelihood.r

Determination of log-likelihood values for the basic distributions covered by R should be ubiquitous, but an implementation is provided here to enable likelihood ratio testing particularly for comparison of 3-parameter optimized models with their 2-parameter counterpart.

1 |

`x` |
A vector of failure data. |

`s` |
An optional vector of suspension data. |

`Eta` |
The scale parameter from a weibull fit. |

`Beta` |
The shape parameter from a weibull fit. |

Function LLw can only handle datasets with failure and suspension data. For data including intervals `wblrLikelihood`

can be used.
This function is somewhat unique among likelihood functions in that it will scan the suspension data for
removal of negative values. Such negative values are likely to be entered as data is provided
for a 3-parameter fit by explicitly providing the original data with vector subtraction by the optimized t0.
The primary intention for likelihood determination is to permit likelihood ratio testing for comparison
of 3-parameter optimized models with their 2-parameter counterpart.

Returns a log-likelihood value.

Robert B. Abernethy, (2008) "The New Weibull Handbook, Fifth Edition"

Marie Laure Delignette-Muller, Christophe Dutang (2015). "fitdistrplus: An R Package for Fitting Distributions". Journal of Statistical Software, 64(4), 1-34. URL http://www.jstatsoft.org/v64/i04/.

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.