Learn R Programming

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

glarma (version 1.4-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

1,016

Version

1.4-0

License

GPL (>= 2)

Maintainer

William TM Dunsmuir

Last Published

October 3rd, 2015

Functions in glarma (1.4-0)

glarma

Generalized Linear Autoregressive Moving Average Models with Various Distributions
OxBoatRace

Oxford-Cambridge Boat Race
extractAIC.glarma

Extract AIC from a GLARMA Model
initial

Initial Parameter Generator for GLARMA from GLM
DriverDeaths

Single Vehicle Nighttime Driver Deaths in Utah
normRandPIT

Random normal probability integral transformation
summary.glarma

Summarize GLARMA Fit
paramGen

Parameter Generators
Asthma

Daily Presentations of Asthma at Campbelltown Hospital
forecast

Forecasting GLARMA time series
plotPIT

PIT Plots for a glarma Object
PIT

Non-randomized Probability Integral Transformation
RobberyConvict

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

Plot Diagnostics for a glarma Object
Polio

Cases of Poliomyelitis in the U.S.
coef.glarma

Extract GLARMA Model Coefficients
model.frame.glarma

Extracting the Model Frame of the GLARMA Model
logLik.glarma

Extract Log-Likelihood from GLARMA Models
fitted.glarma

Extract GLARMA Model Fitted Values
likTests

Likelihood Ratio Test and Wald Test for GLARMA Fit
mySolve

Matrix Inversion of the Hessian of the Log-Likelihood
nobs.glarma

Extract the Number of Observations from a GLARMA Model Fit
residuals.glarma

Extract GLARMA Model Residuals