Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Introduction to R for Quantitative Finance

You're reading from  Introduction to R for Quantitative Finance

Product type Book
Published in Nov 2013
Publisher Packt
ISBN-13 9781783280933
Pages 164 pages
Edition 1st Edition
Languages

Table of Contents (17) Chapters

Introduction to R for Quantitative Finance
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Time Series Analysis Portfolio Optimization Asset Pricing Models Fixed Income Securities Estimating the Term Structure of Interest Rates Derivatives Pricing Credit Risk Management Extreme Value Theory Financial Networks References Index

Model testing


The first tests on the beta-return relationship used two-phase linear regression (Lintner 1965). The first regression estimates the security characteristic line and beta of the individual securities as described above. In the second regression, the security's risk premium is the dependent variable, whereas beta is the explanatory variable. The null-hypothesis assumes the intercept to be zero and the slope of the curve to be the market risk premium, which is estimated as the average of the sample. The test can be extended by an additional explanatory variable: the individual variance.

Data collection

We will present the test using a sample of the US market in the pre-crisis period between 2003 and 2007. As daily data includes more short-term effects, we will apply the test on monthly returns calculated from the daily time series. So, we need the time series of the daily price of more stocks; let us download the prices of the first 100 stocks from S&P 500 in alphabetical order...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}