Datasets:
series stringclasses 26
values | freq stringclasses 2
values | period stringclasses 361
values | value float64 -53.84 1.04k | release stringdate 2004-02-01 00:00:00 2026-12-15 00:00:00 |
|---|---|---|---|---|
gdp_yoy | Q | 2005Q1 | 4.339101 | 2005-05-18 |
gdp_yoy | Q | 2005Q2 | 6.409682 | 2005-08-17 |
gdp_yoy | Q | 2005Q3 | 4.446024 | 2005-11-17 |
gdp_yoy | Q | 2005Q4 | 4.156917 | 2006-02-17 |
gdp_yoy | Q | 2006Q1 | 4.411565 | 2006-05-18 |
gdp_yoy | Q | 2006Q2 | 3.962024 | 2006-08-17 |
gdp_yoy | Q | 2006Q3 | 2.50252 | 2006-11-17 |
gdp_yoy | Q | 2006Q4 | 4.328771 | 2007-02-17 |
gdp_yoy | Q | 2007Q1 | 2.416201 | 2007-05-18 |
gdp_yoy | Q | 2007Q2 | 1.552115 | 2007-08-17 |
gdp_yoy | Q | 2007Q3 | 2.57406 | 2007-11-17 |
gdp_yoy | Q | 2007Q4 | 2.947054 | 2008-02-17 |
gdp_yoy | Q | 2008Q1 | 6.124181 | 2008-05-18 |
gdp_yoy | Q | 2008Q2 | 7.815922 | 2008-08-17 |
gdp_yoy | Q | 2008Q3 | 7.436042 | 2008-11-17 |
gdp_yoy | Q | 2008Q4 | 3.568019 | 2009-02-17 |
gdp_yoy | Q | 2009Q1 | 0.793828 | 2009-05-18 |
gdp_yoy | Q | 2009Q2 | 2.984602 | 2009-08-17 |
gdp_yoy | Q | 2009Q3 | 3.053439 | 2009-11-17 |
gdp_yoy | Q | 2009Q4 | 4.646439 | 2010-02-17 |
gdp_yoy | Q | 2010Q1 | 6.929565 | 2010-05-18 |
gdp_yoy | Q | 2010Q2 | 7.733505 | 2010-08-17 |
gdp_yoy | Q | 2010Q3 | 3.49138 | 2010-11-17 |
gdp_yoy | Q | 2010Q4 | 2.881617 | 2011-02-17 |
gdp_yoy | Q | 2011Q1 | 2.769566 | 2011-05-18 |
gdp_yoy | Q | 2011Q2 | 2.629317 | 2011-08-17 |
gdp_yoy | Q | 2011Q3 | 5.052209 | 2011-11-17 |
gdp_yoy | Q | 2011Q4 | -0.142357 | 2012-02-17 |
gdp_yoy | Q | 2012Q1 | 5.447862 | 2012-05-18 |
gdp_yoy | Q | 2012Q2 | 8.506994 | 2012-08-17 |
gdp_yoy | Q | 2012Q3 | 8.595332 | 2012-11-17 |
gdp_yoy | Q | 2012Q4 | 8.93108 | 2013-02-17 |
gdp_yoy | Q | 2013Q1 | 6.641516 | 2013-05-18 |
gdp_yoy | Q | 2013Q2 | 5.686035 | 2013-08-17 |
gdp_yoy | Q | 2013Q3 | 5.662899 | 2013-11-17 |
gdp_yoy | Q | 2013Q4 | 1.957121 | 2014-02-17 |
gdp_yoy | Q | 2014Q1 | -0.008324 | 2014-05-18 |
gdp_yoy | Q | 2014Q2 | 0.350524 | 2014-08-17 |
gdp_yoy | Q | 2014Q3 | 2.470802 | 2014-11-17 |
gdp_yoy | Q | 2014Q4 | 2.874309 | 2015-02-17 |
gdp_yoy | Q | 2015Q1 | 4.740393 | 2015-05-18 |
gdp_yoy | Q | 2015Q2 | 3.864605 | 2015-08-17 |
gdp_yoy | Q | 2015Q3 | 3.834667 | 2015-11-17 |
gdp_yoy | Q | 2015Q4 | 3.31201 | 2016-02-17 |
gdp_yoy | Q | 2016Q1 | 3.966218 | 2016-05-18 |
gdp_yoy | Q | 2016Q2 | 4.002848 | 2016-08-17 |
gdp_yoy | Q | 2016Q3 | 3.277563 | 2016-11-17 |
gdp_yoy | Q | 2016Q4 | 3.811747 | 2017-02-17 |
gdp_yoy | Q | 2017Q1 | 2.00986 | 2017-05-18 |
gdp_yoy | Q | 2017Q2 | 3.485636 | 2017-08-17 |
gdp_yoy | Q | 2017Q3 | 2.859671 | 2017-11-17 |
gdp_yoy | Q | 2017Q4 | 2.917858 | 2018-02-17 |
gdp_yoy | Q | 2018Q1 | 3.203345 | 2018-05-18 |
gdp_yoy | Q | 2018Q2 | 3.294963 | 2018-08-17 |
gdp_yoy | Q | 2018Q3 | 3.516551 | 2018-11-17 |
gdp_yoy | Q | 2018Q4 | 3.928211 | 2019-02-17 |
gdp_yoy | Q | 2019Q1 | 4.254643 | 2019-05-18 |
gdp_yoy | Q | 2019Q2 | 3.926089 | 2019-08-17 |
gdp_yoy | Q | 2019Q3 | 4.925808 | 2019-11-17 |
gdp_yoy | Q | 2019Q4 | 4.659678 | 2020-02-17 |
gdp_yoy | Q | 2020Q1 | 1.973912 | 2020-05-18 |
gdp_yoy | Q | 2020Q2 | -9.487545 | 2020-08-17 |
gdp_yoy | Q | 2020Q3 | -1.308056 | 2020-11-17 |
gdp_yoy | Q | 2020Q4 | -1.593994 | 2021-02-17 |
gdp_yoy | Q | 2021Q1 | 0.45889 | 2021-05-18 |
gdp_yoy | Q | 2021Q2 | -1.780858 | 2021-08-17 |
gdp_yoy | Q | 2021Q3 | -5.450257 | 2021-11-17 |
gdp_yoy | Q | 2021Q4 | -1.039699 | 2022-02-17 |
gdp_yoy | Q | 2022Q1 | 4.259457 | 2022-05-18 |
gdp_yoy | Q | 2022Q2 | 5.155382 | 2022-08-17 |
gdp_yoy | Q | 2022Q3 | 6.365773 | 2022-11-17 |
gdp_yoy | Q | 2022Q4 | 4.802801 | 2023-02-17 |
gdp_yoy | Q | 2023Q1 | 1.523347 | 2023-05-18 |
gdp_yoy | Q | 2023Q2 | -0.286101 | 2023-08-17 |
gdp_yoy | Q | 2023Q3 | 1.246404 | 2023-11-17 |
gdp_yoy | Q | 2023Q4 | 1.883884 | 2024-02-17 |
gdp_yoy | Q | 2024Q1 | 2.223746 | 2024-05-18 |
gdp_yoy | Q | 2024Q2 | 2.854695 | 2024-08-17 |
gdp_yoy | Q | 2024Q3 | 2.954705 | 2024-11-17 |
gdp_yoy | Q | 2024Q4 | 3.212867 | 2025-02-17 |
gdp_yoy | Q | 2025Q1 | 3.753194 | 2025-05-18 |
gdp_yoy | Q | 2025Q2 | 2.283031 | 2025-08-17 |
gdp_yoy | Q | 2025Q3 | 1.231779 | 2025-11-17 |
gdp_yoy | Q | 2025Q4 | 3.052231 | 2026-02-17 |
gdp_yoy | Q | 2026Q1 | 4.62512 | 2026-05-18 |
gdp_yoy | Q | 2026Q2 | 4.035735 | 2026-08-17 |
gdp_yoy | Q | 2026Q3 | 1.614677 | 2026-11-17 |
gdp_qoq_sa | Q | 2005Q1 | 0.233033 | 2005-05-18 |
gdp_qoq_sa | Q | 2005Q2 | 0.996816 | 2005-08-17 |
gdp_qoq_sa | Q | 2005Q3 | 0.22437 | 2005-11-17 |
gdp_qoq_sa | Q | 2005Q4 | 0.035454 | 2006-02-17 |
gdp_qoq_sa | Q | 2006Q1 | 1.261402 | 2006-05-18 |
gdp_qoq_sa | Q | 2006Q2 | 0.616905 | 2006-08-17 |
gdp_qoq_sa | Q | 2006Q3 | 0.117291 | 2006-11-17 |
gdp_qoq_sa | Q | 2006Q4 | 2.148564 | 2007-02-17 |
gdp_qoq_sa | Q | 2007Q1 | -0.287685 | 2007-05-18 |
gdp_qoq_sa | Q | 2007Q2 | 0.612001 | 2007-08-17 |
gdp_qoq_sa | Q | 2007Q3 | 0.465313 | 2007-11-17 |
gdp_qoq_sa | Q | 2007Q4 | 1.555108 | 2008-02-17 |
gdp_qoq_sa | Q | 2008Q1 | 2.953616 | 2008-05-18 |
thainowcast: pseudo-real-time nowcasting data for Thai GDP and inflation
Most of this dataset is synthetic. The panel in
data/and every result inresults/come from generated test data, because the environment the project was built in had no access to the Thai statistical agencies. They exercise the pipeline and say nothing about the Thai economy. The one real-data file isgeo/province_night_lights.csv.
Data for the working paper ThaiNowcast: Pseudo-Real-Time Nowcasting of Thai GDP and Inflation with Official and Alternative Data by Thanatchon Chongmankhong (read online · PDF). The paper nowcasts quarterly real GDP growth and monthly headline CPI inflation from official monthly statistics and five families of alternative data (Google Trends, nighttime lights, Sentinel-5P NO2, online prices, mobility), with a model race, regime-split evaluation, Diebold-Mariano tests, conformal intervals, an ablation per alternative data family and a Kalman-filter news decomposition. Code: https://github.com/thanatchon36/thainowcast; archived on Zenodo: 10.5281/zenodo.23995547.
Independent personal research. Does not represent the views of any employer or institution.
Files
| path | content |
|---|---|
data/panel.csv |
synthetic. The pseudo-real-time panel: 5,708 observations of 26 series (series, freq M or Q, period, value, release), January 2004 to 2026Q3. release is the date the value is assumed published; a model at origin t sees only rows with release <= t |
data/indicators.csv |
the registry: English and Thai name, group (target, hard, five alternative families), agency, frequency, assumed publication lag in days, and the last period released as of 2026-11-05. Lags are approximations |
data/raw/synthetic_*.csv |
synthetic. The same 26 series as one period,value file each, in the layout the pipeline's loader expects; synthetic_manifest.json records the seed and the data-generating process |
results/backtest_gdp_yoy.csv |
synthetic. Expanding-window backtest of GDP growth, 2015Q1 to 2026Q2: one row per period, origin (M1, M2, M3, PR = the day before the official release), model and feature set, with nowcast, first-release actual, error and the 80% conformal interval (3,680 rows) |
results/backtest_cpi_yoy.csv |
synthetic. The same for CPI inflation, 2015-01 to 2026-09, origins M0 (mid-month) and PR (6,204 rows) |
results/summary_*.csv |
RMSFE and MAE by model, feature set, origin and regime (full, pre-COVID, COVID, post-COVID), relative to the AR benchmark |
results/dm_*.csv |
Diebold-Mariano tests against the AR benchmark with the Harvey-Leybourne-Newbold correction |
results/coverage_*.csv |
empirical coverage and width of the 80% conformal intervals |
results/ablation_*.csv |
RMSFE of each alternative data family added to hard data alone, relative to hard data alone |
results/live_* |
the live nowcast as of 2026-11-05 (live_nowcast.json), its evolution across origins, and the news decomposition of the latest GDP revision |
geo/province_night_lights.csv |
real data. For each of Thailand's 77 provinces: share of land area, share of national night-light brightness in 2012 and 2016, and the share of its 2016 pixels saturated at 255 |
geo/geo_summary.json |
the aggregates quoted in Section 3.3 of the paper (Bangkok Metropolitan Region, Eastern Economic Corridor, top ten provinces) |
SHA256SUMS |
checksums of every file above |
Model codes: rw random walk, ar AR(p), bridge bridge equation on principal components, midas MIDAS with
exponential Almon weights, dfm mixed-frequency dynamic factor model, enet elastic net, lgbm LightGBM.
Feature sets: hard_only, hard_ plus one alternative family (trends, lights, no2, prices), all, and
none for the univariate benchmarks.
The synthetic data
One AR(1) common factor drives all series, with event shocks placed where Thai history had them (the global
financial crisis 2008-09, the 2011 floods, the 2014 political crisis, COVID-19 2020-21, the 2022 energy-price
spike). GDP growth is a trend plus 1.1 times the quarterly mean of the factor plus noise; CPI inflation loads on
oil prices, farm prices, a core component and the factor lagged six months; each indicator is a loading on the
factor at its own lead or lag plus AR(1) noise, rebuilt into levels with seasonality. Seed 20261105. Which
alternative data help, and by how much, is therefore set by the generator's loadings, not by Thailand.
Replace the files with real ones named in
docs/data_sources.md and run
make all to regenerate every table here.
The night-light table
Computed by scripts/make_geo_figures.py from NASA Earth Observatory's Black Marble 2012 and 2016 global
grayscale composites (3 km; Román et al., 2018) and geoBoundaries ADM1 province boundaries (Runfola et al., 2020;
© OpenStreetMap contributors). Brightness is summed within each province with cos(latitude) pixel-area weights.
The composites are 8-bit images scaled for display, not calibrated radiance, so the shares describe where light
is rather than how much: dense urban cores saturate (40.6% of Bangkok's pixels in 2016), which understates their
share, and the 2012 and 2016 images may differ in processing as well as in activity. No model uses this table.
Licence
LICENSE gives the terms. The synthetic data and all results are CC BY 4.0. geo/province_night_lights.csv and
geo/geo_summary.json are derived from OpenStreetMap data through geoBoundaries and are released under the Open
Database License (ODbL) 1.0, with attribution to © OpenStreetMap contributors and geoBoundaries; the Black Marble
imagery is NASA public domain.
Citation
@misc{chongmankhong2026thainowcast,
author = {Chongmankhong, Thanatchon},
title = {ThaiNowcast: Pseudo-Real-Time Nowcasting of Thai GDP and Inflation with Official and Alternative Data},
year = {2026},
doi = {10.5281/zenodo.23995547},
url = {https://thanatchon36.github.io/thainowcast/paper/},
note = {Working paper; results are from synthetic test data}
}
- Downloads last month
- 118