CalmrFit-methods {calmr}R Documentation

CalmrFit methods

Description

S4 methods for CalmrFit class.

Usage

## 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)

Arguments

object

A CalmrFit object.

type

A string specifying the type of prediction to generate.

...

Extra named arguments.

k

Penalty term for AIC method.

Details

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

Value


[Package calmr version 0.6.1 Index]