powered by
Loglikelihood method for ph class
# S4 method for ph logLik(object)
An object of class logLik.
An object of class ph.
obj <- iph(ph(structure = "general", dimension = 2), gfun = "weibull", gfun_pars = 2) data <- sim(obj, n = 100) fitted_ph <- fit(obj, data, stepsEM = 10) logLik(fitted_ph)
Run the code above in your browser using DataLab