6.5. Nonlinear Time Series, Structural Breaks and Bubbles
Methodological Part 6.5. Nonlinear Time Series, Structural Breaks and Bubbles in 6. Univariate, Nonlinear, Structural Break and Bubble Time Series provides step-by-step How-To implementation guides for 7 econometric model lessons spanning from Section 6.5.1 to 6.5.7. Full theoretical derivations are available at VietLOD Part 6.5 alongside cloud execution on EcoLab.
Video Tutorial: How-To Guide for Part 6.5: Nonlinear Time Series, Structural Breaks and Bubbles in Stata 18, R 4.x, and Python 3.11+
6.5.1. Methodological Overview and Structural Equations
- Methodological Focus: Provides consistent estimation and robust inference for Nonlinear Time Series, Structural Breaks and Bubbles specifications within Univariate, Nonlinear, Structural Break and Bubble Time Series.
- Mandatory Post-Estimation Diagnostics: Thống kê Sup-Wald / Sup-LM bootstrap -value kiểm định tồn tại ngưỡng, khoảng tin cậy cho điểm ngưỡng , kiểm định phương sai thay đổi từng chế độ..
Core structural specification for Part 6.5:
Estimator objective and moment conditions:
6.5.2. Econometric Model Lessons in Part 6.5
Splits cross-sectional or time-series regressions into distinct regimes around an unknown observable threshold gamma with inverted LR confid...
Models continuous nonlinear transitions between extreme regimes via Logistic LSTAR or Exponential ESTAR transition functions selected by Ter...
Parsimoniously links low-frequency macro outcomes to high-frequency distributed lags via normalized exponential Almon polynomials and U-MIDA...
Globally partitions time-series regressions into m+1 regimes at unknown break dates via dynamic programming with sup-F, UDmax, and LWZ selec...
Detects and date-stamps origination and collapse of multiple explosive speculative bubbles via double-supremum right-tailed ADF windows and ...
6.5.3. Comparative Execution Syntax Across Stata 18, R 4.x, and Python 3.11+
| Section & Model Title | Estimator Key | Stata 18 MP Syntax | R 4.x Syntax | Python 3.11+ Syntax | Support |
|---|---|---|---|---|---|
| 6.5.1 · Hansen Sample-Splitting Threshold Regression | threshold_regression | threshold y, regionvars(x1 x2) threshvar(q_thresh) nthresholds(1) | strucchange::Fstats(y ~ x1 + x2, data = df) | smf.ols('y ~ x1 * I(q_thresh > gamma) + x2', data=df).fit(cov_type='HC1') | Available |
| 6.5.2 · Smooth Transition Autoregressive Model | star_smooth_transition | nl (y = ({b0} + {b1}*l1_y) + ({d0} + {d1}*l1_y)/(1 + exp(-{gamma}*(l1_y - {c})))) | minpack.lm::nlsLM(y ~ b0 + b1*l1_y + (d0 + d1*l1_y)/(1 + exp(-g*(l1_y - c))), data = df) | scipy.optimize.least_squares(lstar_residuals, theta0) | Available |
| 6.5.3 · Mixed-Data Sampling Regression | midas_regression | regress y_q x_m_lag0 x_m_lag1 x_m_lag2, vce(hac nwest 4) | midasr::midas_r(y_q ~ mls(x_m, 0:11, 3, nealmon), start = list(x_m = c(1, -0.5))) | smf.ols('y ~ x1 + x2', data=df).fit(cov_type='HAC', cov_kwds={'maxlags': 4}) | Available |
| 6.5.4 · Bai-Perron Multiple Structural Breaks | bai_perron_break | regress y x1 x2 -> estat sbsingle | strucchange::breakpoints(y ~ x1 + x2, data = df, h = 0.15) | smf.ols('y ~ x1 * I(t >= t_break) + x2', data=df).fit(cov_type='HAC', cov_kwds={'maxlags': 4}) | Available |
| 6.5.5 · Phillips-Shi-Yu Recursive Bubble Detection | psy_bubble_gsadf | radf y, prefix(bsadf) boot(500) | exuber::radf(df$y, lag = 1) | adfuller(df['y'], maxlag=2, regression='c', autolag='AIC') | Available |
| 6.5.6 · Threshold Cointegration and Momentum TAR Balke Fomby Enders Siklos | nonlinear_threshold_ecm | regress y x1 x2 + asymmetric ECM regime F-test | tsDyn::TVECM / apt::ecmAsymFit | Long-run cointegration + M-TAR asymmetric adjustment ECM + symmetry F-test | Available |
| 6.5.7 · Functional Coefficient Time Series Regression | functional_coef_far_cai | npregress kernel y x1 x2 / regress y x1 x2, vce(robust) | np::npscoef(txdat = x, tydat = y, tzdat = state) | Cai-Fan-Yao (2000) local-linear Epanechnikov functional-coefficient estimator + constancy F-test | Available |
6.5.4. Standard Implementation Workflow for Part 6.5
Step 1. Load Standardized Practice Datasets From VietLOD, EcoData, or Finco
Download the model-specific .csv practice dataset in Part 6.5 or extract custom empirical panels from EcoData and Finco.
Step 2. Select the Optimal Estimator for Your Error and Sample Structure
Compare the estimators from 6.5.1 to 6.5.7 in the syntax matrix above and execute the estimation in Stata 18 MP, R 4.x, or Python 3.11+.
Step 3. Run Mandatory Diagnostics and Export Publication Tables on EcoLab
Verify all required diagnostics including Thống kê Sup-Wald / Sup-LM bootstrap -value kiểm định tồn tại ngưỡng, khoảng tin cậy cho điểm ngưỡng , kiểm định phương sai thay đổi từng chế độ. and dispatch the specification to EcoLab for automated journal-grade reporting.