arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.10694econ.EMstat.CO
收藏

PySDTest:用于随机占优检验的 Python/Stata 软件包

PySDTest: a Python/Stata Package for Stochastic Dominance Tests

Kyungho Lee, Yoon-Jae Whang

AI总结:

本文介绍 Python/Stata 软件包 PySDTest,用于实现多种随机占优检验方法,并通过比特币与 S&P 500 指数的实证分析验证其有效性。

摘要:

我们介绍 PySDTest,一个用于随机占优统计检验的 Python/Stata 软件包。PySDTest 实现了多种检验程序,如 Barrett and Donald (2003)、Linton et al. (2005)、Linton et al. (2010) 和 Donald and Hsu (2016) 及其扩展。用户可以灵活地组合多种重抽样方法和检验统计量,包括数值 delta 方法(Dümbgen, 1993;Hong and Li, 2018;Fang and Santos, 2019)。该软件包允许检验关于随机占优关系的高级假设,例如多个备选方案之间的随机最优性。我们首先概述随机占优的概念和检验方法。然后,我们提供使用该软件包及 Stata 命令 pysdtest 的实用指导。作为实证示例,我们将 PySDTest 应用于研究比特币日收益率与 S&P 500 指数之间的投资组合选择问题。我们的研究结果表明,S&P 500 指数收益率二阶随机占优于比特币收益率。

英文摘要:

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ümbgen, 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑