Coder Social home page Coder Social logo

fintools's Introduction

Different tools for financial research

famamacbeth

The code implements FamaMacbeth regression as in Fama, F. & Macbeth, J.D. (2003) "Risk, Return and Equilibrium: Empirical Tests" Journal of Political Economy Vol 81, No 3, pp. 607-636

Standard errors were tested against Petersen's simulated data for Standard Error testing: https://www.kellogg.northwestern.edu/faculty/petersen/htm/papers/se/test_data.htm

For more information on dataset and standard errors calculation read: Petersen M. A. (2009) "Estimating Standard Errors in Finance Panel Data Sets: Comparing Approaches", The Review of Financial Studies, Vol 22, Issue 1, pp 435-480

Example of code usage

from famamacbeth import FamaMacBeth as fm

model = fm(Y, (X1, X2, X3), add_constant = True, yLabel = 'Name of Y',\
           xLabel = ['X1 label','X2 label', 'X3 label'])
model.fit(NW = True)
model.summary()

fintools's People

Contributors

iankhr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar Wenqiu avatar well well avatar  avatar JingNEAU avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar Ignacio de Ramon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.