Learn R Programming

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

astsa (version 1.14)

Applied Statistical Time Series Analysis

Description

Data sets and scripts to accompany Time Series Analysis and Its Applications: With R Examples (4th ed), by R.H. Shumway and D.S. Stoffer. Springer Texts in Statistics, 2017, , and Time Series: A Data Analysis Approach Using R. Chapman-Hall, 2019, .

Copy Link

Version

Install

install.packages('astsa')

Monthly Downloads

9,203

Version

1.14

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

David Stoffer

Last Published

September 2nd, 2021

Functions in astsa (1.14)

FDR

Basic False Discovery Rate
EQcount

EQ Counts
HCT

Hematocrit Levels
Grid

A Better Add Grid to a Plot
EM0

EM Algorithm for Time Invariant State Space Models
EXP6

Seismic Trace of Explosion number 6
EBV

Entire Epstein-Barr Virus (EBV) Nucleotide Sequence
EQ5

Seismic Trace of Earthquake number 5
EM1

EM Algorithm for General State Space Models
ARMAtoAR

Convert ARMA Process to Infinite AR Process
Kfilter1

Kalman Filter - Model may be time varying or have inputs
PLT

Platelet Levels
Lynx

Canadian Lynx
Hare

Snowshoe Hare
Kfilter0

Kalman Filter - Time Invariant Model
Kfilter2

Kalman Filter - Model may be time varying or have inputs or correlated errors
Ksmooth1

Kalman Filter and Smoother - General model
Ksmooth0

Kalman Filter and Smoother - Time invariant model without inputs
SVfilter

Switching Filter (for Stochastic Volatility Models)
arf

Simulated ARFIMA
ar1miss

AR with Missing Values
LagReg

Lagged Regression
Ksmooth2

Kalman Filter and Smoother - General model, may have correlated errors
acfm

ACF and CCF for Multiple Time Series
arma.spec

Spectral Density of an ARMA Model
UnempRate

U.S. Unemployment Rate
acf1

Plot and print ACF or PACF of a time series
WBC

White Blood Cell Levels
SigExtract

Signal Extraction And Optimal Filtering
acf2

Plot and print ACF and PACF of a time series
astsa-package

Applied Statistical Time Series Analysis (more than just data)
astsa.col

astsa color palette with transparency
bnrf1ebv

Nucleotide sequence - BNRF1 Epstein-Barr
blood

Daily Blood Work
cardox

Monthly Carbon Dioxide Levels at Mauna Loa
bnrf1hvs

Nucleotide sequence - BNRF1 of Herpesvirus saimiri
chicken

Monthly price of a pound of chicken
ccf2

Cross Correlation
fmri1

fMRI Data Used in Chapter 1
eqexp

Earthquake and Explosion Seismic Series
birth

U.S. Monthly Live Births
flu

Monthly pneumonia and influenza deaths in the U.S., 1968 to 1978.
fmri

fMRI - complete data set
beamd

Infrasonic Signal from a Nuclear Explosion
econ5

Five Quarterly Economic Series
climhyd

Lake Shasta inflow data
dna2vector

Convert DNA Sequence to Indicator Vectors
gtemp_ocean

Global mean ocean temperature deviations - updated to 2017
hor

Hawaiian occupancy rates
jj

Johnson and Johnson Quarterly Earnings Per Share
globtemp

Global mean land-ocean temperature deviations to 2015
gtemp

Global mean land-ocean temperature deviations
lag1.plot

Lag Plot - one time series
globtempl

Global mean land (only) temperature deviations to 2015
cmort

Cardiovascular Mortality from the LA Pollution study
gnp

Quarterly U.S. GNP
mvspec

Univariate and Multivariate Spectral Estimation
qintr

Quarterly Interest Rate
nyse

Returns of the New York Stock Exchange
lead

Leading Indicator
gtemp2

Global Mean Surface Air Temperature Deviations
rec

Recruitment (number of new fish index)
salt

Salt Profiles
gtemp_land

Global mean land temperature deviations - updated to 2017
oil

Crude oil, WTI spot price FOB
djia

Dow Jones Industrial Average
cpg

Hard Drive Cost per GB
matrixpwr

Powers of a Square Matrix
polyMul

Multiplication of Two Polynomials
prodn

Monthly Federal Reserve Board Production Index
polio

Poliomyelitis cases in US
part

Particulate levels from the LA pollution study
qinfl

Quarterly Inflation
scatter.hist

Scatterplot with Marginal Histograms
saltemp

Temperature Profiles
sarima.sim

ARIMA Simulation
sp500w

Weekly Growth Rate of the Standard and Poor's 500
stoch.reg

Frequency Domain Stochastic Regression
star

Variable Star
soiltemp

Spatial Grid of Surface Soil Temperatures
soi

Southern Oscillation Index
so2

SO2 levels from the LA pollution study
gdp

Quarterly U.S. GDP
lag2.plot

Lag Plot - two time series
gas

Gas Prices
unemp

U.S. Unemployment
test.linear

Test Linearity of a Time Series via Normalized Bispectrum
sales

Sales
lap

LA Pollution-Mortality Study
varve

Annual Varve Series
tsplot

Time Series Plot
sarima

Fit ARIMA Models
salmon

Monthly export price of salmon
spec.ic

Estimate Spectral Density of a Time Series from AR Fit
speech

Speech Recording
sarima.for

ARIMA Forecasting
ssm

State Space Model
tempr

Temperatures from the LA pollution study
specenv

Spectral Envelope
sunspotz

Biannual Sunspot Numbers