8000 GitHub - lphansen/Beliefs: Python code for Robust Identification of Investor Beliefs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Python code for Robust Identification of Investor Beliefs

Notifications You must be signed in to change notification settings

lphansen/Beliefs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Python code for Robust Identification of Investor Beliefs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0