Book Image

Mastering R for Quantitative Finance

Book Image

Mastering R for Quantitative Finance

Overview of this book

Table of Contents (20 chapters)
Mastering R for Quantitative Finance
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Factor Models

In most of the cases in finance, valuation of financial assets is based on the discounted cash flow method; hence, the present value is calculated as the discounted value of the expected future cash flows. Therefore, in order to be able to value assets, we need to know the appropriate rate of return that reflects the time value of money and also the risk of the given asset. There are two main approaches to determine expected returns: the capital asset pricing model (CAPM) and the arbitrage pricing theory (APT). CAPM is an equilibrium model, while APT builds on the no-arbitrage principle; thus, these approaches have quite different starting points and inner logic. However, the final pricing formula we get can be quite similar, depending on the market factors we use. For the comparison of CAPM and APT, see Bodie-Kane-Marcus (2008). When we test any of these theoretical models on real-world data, we perform linear regressions. This chapter focuses on APT, since we have...