Learn R Programming

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

TSA (version 1.2)

Time Series Analysis

Description

Contains R functions and datasets detailed in the book "Time Series Analysis with Applications in R (second edition)" by Jonathan Cryer and Kung-Sik Chan.

Copy Link

Version

Install

install.packages('TSA')

Monthly Downloads

12,964

Version

1.2

License

GPL (>= 2)

Maintainer

KungSik Chan

Last Published

June 30th, 2018

Functions in TSA (1.2)

airpass

Monthly total international airline passengers
days

Number of days between payment to Winegard Corp. / time series
deere2

Deviations of an industrial process at Deere \& Co. -- Series 2
color

Color property/time series
cref.bond

Daily CREF Bond Values
eeg

EEG Data
eacf

Compute the sample extended acf (ESACF)
garch.sim

Simulate a GARCH process
deere1

Deviations of an industrial process at Deere \& Co. -- Series 1
armasubsets

Selection of Subset ARMA Models
euph

A digitized sound file of a B flat played on a euphonium
lagplot

Lagged Regression Plot
prewhiten

Prewhiten a Bivariate Time Series, and Compute and Plot Their Sample Cross-Correlation Function
google

Daily returns of the google stock
hare

Canadian hare data/ time series
electricity

Monthly US electricity production / time series
prey.eq

Prey series / time series
bluebird

Blue Bird Potato Chip Data
bluebirdlite

Bluebird Lite potato chip data
larain

Annual rainfall in Los Angeles / time series
deere3

Deviations of an industrial process at Deere \& Co. -- Series 3
gold

Gold Price / time series
beersales

Monthly beer sales / time series
summary.armasubsets

Summary of output from the armasubsets function
tsdiag.TAR

Model diagnostics for a fitted TAR model
tuba

A digitized sound file of a B flat played on a BB flat tuba
explode.s

A simulated explosive AR(1) series
harmonic

Construct harmonic functions for fitting harmonic trend model
boardings

Monthly public transit boardings and gasoline price in Denver
co2

Levels of Carbon Dioxide at Alert, Canada / Time series
tar

Estimation of a TAR model
periodogram

Computing the periodogram
arima.boot

Compute the Bootstrap Estimates of an ARIMA Model
hours

Average hours worked in US manufacturing sector / time series
oilfilters

Monthly sales to dealers of a specialty oil filter/time series
ma1.1.s

A simulated MA(1) series / time series
plot.Arima

Compute and Plot the Forecasts Based on a Fitted Time Series Model
oil.price

Monthly Oil Price / time series
ima22.s

Simulated IMA(2,2) series / time series
fitted.Arima

Fitted values of an arima model.
predict.TAR

Prediction based on a fitted TAR model
kurtosis

Kurtosis
ma1.2.s

A simulated MA(1) series / time series
runs

Runs test
robot

The distance of a robot from a desired position / time series
rwalk

A simulated random walk / Time series
detectAO

Additive Outlier Detection
prescrip

Cost per prescription / time series
rstandard.Arima

Compute the Standardized Residuals from a Fitted ARIMA Model
tlrt

Likelihood ratio test for threshold nonlinearity
gBox

Generalized Portmanteau Tests for GARCH Models
detectIO

Innovative Outlier Detection
flow

Monthly River Flow for the Iowa River
ma2.s

A simulated MA(2) series
tar.sim

Simulate a two-regime TAR model
spec

Computing the spectrum
spots

Relative annual sunspot number / time series
milk

Monthly Milk Production
plot.armasubsets

Plot the Best Subset ARMA models
winnebago

Monthly unit sales of recreational vehicles / time series
qar.sim

Simulate a first-order quadratic AR model
tar.skeleton

Find the asympotitc behavior of the skeleton of a TAR model
retail

U.K. retail sales / time series
star

Star Brightness
spots1

Annual international sunspot numbers
usd.hkd

Daily US Dollar to Hong Kong Dollar Exchange Rates
units

Annual sales of certain large equipment
zlag

Compute the lag of a vector.
veilleux

An experimental prey-predator time series
skewness

Skewness
season

Extract the season info from a time series
plot1.acf

Plot1
wages

Average hourly wages in the apparel industry / time series
tbone

A digitized sound file of a B flat played on a tenor trombone
tempdub

Monthly average temperature in Dubuque/time series
tsdiag.Arimax

Model Diagnostics for a Fitted ARIMAX Model
McLeod.Li.test

McLeod-Li test
CREF

Daily CREF Values
Keenan.test

Keenan's one-degree test for nonlinearity
LB.test

Portmanteau Tests for Fitted ARIMA models
Tsay.test

Tsay's Test for nonlinearity
ARMAspec

Theoretical spectral density function of a stationary ARMA model
SP

Quarterly Standard \& Poor's Composite Index of stock price values / time series
arma11.s

A Simulated ARMA(1,1) Series/ time series
arima

Fitting an ARIMA model with Exogeneous Variables
arimax

Fitting an ARIMA model with Exogeneous Variables
TSA-package

Time Series Analysis
JJ

Quarterly earnings per share for the Johnson \& Johnson Company
BoxCox.ar

Determine the power transformation for serially correlated data
ar1.s

A simulated AR(1) series
ar2.s

Asimulated AR(2) series / time series
acf

Auto- and Cross- Covariance and -Correlation Function Estimation
airmiles

Monthly Airline Passenger-Miles in the US
ar1.2.s

A simulated AR(1) series