time-series

Perform end-to-end time-series analysis from stationarity testing to forecasting.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/sheehe/coase --skill time-series-sheehe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: time-series
Source: https://github.com/sheehe/coase/tree/main/%E5%AE%9E%E8%AF%81%E7%A7%91%E7%A0%94%E6%8F%92%E4%BB%B6/econometrics/econometrics/skills/time-series
Command: npx skills add https://github.com/sheehe/coase --skill time-series-sheehe

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Time-series analysis in econometrics is intricate, requiring multiple tests, model choices, and diagnostics. This skill consolidates guidance for both univariate and multivariate time-series workflows from data inspection to forecasting.

Core Features & Use Cases

  • Stationarity testing: ADF and KPSS tests to determine integration order.
  • Model selection & estimation: ARIMA for univariate series; VAR/VECM for multivariate setups; cointegration handling.
  • Diagnostics & forecasting: Residual checks, impulse responses, and out-of-sample forecasting.

Quick Start

Run a basic ARIMA model on your dataset to generate a simple forecast.

Frequently Asked Questions about time-series

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for stationarity before fitting an ARIMA model?

Stationarity testing uses ADF and KPSS tests to determine the integration order of your data before fitting an ARIMA model. This ensures your univariate time-series meets the necessary statistical assumptions for accurate forecasting.

What is the best way to handle cointegration in multivariate time-series analysis?

Handling cointegration in multivariate time-series analysis requires using VAR or VECM models. This approach identifies long-run equilibrium relationships between non-stationary variables and enables accurate impulse response analysis.

How do I select the right lag order for VAR or VECM models?

Selecting the right lag order for VAR or VECM models involves using information criteria like AIC and BIC. These metrics evaluate model fit to help you choose the optimal lag length for your econometric time-series.

Can I perform Granger causality tests and residual diagnostics in Python?

Yes, you can perform Granger causality tests and residual diagnostics in Python. The workflow supports evaluating forecast accuracy and checking model residuals to validate your econometric time-series assumptions.

When should I use VECM instead of VAR for econometric forecasting?

VECM should be used instead of VAR for econometric forecasting when your multivariate time-series variables are cointegrated. This handles non-stationary data with long-run equilibrium relationships, while VAR requires stationary data.

Does this time-series workflow support out-of-sample forecasting and model evaluation?

Yes, this time-series workflow supports out-of-sample forecasting and model evaluation. It provides end-to-end guidance for generating forecasts and applying residual diagnostics to assess predictive accuracy in Python or R.