Dataset Viewer
Auto-converted to Parquet Duplicate
id
int32
1
842k
sorting_variable
stringclasses
50 values
min_size_quantile
float64
0.2
0.2
exclude_financials
bool
2 classes
exclude_utilities
bool
2 classes
exclude_negative_earnings
bool
2 classes
sorting_variable_lag
stringclasses
3 values
rebalancing
stringclasses
2 values
n_portfolios_main
float64
3
10
sorting_method
stringclasses
3 values
breakpoints_min_size_threshold
float64
0.2
0.2
n_portfolios_secondary
float64
2
5
breakpoints_exchanges
stringclasses
2 values
weighting_scheme
stringclasses
3 values
1
sv_52w
null
true
true
true
3m
monthly
3
univariate
null
null
NYSE
EW
2
sv_52w
null
true
true
true
3m
monthly
3
univariate
null
null
NYSE
VW
3
sv_52w
null
true
true
true
3m
monthly
3
univariate
null
null
NYSE
capped VW
4
sv_52w
null
true
true
true
3m
monthly
3
univariate
null
null
AMEX|NASDAQ|NYSE
EW
5
sv_52w
null
true
true
true
3m
monthly
3
univariate
null
null
AMEX|NASDAQ|NYSE
VW
6
sv_52w
null
true
true
true
3m
monthly
3
univariate
null
null
AMEX|NASDAQ|NYSE
capped VW
7
sv_52w
null
true
true
true
3m
monthly
3
univariate
0.2
null
NYSE
EW
8
sv_52w
null
true
true
true
3m
monthly
3
univariate
0.2
null
NYSE
VW
9
sv_52w
null
true
true
true
3m
monthly
3
univariate
0.2
null
NYSE
capped VW
10
sv_52w
null
true
true
true
3m
monthly
3
univariate
0.2
null
AMEX|NASDAQ|NYSE
EW
11
sv_52w
null
true
true
true
3m
monthly
3
univariate
0.2
null
AMEX|NASDAQ|NYSE
VW
12
sv_52w
null
true
true
true
3m
monthly
3
univariate
0.2
null
AMEX|NASDAQ|NYSE
capped VW
13
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
2
NYSE
EW
14
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
2
NYSE
VW
15
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
2
NYSE
capped VW
16
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
2
AMEX|NASDAQ|NYSE
EW
17
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
2
AMEX|NASDAQ|NYSE
VW
18
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
2
AMEX|NASDAQ|NYSE
capped VW
19
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
5
NYSE
EW
20
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
5
NYSE
VW
21
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
5
NYSE
capped VW
22
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
5
AMEX|NASDAQ|NYSE
EW
23
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
5
AMEX|NASDAQ|NYSE
VW
24
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
null
5
AMEX|NASDAQ|NYSE
capped VW
25
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
2
NYSE
EW
26
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
2
NYSE
VW
27
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
2
NYSE
capped VW
28
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
2
AMEX|NASDAQ|NYSE
EW
29
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
2
AMEX|NASDAQ|NYSE
VW
30
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
2
AMEX|NASDAQ|NYSE
capped VW
31
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
5
NYSE
EW
32
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
5
NYSE
VW
33
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
5
NYSE
capped VW
34
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
5
AMEX|NASDAQ|NYSE
EW
35
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
5
AMEX|NASDAQ|NYSE
VW
36
sv_52w
null
true
true
true
3m
monthly
3
bivariate-dependent
0.2
5
AMEX|NASDAQ|NYSE
capped VW
37
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
2
NYSE
EW
38
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
2
NYSE
VW
39
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
2
NYSE
capped VW
40
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
2
AMEX|NASDAQ|NYSE
EW
41
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
2
AMEX|NASDAQ|NYSE
VW
42
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
2
AMEX|NASDAQ|NYSE
capped VW
43
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
5
NYSE
EW
44
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
5
NYSE
VW
45
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
5
NYSE
capped VW
46
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
5
AMEX|NASDAQ|NYSE
EW
47
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
5
AMEX|NASDAQ|NYSE
VW
48
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
null
5
AMEX|NASDAQ|NYSE
capped VW
49
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
2
NYSE
EW
50
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
2
NYSE
VW
51
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
2
NYSE
capped VW
52
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
2
AMEX|NASDAQ|NYSE
EW
53
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
2
AMEX|NASDAQ|NYSE
VW
54
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
2
AMEX|NASDAQ|NYSE
capped VW
55
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
5
NYSE
EW
56
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
5
NYSE
VW
57
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
5
NYSE
capped VW
58
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
5
AMEX|NASDAQ|NYSE
EW
59
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
5
AMEX|NASDAQ|NYSE
VW
60
sv_52w
null
true
true
true
3m
monthly
3
bivariate-independent
0.2
5
AMEX|NASDAQ|NYSE
capped VW
61
sv_52w
null
true
true
true
3m
monthly
5
univariate
null
null
NYSE
EW
62
sv_52w
null
true
true
true
3m
monthly
5
univariate
null
null
NYSE
VW
63
sv_52w
null
true
true
true
3m
monthly
5
univariate
null
null
NYSE
capped VW
64
sv_52w
null
true
true
true
3m
monthly
5
univariate
null
null
AMEX|NASDAQ|NYSE
EW
65
sv_52w
null
true
true
true
3m
monthly
5
univariate
null
null
AMEX|NASDAQ|NYSE
VW
66
sv_52w
null
true
true
true
3m
monthly
5
univariate
null
null
AMEX|NASDAQ|NYSE
capped VW
67
sv_52w
null
true
true
true
3m
monthly
5
univariate
0.2
null
NYSE
EW
68
sv_52w
null
true
true
true
3m
monthly
5
univariate
0.2
null
NYSE
VW
69
sv_52w
null
true
true
true
3m
monthly
5
univariate
0.2
null
NYSE
capped VW
70
sv_52w
null
true
true
true
3m
monthly
5
univariate
0.2
null
AMEX|NASDAQ|NYSE
EW
71
sv_52w
null
true
true
true
3m
monthly
5
univariate
0.2
null
AMEX|NASDAQ|NYSE
VW
72
sv_52w
null
true
true
true
3m
monthly
5
univariate
0.2
null
AMEX|NASDAQ|NYSE
capped VW
73
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
2
NYSE
EW
74
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
2
NYSE
VW
75
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
2
NYSE
capped VW
76
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
2
AMEX|NASDAQ|NYSE
EW
77
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
2
AMEX|NASDAQ|NYSE
VW
78
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
2
AMEX|NASDAQ|NYSE
capped VW
79
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
5
NYSE
EW
80
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
5
NYSE
VW
81
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
5
NYSE
capped VW
82
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
5
AMEX|NASDAQ|NYSE
EW
83
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
5
AMEX|NASDAQ|NYSE
VW
84
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
null
5
AMEX|NASDAQ|NYSE
capped VW
85
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
2
NYSE
EW
86
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
2
NYSE
VW
87
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
2
NYSE
capped VW
88
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
2
AMEX|NASDAQ|NYSE
EW
89
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
2
AMEX|NASDAQ|NYSE
VW
90
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
2
AMEX|NASDAQ|NYSE
capped VW
91
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
5
NYSE
EW
92
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
5
NYSE
VW
93
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
5
NYSE
capped VW
94
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
5
AMEX|NASDAQ|NYSE
EW
95
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
5
AMEX|NASDAQ|NYSE
VW
96
sv_52w
null
true
true
true
3m
monthly
5
bivariate-dependent
0.2
5
AMEX|NASDAQ|NYSE
capped VW
97
sv_52w
null
true
true
true
3m
monthly
5
bivariate-independent
null
2
NYSE
EW
98
sv_52w
null
true
true
true
3m
monthly
5
bivariate-independent
null
2
NYSE
VW
99
sv_52w
null
true
true
true
3m
monthly
5
bivariate-independent
null
2
NYSE
capped VW
100
sv_52w
null
true
true
true
3m
monthly
5
bivariate-independent
null
2
AMEX|NASDAQ|NYSE
EW
End of preview. Expand in Data Studio

Tidy Finance Factor Library: Specification Grid

Lookup table mapping specification IDs to portfolio sorting configurations. Use this dataset together with the Portfolio Returns dataset to identify the methodological choices behind each factor return series.

Dataset Details

Dataset Description

The dataset contains approximately 960,000 unique specification paths for constructing long-short portfolio returns. Each row defines a complete set of preprocessing and sorting choices (sample exclusions, lagging convention, breakpoint definition, weighting scheme, rebalancing frequency). The id column links to the corresponding return series in the Portfolio Returns dataset.

  • Curated by: Christoph Frey (Lancaster University), Christoph Scheuch (Tidy Intelligence), Stefan Voigt (University of Copenhagen), Patrick Weiss (Reykjavík University)
  • Funded by: Danish Finance Institute
  • License: CC0 1.0

Dataset Sources

Uses

Direct Use

  • Joining with the Portfolio Returns dataset to filter or group factor returns by specific methodological choices.
  • Robustness and sensitivity analysis: selecting subsets of specifications to study how preprocessing decisions affect factor premia.
  • Replication: documenting the exact configuration behind a reported result.

Out-of-Scope Use

  • Standalone analysis. The grid contains no return data and must be joined with the Portfolio Returns dataset via the id column.

Dataset Structure

The dataset consists of a single Parquet file with 14 columns and approximately 960,000 rows.

Column Type Description
id int32 Unique specification identifier, foreign key to the Portfolio Returns dataset
sorting_variable string Sorting characteristic (e.g., sv_ag for asset growth, sv_bm for book-to-market)
min_size_quantile double Minimum NYSE size quantile for sample inclusion: NA (none) or 0.2 (bottom 20th percentile excluded)
exclude_financials bool Whether financial firms (SIC 6000-6799) are excluded
exclude_utilities bool Whether utility firms (SIC 4900-4999) are excluded
exclude_negative_earnings bool Whether firms with negative earnings are excluded
sorting_variable_lag string Lagging convention: 3m, 6m, or ff (Fama-French)
rebalancing string Rebalancing frequency: monthly or annual (July)
n_portfolios_main double Number of quantile portfolios for the primary sort: 3, 5, or 10
sorting_method string Sorting method: univariate, bivariate-dependent, or bivariate-independent
breakpoints_min_size_threshold double Minimum NYSE size quantile used when computing breakpoints: NA (none) or 0.2
n_portfolios_secondary double Number of quantile portfolios for the secondary sort (size): 2, 5, or NA for univariate sorts
breakpoints_exchanges string Exchanges used for breakpoint computation: NYSE or AMEX|NASDAQ|NYSE
weighting_scheme string Portfolio weighting: EW (equal-weighted), VW (value-weighted), or capped VW

Dataset Creation

Curation Rationale

Factor construction involves many subjective methodological choices. Rather than committing to a single specification, we enumerate all valid combinations to enable systematic robustness analysis and transparent reporting.

Source Data

Data Collection and Processing

The grid is generated programmatically from the full factorial combination of preprocessing choices, with invalid configurations removed (e.g., univariate sorts have no secondary breakpoints; market equity is excluded from bivariate sorts where size is the secondary variable; earnings-to-market excludes configurations that allow negative earnings). See code/01_define_portfolio_sorts_grid.R in the companion repository for the exact generation logic.

Who are the source data producers?

The grid is a methodological artifact created by the dataset authors. No external data sources are involved.

Personal and Sensitive Information

The dataset contains no personal or sensitive information. All columns describe portfolio sorting configurations.

Bias, Risks, and Limitations

  • The grid reflects the authors' choice of specification dimensions and does not cover all possible methodological variations (e.g., alternative industry classifications, different minimum listing requirements, or alternative risk-free rate definitions).
  • Some specifications may produce portfolios with very few stocks in certain months, particularly for smaller sorting variables or restrictive exclusion criteria.

Recommendations

Always join with the Portfolio Returns dataset via the id column. When reporting results, cite the specific id or the full set of column values to ensure reproducibility.

Citation

BibTeX:

@article{frey2026transparent,
  title={A Transparent Financial Risk Factor Library},
  author={Frey, Christoph and Scheuch, Christoph and Voigt, Stefan and Weiss, Patrick},
  year={2026},
  journal={Working Paper}
}
Dataset Card Authors
Christoph Frey, Christoph Scheuch, Stefan Voigt, Patrick Weiss

Dataset Card Contact
Stefan Voigt (stefan.voigt@econ.ku.dk), Patrick Weiss (patrickw@ru.is)



---
Downloads last month
929