Research work · 2019

An implementation of the consumption based capital asset pricing model

Caetano Florian Roberti

Lume (Universidade Federal do Rio Grande do Sul)

Abstract

This paper computationally implements the Consumption Capital Asset Pricing Model (CCAPM) as presented by (LUCAS, 1978) restricted to the case shown in (ELTON et al., 2014). The CCAPM was originally developed in (RUBINSTEIN, 1976), (LUCAS, 1978) and (BREEDEN, 1979). The script is able to automatically collect the data, insert into an offline database, calculate the returns, estimate the model’s parameters and export the results. We also developed unitary tests scrips in order increase the confidence in the program. The results were compared to the parameters estimated using Gretl and both arrived at the same estimation. Both the program and the unitary tests are available on Github.

Read free full text