Giter Club home page Giter Club logo

beliefs's Introduction

Robust Identification of Investor Beliefs

This repository contains codes and a jupyter notebook which estimates and demonstrates results of the empirical example in "Robust Identification of Investor Beliefs" by Xiaohong Chen, Lars Peter Hansen and Peter G. Hansen. Latest version could be found here.

Acessing our jupyter notebook

There are two options to access our jupyter notebook. The easiest way is to open a copy in Google Colab by clicking the button below:

Open In Colab

Then click "Run all" from "runtime" to see our results. If you are running the notebook the first time, you will need to click the authorization link under the first code cell and copy paste a pop-up string to the input box under the link.

An alternative way is to store the notebook as well as codes in your local machine. You can do this by following steps below:

  1. Open a Windows command prompt or Mac terminal and change into the folder you would like to store the files.
    • You can do this using the command cd in the command prompt (on Windows) or terminal (on Mac).
    • For example, running cd 'C:\Users\username\python' (don’t forget '' around the path name to use an absolute path) would lead me to my designated folder.
cd [folder path name]
  1. Clone the github repository for the paper
    • If you don’t have github installed, try installing it from this page: https://git-scm.com/download.
    • You can do this by running below in the command prompt:
git clone https://github.com/lphansen/Beliefs
  1. Change directories into the ‘Beliefs’ folder and open jupyter notebook by running below in command prompt:
cd Beliefs
jupyter notebook
  1. Open Belief_Notebook.ipynb.
  2. Run notebooks cell by cell or click "Run all" from "kernel" in the menu bar to see details about our model results and computational details.

beliefs's People

Contributors

hanxuh-hub avatar hanxuhh avatar lphansen avatar zhenhuanxie 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.