Skip to content

Manual

This is the reference documentation of the assayinganomalies package, version 0.9.0: a function-by-function tutorial in 20 chapters and an appendix, and the reference pages behind it. If you are new to the package, start with Get started and the guide; come here when you want to know exactly what a step computes.

Tutorial

The tutorial's contents page lists every chapter and has an index of functions. Its five parts:

Part Chapters
Orientation 1 Architecture, install, config, CLI · 2 End-to-end tour
The data layer 3 Storage · 4 Build pipeline · 5 Ingest · 6 CRSP monthly · 7 Compustat · 8 CRSP daily · 9 Trading costs · 9b Factor trading costs · 10 Betas · 11 The 23 Novy-Marx/Velikov anomalies
Analytics 12 Data access and signal files · 13 Portfolio sorts · 14 Fama-MacBeth · 15 Costs and generalized alpha
The protocol 16 The protocol · 17 Results I · 18 Results II · 19 Reporting
Wrap-up 20 Validation and reproducibility · Appendix: coming from MATLAB

Reference

Page Use
Quickstart notebook The package's quickstart notebook as a page
Known limitations What the package does not do, or does approximately
The project folder Where the database, settings and outputs live
Trading-cost inputs tcosts_type, the Gibbs file, building hf_monthly.csv
Panel column dictionary Every column of the monthly stock panel
Analytics API The public analytics functions

The manual describes version 0.9.0, the version that produced the results in the paper.