Coder Social home page Coder Social logo

gaobinwang / dier-replication Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrebmsouza/dier-replication

0.0 0.0 0.0 25 KB

Replication files for the paper Directional Information In Equity Returns.

License: GNU General Public License v2.0

Shell 3.24% R 58.33% Stata 38.43%

dier-replication's Introduction

Replication Files for Directional Information in Equity Returns

This repository contains replication files for the paper Directional Information in Equity Returns by Luca Del Viva, Carlo Sala and Andre B.M. Souza. The paper is available here.

Authors

Luca Del Viva, Carlo Sala, and Andre B.M. Souza.

Software Requirements

This code requires Matlab, Stata, R, and access to a command prompt to run .sh files.

Data requirements

This code assumes there exists files named CRSP_Daily.dta and CRSP_Monthly.dta in data/inputs. These files should be downloaded from CRSP.

Instructions

To construct the probability score, run the script ConstructProbScore.sh in the folder code. Alternatively, you can run the scripts Preparing_Daily_Variables.do,Preparing_Weekly_Variables.do,Preparing_Monthly_Variables.do, Aggregate_Data.do, Create_ProbScore_OOS_Parallelized.R and Create_Main_Strategies.do. Once the probability score is constructed, you can run the analysis to replicate Tables 1 and 2 in the paper by running the script RunAnalysis.sh.

Data

Important Disclaimer: The data used in this study was downloaded from the following sources in April, 2023.

Additional Resources

dier-replication's People

Contributors

andrebmsouza 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.