Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
alpha
float32
0
0.99
gamma
float32
0
3.66
beta
float32
0
0.99
var0
float32
0.1
10
eta
float32
5
100
lam
float32
-0.95
0.95
ti
float32
1
1k
p
float32
0
1
x
listlengths
512
512
0.611476
0.074128
0.224535
6.175308
100
0.241717
1
0.729095
[ -6.612217903137207, -5.934843063354492, -5.599032878875732, -5.365052700042725, -5.183089733123779, -5.034839630126953, -4.910983085632324, -4.79995584487915, -4.701364994049072, -4.611841678619385, -4.529912948608398, -4.4547882080078125, -4.385409355163574, -4.320230960845947, -4.25889...
0.19657
0.88926
0.338825
0.561702
72.620636
0.294831
1
0.315353
[ -1.9225009679794312, -1.729230284690857, -1.6323902606964111, -1.566362977027893, -1.5149201154708862, -1.4728150367736816, -1.4368995428085327, -1.4052585363388062, -1.376895785331726, -1.3516539335250854, -1.3282510042190552, -1.3068578243255615, -1.2869715690612793, -1.268395185470581, ...
0.127212
0.056955
0.777235
8.854736
7.549101
-0.71528
1
0.543526
[ -16.35348129272461, -13.035462379455566, -11.594341278076172, -10.689732551574707, -10.02275562286377, -9.497832298278809, -9.062470436096191, -8.696556091308594, -8.374794006347656, -8.093511581420898, -7.8409504890441895, -7.611605167388916, -7.403076171875, -7.209776878356934, -7.0308...
0.266569
0.035671
0.058608
0.225129
5.336196
0.818989
1
0.141312
[ -0.6726893782615662, -0.6211515665054321, -0.5988326668739319, -0.5846268534660339, -0.5740371942520142, -0.5657378435134888, -0.5588284134864807, -0.5529985427856445, -0.5477911829948425, -0.5431348085403442, -0.5389413833618164, -0.535142719745636, -0.5316094160079956, -0.528315961360931...
0.501373
0.196931
0.380901
3.045559
31.938959
-0.194439
1
0.998817
[ -6.321621417999268, -5.498865604400635, -5.102045059204102, -4.83188533782959, -4.62048864364624, -4.452442169189453, -4.309899806976318, -4.186387062072754, -4.07494592666626, -3.974862575531006, -3.8845231533050537, -3.801178455352783, -3.72415828704834, -3.6534972190856934, -3.5872237...
0.700625
0.218692
0.077925
4.463071
16.42305
0.718437
1
0.04599
[ -3.62202525138855, -3.3637659549713135, -3.2396411895751953, -3.155578136444092, -3.0900826454162598, -3.0365896224975586, -2.9917397499084473, -2.9524154663085938, -2.9177615642547607, -2.8856759071350098, -2.8567540645599365, -2.8302245140075684, -2.805527448654175, -2.782475709915161, ...
0.057828
0.48655
0.016476
0.326663
5.58477
-0.355201
1
0.813866
[ -3.1349568367004395, -2.4414877891540527, -2.1492223739624023, -1.967479944229126, -1.8357704877853394, -1.733245611190796, -1.648698329925537, -1.5779545307159424, -1.518183708190918, -1.465326189994812, -1.417492151260376, -1.3746675252914429, -1.3358453512191772, -1.300291895866394, -...
0.242026
0.345885
0.195688
1.554703
87.710175
-0.766433
1
0.205826
[ -5.146114349365234, -4.466293811798096, -4.132818698883057, -3.903660535812378, -3.729661703109741, -3.5881881713867188, -3.466796875, -3.361212730407715, -3.268294095993042, -3.1835033893585205, -3.1070690155029297, -3.035898208618164, -2.9705615043640137, -2.9098050594329834, -2.853092...
0.002702
1.070139
0.305193
1.807133
11.943969
0.198361
1
0.497314
[ -4.127093315124512, -3.550976276397705, -3.283052682876587, -3.1056790351867676, -2.97391676902771, -2.8675537109375, -2.7781548500061035, -2.7012712955474854, -2.6336755752563477, -2.572956085205078, -2.518521785736084, -2.4688596725463867, -2.42321515083313, -2.3801982402801514, -2.340...
0.032861
1.002978
0.031921
0.111283
61.56554
-0.880124
1
0.643791
[ -1.416015386581421, -1.2235255241394043, -1.1296452283859253, -1.0656403303146362, -1.01674485206604, -0.9767345786094666, -0.9426262378692627, -0.9132308959960938, -0.8869286179542542, -0.8636905550956726, -0.8424997329711914, -0.8226041197776794, -0.8045275807380676, -0.7877258062362671,...
0.128649
0.949908
0.157669
1.184908
41.680771
0.95
1
0.090141
[ -1.4615087509155273, -1.4384835958480835, -1.426090121269226, -1.4169570207595825, -1.4095282554626465, -1.4030778408050537, -1.3973294496536255, -1.392128348350525, -1.3871386051177979, -1.382475733757019, -1.3779467344284058, -1.3734984397888184, -1.3691020011901855, -1.364792823791504, ...
0.291793
0.521244
0.10457
0.1
10.575157
-0.06619
1
0.799011
[ -1.2141366004943848, -1.0205000638961792, -0.9327569603919983, -0.8745442628860474, -0.8309983015060425, -0.7962872385978699, -0.7677355408668518, -0.7433021664619446, -0.7215321660041809, -0.7021316289901733, -0.6847681999206543, -0.6688608527183533, -0.6542494893074036, -0.64073270559310...
0
0.497563
0.757195
6.54262
6.684064
0.48852
1
0.388756
[ -6.125978946685791, -5.241714000701904, -4.857773303985596, -4.611545085906982, -4.432408809661865, -4.287820816040039, -4.169203281402588, -4.0692033767700195, -3.9815235137939453, -3.9043009281158447, -3.8348355293273926, -3.7708580493927, -3.712435483932495, -3.6582884788513184, -3.60...
0.227203
1.050334
0.10399
0.402458
18.219021
-0.590603
1
0.719147
[ -2.7909891605377197, -2.3687968254089355, -2.167440414428711, -2.0325090885162354, -1.9307310581207275, -1.8499034643173218, -1.7810883522033691, -1.7221711874008179, -1.6704137325286865, -1.6235246658325195, -1.581186056137085, -1.5419634580612183, -1.5063611268997192, -1.4736411571502686...
0.494344
0.398607
0.290047
0.155099
27.013506
0.06147
1
0.298561
[ -1.2476576566696167, -1.0916261672973633, -1.0162122249603271, -0.9651537537574768, -0.9266844987869263, -0.8949547410011292, -0.8683512210845947, -0.8449848294258118, -0.824638307094574, -0.8062282800674438, -0.7896959781646729, -0.7743244171142578, -0.7600551247596741, -0.746766567230224...
0.011858
1.014869
0.147316
0.262665
26.920248
-0.070527
1
0.585701
[ -1.7612667083740234, -1.5344940423965454, -1.4233826398849487, -1.3480982780456543, -1.290355920791626, -1.2441015243530273, -1.2055883407592773, -1.1719768047332764, -1.1418520212173462, -1.1149576902389526, -1.090433120727539, -1.0680632591247559, -1.0473064184188843, -1.0280756950378418...
0.094875
0.365246
0.515877
2.447652
5
-0.947239
1
0.593521
[ -10.565009117126465, -7.944897651672363, -6.868740558624268, -6.2063727378845215, -5.732161045074463, -5.363066673278809, -5.070410251617432, -4.826704978942871, -4.617883205413818, -4.432779312133789, -4.268923282623291, -4.1226677894592285, -3.9909067153930664, -3.8689920902252197, -3....
0.107504
1.245519
0.315736
0.383967
17.982445
0.583332
1
0.38092
[ -1.2435328960418701, -1.1319518089294434, -1.0774672031402588, -1.040864109992981, -1.0126737356185913, -0.989922046661377, -0.9705374836921692, -0.9537606239318848, -0.9388230443000793, -0.9252489805221558, -0.9130909442901611, -0.9018496870994568, -0.8914511799812317, -0.8817160129547119...
0.738303
0.208317
0.094375
3.562011
5.18309
-0.242275
1
0.250595
[ -10.143864631652832, -7.824445724487305, -6.873261451721191, -6.278128623962402, -5.854039192199707, -5.526234149932861, -5.259453773498535, -5.032266616821289, -4.83669376373291, -4.666304588317871, -4.515116214752197, -4.380360126495361, -4.256024360656738, -4.142304420471191, -4.03837...
End of preview. Expand in Data Studio

GARCH Densities Dataset

GJR-GARCH simulations with Hansen skewed-t innovations, for option pricing and risk modeling. Each row pairs a parameter set Θ with inverse-CDF quantiles of terminal returns at a given maturity step.

Example CDF and derived PDF curves

Dataset Description

Each example is a tuple (Θ, ti, x) where:

  • Θ = (alpha, gamma, beta, var0, eta, lam)
  • ti = maturity step index (integer steps)
  • x = vector of Q=512 quantiles at probabilities
    p = linspace(0.001, 0.999, 512)

Parameters are sampled by Sobol low-discrepancy sequences under the persistence constraint ( \alpha + \gamma + \beta < 0.95 ).

Features

  • alpha (float32) — persistence term
  • gamma (float32) — effective leverage term (GJR component)
  • beta (float32) — persistence term
  • var0 (float32) — initial variance ( \sigma_0^2 ), log-uniform in [1/30, 30]
  • eta (float32) — skewed-t degrees of freedom ( \nu ), log-uniform in [4, 100]
  • lam (float32) — skewed-t skew ( \lambda ) in [-0.98, 0.98]
  • ti (float32) — maturity step index [1, 1000]
  • x (list[512]) — quantiles of normalized terminal return ( R_T ) at p above

All numeric columns are float32 for I/O efficiency.

Parameter Sampling

  • (alpha, gamma, beta) with ( \alpha + \gamma + \beta < 0.95 )
  • ( \nu \in [4, 100] ) (log-uniform), ( \lambda \in [-0.98, 0.98] ) (uniform)
  • ( \sigma_0^2 \in [1/30, 30] ) (log-uniform)

Dataset Statistics

  • Train: 110 shards, ~145 MB each
  • Test: 29 shards, ~145 MB each
  • Row groups: zstd compression, ~64–128 MiB target (streaming-friendly)

Parameter Distributions
Parameter Correlations

Usage

Recommended loading

from datasets import load_dataset
ds = load_dataset("sitmo/garch_densities", token=False)  # -> DatasetDict(train/test/sample)
train, test = ds["train"], ds["test"]
print(train)
print(train.features)

PyTorch formatting

import torch
from torch.utils.data import DataLoader

param_cols = ["alpha","gamma","beta","var0","eta","lam","ti"]
cols = param_cols + ["x"]
train = train.with_format("torch", columns=cols)

loader = DataLoader(train, batch_size=256, shuffle=True, num_workers=4, pin_memory=torch.cuda.is_available())
batch = next(iter(loader))

params  = torch.stack([batch[c] for c in param_cols], dim=1)  # [B,7]
targets = batch["x"]                                          # [B,512]
print(params.shape, targets.shape)

Inspect a sample

ex = train[0]
len(ex["x"])  # 512

Methodology

  1. Sobol sampling of Θ in 6D under ( \alpha+\gamma+\beta<0.95 )
  2. Monte Carlo: GJR-GARCH with Hansen skewed-t innovations
  3. Quantiles: empirical quantiles of terminal returns on p = linspace(0.001, 0.999, 512)
  4. Performance: inverse-CDF accelerations for skewed-t sampling

Train/Test Split

  • Train: 10,000,000 paths per case
  • Test: 10,000,000 paths per case
  • Independent parameter cases; split preserves Sobol low-discrepancy structure.

Applications

  • Option pricing across strikes (quantile-based)
  • VaR / CVaR risk metrics
  • Learning ( \Theta \mapsto ) return distribution (NNs)
  • Validation/benchmarking of GARCH implementations

Limitations

  • Restricted to GJR-GARCH with Hansen skewed-t
  • Fixed parameter ranges
  • Finite MC precision and finite quantile grid resolution (512 points)

Provenance

  • Synthetic data from our simulator (GJR-GARCH + Hansen skewed-t)
  • Parquet: zstd, row groups ~64–128 MiB, shards ~145 MB

Citation

@dataset{garch_densities_2025,
  title   = {GARCH Densities Dataset},
  author  = {Thijs van den Berg, Paul Wilmott},
  year    = {2025},
  url     = {https://huggingface.co/datasets/sitmo/garch-densities}
}
Downloads last month
81