This is a replication repository for the article A Note on the M6 Forecasting Competition: Rank Optimization. To replicate the analysis:
- Install dependencies in
requirements.txt - Run the analysis via either:
- If you are a DVC user, simply run
dvc exp runin the console or run therun.batfile. - If not, you can also run all the files manually in the following order:
src\process_data.Rsrc\estimate_coefficients.Rsrc\compute_strategy.Rsrc\run_competition_simulated.Rsrc\run_competition_bootstrapped.Rsrc\auxiliary\leaderboard_comparison.Rsrc\auxiliary\strategy_diagram.Rsrc\auxiliary\scaling_effects.Rsrc\auxiliary\position_effects.Rsrc\auxiliary\competition_statistics_simulated.Rsrc\auxiliary\competition_statistics_bootstrapped.R
- If you are a DVC user, simply run
- To create the pdf, compile the file
latex\article_ssrn\article_ssrn.tex