Time Series Analysis

Analyze time series data by identifying linear and nonlinear models, including AR, ARMA, and state-space models; forecast values


arEstimate parameters of AR model or ARI model for scalar time series
armaxEstimate parameters of ARMAX, ARIMAX, ARMA, or ARIMA model using time-domain data
arxEstimate parameters of ARX, ARIX, AR, or ARI model
etfeEstimate empirical transfer functions and periodograms
spaEstimate frequency response with fixed frequency resolution using spectral analysis
spafdrEstimate frequency response and spectrum using spectral analysis with frequency-dependent resolution
ivarAR model estimation using instrumental variable method
n4sidEstimate state-space model using subspace method with time-domain or frequency-domain data
ssestEstimate state-space model using time-domain or frequency-domain data
pemPrediction error estimate for linear and nonlinear model
nlarxEstimate parameters of nonlinear ARX model
idpolyPolynomial model with identifiable parameters
idssState-space model with identifiable parameters
idnlarxNonlinear ARX model
getpvecModel parameters and associated uncertainty data
setpvecModify value of model parameters
initSet or randomize initial parameter values
noise2measNoise component of model
spectrumOutput power spectrum of time series models
forecastForecast identified model output
simSimulate response of identified model
arOptionsOption set for ar
forecastOptionsOption set for forecast
simOptionsOption set for sim

Examples and How To

Estimate Time-Series Power Spectra

How to estimate power spectra for time series data in the app and at the command line.

Estimate AR and ARMA Models

Estimate polynomial AR and ARMA models for time series data at the command line and in the app.

Estimate ARIMA Models

This example shows how to estimate Autoregressive Integrated Moving Average or ARIMA models.

Estimate State-Space Time Series Models

How to estimate state-space models for time series data in the app and at the command line.

Identify Time-Series Models at the Command Line

This example shows how to simulate a time series and use parametric and nonparametric methods to estimate and compare time-series models.

Analyze Time-Series Models

This example shows how to analyze time-series models.

Spectrum Estimation Using Complex Data - Marple's Test Case

This example shows how to perform spectral estimation on time series data.

Forecast the Output of a Dynamic System

Workflow for forecasting time series data and input-output data using linear and nonlinear models.

Forecast Multivariate Time Series

This example shows how to perform multivariate time series forecasting of data measured from predator and prey populations in a prey crowding scenario.

Time Series Prediction and Forecasting for Prognosis

This example shows how to create a time series model and use the model for prediction, forecasting, and state estimation.


What Are Time Series Models?

Definition of time series models.

Preparing Time-Series Data

Where you can learn more about importing and preparing time series data for modeling.

Introduction to Forecasting of Dynamic System Response

Understand the concept of forecasting data using linear and nonlinear models.

Featured Examples