CalmrFit-methods | R Documentation |
S4 methods for CalmrFit
class.
## S4 method for signature 'CalmrFit'
show(object)
## S4 method for signature 'CalmrFit'
predict(object, type = "response", ...)
## S4 method for signature 'CalmrFit'
NLL(object)
## S4 method for signature 'CalmrFit'
AIC(object, k = 2)
## S4 method for signature 'CalmrFit'
BIC(object)
object |
A |
type |
A string specifying the type of prediction to generate. |
... |
Extra named arguments. |
k |
Penalty term for |
With type = "response"
, the predict()
function
passed model responses to the link function used to fit the model.
The AIC is defined as 2*k - 2*-NLL
, where k is a penalty
term and NLL is the negative log likelihood of the model.
The BIC is defined as p*log(n) - 2*-NLL
, where p is the number
of parameters in the model and n is the number of observations
show()
returns NULL (invisibly).
predict()
returns a numeric vector.
NLL()
returns the negative log likelihood of the model.
AIC()
returns the Akaike Information Criterion (AIC) of the model.
BIC()
returns the Bayesian Information Criterion (BIC) of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.