Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

KFAS-defunct

Defunct Functions of Package KFAS


Description

The function listed here are removed from KFAS.

Usage

## S3 method for class 'KFS'
deviance(object, ...)

## S3 replacement method for class 'SSModel'
subset(x, element, states, etas, series, times, ...) <- value

subset(x, ...) <- value

## S3 method for class 'SSModel'
subset(x, element, states, etas, series, times, ...)

Details

Subset-based methods were removed as they were somewhat confusingly named as the subset generic in base, and most likely not that useful (compared to [<-.SSModel).

Deviance.KFS was removed as it was mostly useless. The value was not a -2*(logL-logL*) where L is the likelihood and L* is the saturated likelihood. Instead it was based on the conditional likelihood p(y|theta) i.e. it disregards the effect of hidden states. Therefore the value returned by this function did not make much sense in non-GLM setting.

From rstandard.KFS and residuals.KFS: Computation of deviance residuals. This option was meant to be used only for the GLM comparisons, as their generalization to other models is lacking, but in order to avoid misleading results in non-GLM settings, these are now completely removed.


KFAS

Kalman Filter and Smoother for Exponential Family State Space Models

v1.4.5
GPL (>= 2)
Authors
Jouni Helske [aut, cre] (<https://orcid.org/0000-0001-7130-793X>)
Initial release
2021-05-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.