R/logLik.mkinfit.R
logLik.mkinfit.Rd
This function returns the product of the likelihood densities of each
observed value, as calculated as part of the fitting procedure using
dnorm
, i.e. assuming normal distribution, and with the means
predicted by the degradation model, and the standard deviations predicted by
the error model.
# S3 method for mkinfit logLik(object, ...)
object | An object of class |
---|---|
... | For compatibility with the generic method |
An object of class logLik
with the number of estimated
parameters (degradation model parameters plus variance model parameters)
as attribute.
The total number of estimated parameters returned with the value of the likelihood is calculated as the sum of fitted degradation model parameters and the fitted error model parameters.
Johannes Ranke
#>#> Warning: Observations with value of zero were removed from the data#> Warning: Shapiro-Wilk test for standardized residuals: p = 0.0165#> Warning: Observations with value of zero were removed from the data#> Warning: Observations with value of zero were removed from the data#> df AIC #> f_nw 5 204.4486 #> f_obs 6 205.8727 #> f_tc 6 141.9656# }