Learn R Programming

⚠️There's a newer version (1.7-1) of this package.Take me there.

glarma (version 1.5-0)

Generalized Linear Autoregressive Moving Average Models

Description

Functions are provided for estimation, testing, diagnostic checking and forecasting of generalized linear autoregressive moving average (GLARMA) models for discrete valued time series with regression variables. These are a class of observation driven non-linear non-Gaussian state space models. The state vector consists of a linear regression component plus an observation driven component consisting of an autoregressive-moving average (ARMA) filter of past predictive residuals. Currently three distributions (Poisson, negative binomial and binomial) can be used for the response series. Three options (Pearson, score-type and unscaled) for the residuals in the observation driven component are available. Estimation is via maximum likelihood (conditional on initializing values for the ARMA process) optimized using Fisher scoring or Newton Raphson iterative methods. Likelihood ratio and Wald tests for the observation driven component allow testing for serial dependence in generalized linear model settings. Graphical diagnostics including model fits, autocorrelation functions and probability integral transform residuals are included in the package. Several standard data sets are included in the package.

Copy Link

Version

Install

install.packages('glarma')

Monthly Downloads

691

Version

1.5-0

License

GPL (>= 2)

Maintainer

William TM Dunsmuir

Last Published

January 25th, 2017

Functions in glarma (1.5-0)

coef.glarma

Extract GLARMA Model Coefficients
likTests

Likelihood Ratio Test and Wald Test for GLARMA Fit
extractAIC.glarma

Extract AIC from a GLARMA Model
logLik.glarma

Extract Log-Likelihood from GLARMA Models
initial

Initial Parameter Generator for GLARMA from GLM
glarma

Generalized Linear Autoregressive Moving Average Models with Various Distributions
DriverDeaths

Single Vehicle Nighttime Driver Deaths in Utah
forecast

Forecasting GLARMA time series
fitted.glarma

Extract GLARMA Model Fitted Values
Asthma

Daily Presentations of Asthma at Campbelltown Hospital
normRandPIT

Random normal probability integral transformation
PIT

Non-randomized Probability Integral Transformation
plotPIT

PIT Plots for a glarma Object
Polio

Cases of Poliomyelitis in the U.S.
OxBoatRace

Oxford-Cambridge Boat Race
mySolve

Matrix Inversion of the Hessian of the Log-Likelihood
model.frame.glarma

Extracting the Model Frame of the GLARMA Model
nobs.glarma

Extract the Number of Observations from a GLARMA Model Fit
paramGen

Parameter Generators
plot.glarma

Plot Diagnostics for a glarma Object
residuals.glarma

Extract GLARMA Model Residuals
RobberyConvict

Court Convictions for Armed Robbery in New South Wales
summary.glarma

Summarize GLARMA Fit