paper-with-me

Papers

PySDTest: a Python/Stata Package for Stochastic Dominance Tests

2023-07-20 · Kyungho Lee, Yoon-Jae Whang

We introduce PySDTest, a Python/Stata package for statistical tests of stochastic dominance. PySDTest implements various testing procedures such as Barrett and Donald (2003), Linton et al. (2005), Linton et al. (2010), and Donald and Hsu (2016), along with their extensions. Users can flexibly combine several resampling methods and test statistics, including the numerical delta method (D\"umbgen, 1993; Hong and Li, 2018; Fang and Santos, 2019). The package allows for testing advanced hypotheses on stochastic dominance relations, such as stochastic maximality among multiple prospects. We first provide an overview of the concepts of stochastic dominance and testing methods. Then, we offer practical guidance for using the package and the Stata command pysdtest. We apply PySDTest to investigate the portfolio choice problem between the daily returns of Bitcoin and the S&P 500 index as an empirical illustration. Our findings indicate that the S&P 500 index returns second-order stochastically dominate the Bitcoin returns.

📄 PDF Abstract BibTeX arXiv:2307.10694

Code (1)

lee-kyungho/pysdtest

Similar Papers 제목 키워드 기반

Julia as a universal platform for statistical software development

2024-04-14 · David Roodman

The julia package integrates the Julia programming language into Stata. Users can transfer data between Stata and Julia, issue Julia commands to analyze and plot, and pass results back to Stata. Julia's econometric ecosy…

Machine Learning using Stata/Python

2021-03-03 · Giovanni Cerulli

We present two related Stata modules, r_ml_stata and c_ml_stata, for fitting popular Machine Learning (ML) methods both in regression and classification settings. Using the recent Stata/Python integration platform (sfi) …

BIG-bench Machine Learningregression

require: Package dependencies for reproducible research

2023-09-20 · Sergio Correia, Matthew P. Seay

The ability to conduct reproducible research in Stata is often limited by the lack of version control for community-contributed packages. This article introduces the require command, a tool designed to ensure Stata packa…

Using bayesmixedlogit and bayesmixedlogitwtp in Stata

2023-02-03 · Matthew J. Baker

This document presents an overview of the bayesmixedlogit and bayesmixedlogitwtp Stata packages. It mirrors closely the helpfile obtainable in Stata (i.e., through help bayesmixedlogit or help bayesmixedlogitwtp). Furthe…

A multi-language toolkit for the semi-automated checking of research outputs

2022-12-06 · Richard J. Preen, Maha Albashir, Simon Davy, Jim Smith

This article presents a free and open source toolkit that supports the semi-automated checking of research outputs (SACRO) for privacy disclosure within secure data environments. SACRO is a framework that applies best-pr…