TY - BOOK AU - Scheuch,Christoph AU - AU - Voigt,Stefan AU - Weiss,Patrick AU - AU - TI - Tidy finance with R T2 - Chapman & Hall/CRC The R Series SN - 9781003347538 U1 - 332.015 23/eng/20230209 PY - 2023/// PB - CRC Press KW - Finance KW - R (Computer program language) KW - Computer programs KW - Econometric models KW - Mathematical models N1 - 1. Introduction to Tidy Finance 2. Accessing & Managing Financial Data 3. WRDS, CRSP, and Compustat 4. TRACE and FISD 5. Other Data Providers 6. Beta Estimation 7. Univariate Portfolio Sorts 8. Size Sorts and P-Hacking 9. Value and Bivariate Sorts 10. Replicating Fama and French Factors 11. Fama-MacBeth Regressions 12. Fixed Effects and Clustered Standard Errors 13. Difference in Differences 14. Factor Selection via Machine Learning 15. Option Pricing via Machine Learning 16. Parametric Portfolio Policies 17. Constrained Optimization and Backtesting Appendix A. Cover Design Appendix B. Clean Enhanced TRACE with R; Access restricted to subscribing institutions N2 - "This textbook shows how to bring theoretical concepts from finance and econometrics to the data. Focusing on coding and data analysis with R, we show how to conduct research in empirical finance from scratch. We start by introducing the concepts of tidy data and coding principles using the tidyverse family of R packages. We then provide the code 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"-- UR - https://ezproxy.lib.gla.ac.uk/login?url=https://www.taylorfrancis.com/books/9781003347538 ER -