GithubHelp home page GithubHelp logo

accopvb-matlab's Introduction

Replication Code for "Large Skew-t Copula Models and Asymmetric Dependence in Intraday Equity Returns"

Authors: Lin Deng, Michael Smith, Worapree Maneesoonthorn

Overview

This directory contains the necessary MATLAB code and files to replicate the simulation results from the paper "Large Skew-t Copula Models and Asymmetric Dependence in Intraday Equity Returns" arXiv

MATLAB Files

  • ACCop_VB_example.m: Replicates the simulation results in Section 4 of the paper.
  • ACCop_VB_example_2.m: Code for estimating currency exchange rate dependence using AC skew-t copula. Note that this example is provided to illustrate how the code may be used in a real data setting, but is not covered in the paper.
  • Generate_CopulaData.m: Generates simulated data from the AC skew-t copula density.

Directories

  • Data: Contains simulated data for (d=5, 30) (used in the simulation exercise in the paper) and the exchange rate data used in 'ACCop_VB_example_2.m'.
  • Distribution: Contains functions related to the evaluation of the AC skew-t distribution and copula.
  • misc: Contains miscellaneous functions for saving and plotting outputs.
  • Results: Contains simulation results, as presented in Section 4 of the paper.
  • VB_fun: Contains functions related to the Variational Bayes estimation of the AC skew-t copula.

Key Functions in VB_fun:

  • vb_st_copula_opt_b.m: Estimates (\lambda), the variational parameters of the skew-t copula and its special cases (AC skew-normal, Gaussian, and t copula).
  • summary_stc_vb.m: Calculates the summaries of the posterior approximation of the AC model parameters.
  • sim_posterior_stc_vb.m: Simulates copula data from the predictive posterior distribution.
  • gradLogPost_TraceGrad01.m: Computes the analytical gradient of the log-posterior given in Table 5 of the manuscript.

accopvb-matlab's People

Contributors

lindenglab avatar

Watchers

 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.