Neural Network Autoregression (NNAR)
Neural network autoregression forecasts a series from its own lagged values, optionally including seasonal lags, with an average of small single-hidden-layer networks fed back step by step.
신경망 자기회귀(NNAR)는 시계열의 과거 시차값(계절 시차 포함 가능)을 입력으로 하는 작은 단층 신경망 여러 개의 평균으로 다음 값을 예측하고 이를 되먹여 다단계 예측을 하는 방법입니다.
My monthly series looks nonlinear; can a small neural network on past values forecast it better than ARIMA?
월별 시계열이 비선형으로 보이는데, 과거값으로 학습한 작은 신경망이 ARIMA보다 더 잘 예측할 수 있을까요?
NNAR feeds p recent lags and P seasonal lags into networks with one hidden layer, averages the predictions of many networks started from different random weights, and iterates to forecast further ahead. Prediction intervals come from simulating future paths with resampled residuals.
When to use Neural Network Autoregression (NNAR)
- The series shows nonlinear dynamics that linear AR models miss.
- You want a data-driven benchmark against ARIMA or ETS.
- The series is long enough to fit a network with several lags.
When to use something else
- The series is short or nearly linear; use ARIMA or exponential smoothing.
- You need interpretable coefficients; use an ARIMA or regression model.
Assumptions and requirements
- The series is stationary in mean after any needed transformation.
- Residuals are uncorrelated at the chosen lags.
- Up to 3,000 time points per run; results are reproducible for a given seed.
What the analysis reports
- Lag set and hidden nodes used
- In-sample accuracy and residual Ljung-Box test
- Iterated forecasts with simulated intervals
- Forecast plot
How to report it
An NNAR([value],[value],[value]) model averaged over [value] networks had an in-sample RMSE of [value]; the one-step forecast was [value] (95% interval [value] to [value]).
Related methods
- ARIMA Forecasting
- Exponential Smoothing (ETS)
- Long Short-Term Memory Forecasting
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Neural Network Autoregression (NNAR) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome variable
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.