Learn R Programming

HelpersMG (version 5.1)

logLik.LD50: Return Log Likelihood of a fit generated by LD50

Description

Return Log Likelihood of a fit generated by LD50

Usage

# S3 method for LD50
logLik(object, ...)

Arguments

object

A result file generated by fitRMU

...

Not used

Value

The Log Likelihood value for the fitted model with data

Details

logLik.LD50 Return Log Likelihood of a fit for LD50

See Also

Other LD50 functions: LD50_MHmcmc_p(), LD50_MHmcmc(), LD50(), plot.LD50(), predict.LD50()

Examples

Run this code
# NOT RUN {
data <- data.frame(Doses=c(80, 120, 150, 150, 180, 200),
Alive=c(10, 12, 8, 6, 2, 1),
Dead=c(0, 1, 5, 6, 9, 15))
LD50_logistic <- LD50(data, equation="logistic")
logLik(LD50_logistic)
AIC(LD50_logistic)
# }

Run the code above in your browser using DataLab