ECON 424/CFRM 462:  Computational Finance and Financial Econometrics

Home
Syllabus
Homework
Notes
Excel Hints
R Hints
Announcements
Links
Project
Review

Canvas

Class Syllabus

Summer 2015

Note 1: In the Reading column below, "ZLM" refers to A Beginner's Guide to R by Zuur, Leno and Meesters; "R Cookbook" refers to R Cookbook by Teetor; "EZ" referes to book chapters of Introduction to Computational Finance and Financial Econometrics by Eric Zivot; "EG" refers to Modern Portfolio Theory by Elton and Gruber; "Ruppert" refers to Statistics and Data Analysis for Financial Engineering by Ruppert . "*" denotes optional reading.

Note 2: Recent changes to the reading list are denoted with .

Note 3: My Book chapters are preliminary and incomplete and are not guaranteed to be free of errors. Also, as the quarter progresses I will be making changes and additions to the notes so check the revision dates to make sure you have the most up to date set of notes. Please let me know if you find typos or other errors. 

Last updated on  August 11,  2015

Week Topic Reading Additional Material
1
  1. Course Introduction

  2. Computing Asset Returns

  3. Getting financial data from Yahoo!

  4. Excel calculations

  5. Introduction to R

  6. Univariate random variables and distributions

  1. Ruppert, chapter 2 (Returns).

  2. EZ, Book chapter on return calculations.

  3. EZ, Book chapter on review of univariate random variables and probability.

  4. EZ, class slides on course introduction.

  5. EZ, class slides on return calculations.

  6. EZ, class slides on probability review: Part I.

  7. ZLM, chapters 1-3, 5.

  8. R Cookbook, chapters 1 - 5, 10 (sections 1 - 15)

  9. An Introduction to R, sections 1-3, 6 and 7.

  10. R for Beginners, sections 1-3.

  11. *EG, chapters 1-3

  1. finance.yahoo.com Check out finance/quote section

  2. returnCalculations.xls

  3. returnCalculations.r (R code for book chapter examples)

  4. returnCalculations.Rmd (R markdown file for web-page examples)

  5. returnCalculations.html (R examples in web page using R markdown - best viewed in Chrome)

  6. Rintro.pdf (introduction to R covered) 

  7. probReview.xls

  8. probReview.r (R code for book chapter examples)

 

2 & 3
  1. Characteristics of distributions

  2. The normal distribution

  3. Linear function of random variables

  4. Quantiles of a distribution, Value-at-Risk

  5. Bivariate distributions

  6. Covariance, correlation, autocorrelation

  7. Linear combinations of random variables

  8. Time Series concepts

  9. Matrix algebra

  1. Ruppert, chapter 5 (Modeling Univariate Distributions), chapter 7 (Multivariate Statistical Models), chapter 9 (Time Series Models: Basics), Appendix (sections 1-10, 12-15, 20)

  2. EZ, Book chapter on review of univariate random variables and probability.

  3. EZ, Book chapter on time series concepts. (updated January 22 2015)

  4. EZ, Book chapter on review of matrix algebra.

  5. EZ, class slides on probability review: Part I.

  6. EZ, class slides on probability review: Part II.

  7. EZ, class slides on time series concepts.

  8. EZ, class slides on matrix algebra.

  9. ZLM, chapters 3-7.

  10. R Cookbook, chapter 8 and chapter 14 (sections 1 - 16).

  11. An Introduction to R, section 8.

  12. R for Beginners, section 4.

  1. probReview.xls

  2. probReview.r (R code for book chapter examples)

  3. probabilityReview.Rmd (R markdown file used to create webpage examples)

  4. probabilityReview.html (R examples in webpage created with R markdown)

  5. timeSeriesConcepts.r (R code for book chapter examples)

  6. timeSeriesConcepts.Rmd (R markdown file used to create webpage examples)

  7. timeSeriesConcepts.html (R examples in webpage created with R markdown - best viewed in Chrome)

  8. matrixReview.r (R code for book chapter examples)

  9. matrixReview.Rmd (R markdown file used to create webpage examples)

  10. matrixReview.html (R examples in webpage created with R markdown - best viewed in Chrome)

  11. Working with time series data in R

4-5
  1. Descriptive statistics: histograms, sample means, variances, covariances and autocorrelations

  2. The constant expected return model.

  3. Monte Carlo simulation

  4. Standard errors of estimates

  5. Confidence intervals

  6. Bootstrapping standard errors and confidence intervals

  7. Hypothesis testing 

  8. Midterm exam: Thursday July 23rd

  9. Midterm solutions

  10. Grade distribution econ 424

  1. Ruppert, chapter 4 (Exploratory Data Analysis), chapter 5 sections 9 and 10 (maximum likelihood estimation), chapter 6 (Resampling), Appendix (sections 11, 16 - 18)

  2. EZ, Book chapter on descriptive statistics.

  3. EZ, class slides on descriptive statistics.

  4. EZ, class slides on CER model.

  5. EZ, Book chapter on the CER model. Updated February 23, 2015

  6. EZ, Book chapter on estimation of the CER model. Updated February 23, 2015

  7. EZ, book chapter on bootstrapping (coming soon!)

  8. EZ, class slides on bootstrapping

  9. EZ, class slides on hypothesis testing in the CER model.

  10. EZ, class slides on maximum likelihood estimation. Note: will not cover this material this term.

  11. Bootstrap Methods and Permutation Tests, by Tim Hesterberg. Read sections 1 - 5.

  12. R Cookbook, chapter 9 (General Statistics) chapter 10 (Graphics), chapter 13 (Beyond Basic Numerics and Statistics, section 8 on Bootstrapping).

  13. An Introduction to R, section 12.

  1. descriptiveStatistics.r (R code for book chapter examples)

  2. descriptiveStatisticDaily.r

  3. descriptiveStatistics.Rmd (R markdown file used to create webpage examples)

  4. descriptiveStatistics.html (R examples in webpage created with R markdown)

  5. cerModel.r (R code for book chapter examples)

  6. cerModel.Rmd (R markdown file used to create webpage examples)

  7. cerModel.html (R examples in webpage created with R markdown - best viewed in Chrome)

  8. cerModelEstimation.r (R code for book chapter examples)

  9. cerModelEstimation.Rmd (R markdown file used to create webpage examples)

  10. cerModelEstimation.html (R examples in webpage created with R markdown - best viewed in Chrome)

  11. bootstrap.Rmd (R markdown file used to create webpage examples)

  12. bootstrap.html (R examples in webpage created with R markdown - best viewed in Chrome)

  13. bootStrap.r (R code examples)

  14. rollingCerModel.Rmd (R markdown file used to create webpage examples)

  15. rollingCerModel.html (R examples in webpage created with R markdown - best viewed in Chrome)

  16. hypothesisTestingCER.r

  17. hypothesisTestingCerModel.Rmd (R markdown file used to create webpage examples)

  18. hypothesisTestingCerModel.html (R examples in webpage created with R markdown - best viewed in Chrome)

  19. maximumLikelihood.r

  20. maxLike R package vignette.

6-7
  1. Introduction to portfolio theory

  2. Optimization

  3. Markowitz algorithm

  4. Markowitz Algorithm using the solver and matrix algebra

  5. Risk budgeting

 

  1. Ruppert, chapter 11 (Portfolio Theory).

  2. EZ, Book chapter on introduction to portfolio theory.

  3. Notes on using Excel's solver.

  4. EZ, class slides on Introduction to Portfolio Theory.

  5. EZ, class slides on portfolio theory with matrix algebra.

  6. EZ, Book chapter on portfolio theory with matrix algebra. 

  7. R Cookbook, chapter 13 (Beyond Basin Numerics and Statistics, sections 1 - 2)

  8. *EG, chapters 5 and 6

 

  1. introPortfolioTheory.xls

  2. 3firmExample.xls

  3. introductionToPortfolioTheory.r

  4. introductionToPortfolioTheory.Rmd (R markdown file used to create webpage examples)

  5. introductionToPortfolioTheory.html (R examples in webpage created with R markdown - best viewed in Chrome)

  6. portfolioTheoryMatrix.r

  7. portfolioTheoryMatrix.Rmd ( R markdown file used to create webpage examples)

  8. portfolioTheoryMatrix.html ( R examples in webpage created with R markdown - best viewed in Chrome)

  9. portfolio.r (R functions for portfolio analysis with short sales)

  10. testport.r (Examples of using R functions for portfolio analysis with short sales)

  11. portfoliofunctions.pdf (description of R functions for portfolio analysis with short sales)

8 & 9
  1. Statistical Analysis of Efficient Portfolios

  2. Beta as a measure of portfolio risk

  3. The Single Index Model

  4. Estimating the Single Index Model using simple linear regression  (not covered summer 2015)

  5. Capital Asset Pricing Model (CAPM) (not covered summer 2015)

  1. Ruppert, chapter 12 (Regression: Basics), chapter 13 (Regression: Troubleshooting), chapter 16 (CAPM)

  2. EZ, class slides on portfolio theory with no short sales.

  3. EZ class slides on statistical properties of efficient portfolios.

  4. EZ, class slides on portfolio risk budgeting

  5. EZ class slides on the single index model.

  6. EZ class slides on estimating single index model using regression. (not covered summer 2015)

  7. EZ class slides on the Capital Asset Pricing Model (not covered summer 2015)

  8. R Cookbook, chapter 11 (Linear Regression and ANOVA)

  9. *EG, chapters 6, 7 and 9

  1. portfolioTheoryNoShortSales.r

  2. portfolioTheoryNoShorts.html (R examples in webpage created with R markdown - best viewed in Chrome)

  3. portfolioTheoryNoShorts.Rmd (R markdown file used to create webpage examples)

  4. statisticalAnalysisPortfolios.Rmd (R markdown file used to create webpage examples)

  5. statisticalAnalysisPortfolios.html (R examples in webpage created with R markdown - best viewed in Chrome)

  6. riskBudgeting.Rmd (R markdown file used to create webpage examples)

  7. riskBudgeting.html (R examples in webpage created with R markdown - best viewed in Chrome)

  8. portfolio_noshorts.r (R functions for portfolio analysis with short sales)

  9. testport.r (updated examples to include no short sales constraints)

  10. rollingPortfolios.r

  11. bootstrapPortfolio.R

  12. singleIndex.r

  13. singleIndexPrices.xls (added May 22, 2006)

  14. testCAPM.r

9

Final Exam: Thursday August 20 from 1:10-3:20 in DEM 104.

Final Project: Due Friday August 21 by 8 pm via Canvas or hardcopy in my mailbox or in my office (until 5 pm only)