DownloadThe Portobello Bookshop Gift Guide 2024

Tidy Finance with Python

Stefan Voigt author Patrick Weiss author Christoph Scheuch author Christoph Frey author

Format:Paperback

Publisher:Taylor & Francis Ltd

Published:12th Jul '24

Should be back in stock very soon

This paperback is available in another edition too:

Tidy Finance with Python cover

This textbook shows how to bring theoretical concepts from finance and econometrics to the data. Focusing on coding and data analysis with Python, we show how to conduct research in empirical finance from scratch. We start by introducing the concepts of tidy data and coding principles using pandas, numpy, and plotnine. Code is provided to prepare common open-source and proprietary financial data sources (CRSP, Compustat, Mergent FISD, TRACE) and organize them in a database. We reuse these data in all the subsequent chapters, which we keep as self-contained as possible. The empirical applications range from key concepts of empirical asset pricing (beta estimation, portfolio sorts, performance analysis, Fama-French factors) to modeling and machine learning applications (fixed effects estimation, clustering standard errors, difference-in-difference estimators, ridge regression, Lasso, Elastic net, random forests, neural networks) and portfolio optimization techniques.

Key Features:

  • Self-contained chapters on the most important applications and methodologies in finance, which can easily be used for the reader’s research or as a reference for courses on empirical finance.
  • Each chapter is reproducible in the sense that the reader can replicate every single figure, table, or number by simply copying and pasting the code we provide.
  • A full-fledged introduction to machine learning with scikit-learn based on tidy principles to show how factor selection and option pricing can benefit from Machine Learning methods.
  • We show how to retrieve and prepare the most important datasets financial economics: CRSP and Compustat, including detailed explanations of the most relevant data characteristics.
  • Each chapter provides exercises based on established lectures and classes which are designed to help students to dig deeper. The exercises can be used for self-studying or as a source of inspiration for teaching exercises.
  • <

“A fantastic book bringing together financial theory, sound econometrics, thorough data processing and powerful programming techniques using R. An absolute must for every student and scholar in empirical finance.”

Nikolaus Hautsch, Professor of Finance & Statistics at University of Vienna

“Tidy Finance is a fantastic resource that lowers the threshold for entry into empirical finance, all in the spirit of open and reproducible science.”

Björn Hagströmer, Professor of Finance at Stockholm Business School

“To have a deep understanding of empirical asset pricing, one needs to write code using actual data. To learn how to do this, there is no better starting point than Tidy Finance. [...] I strongly recommend Tidy Finance to both beginners and experts.”

Raman Uppal, Professor of Finance at EDHEC Business School

“Students and professionals alike are led step by step until they suddenly find themselves coding on their own. A brilliant and required resource!”

Mark Salmon, Professor of Economics at University of Cambridge

ISBN: 9781032676418

Dimensions: unknown

Weight: 453g

246 pages