计算平均每月收益的T统计量

发布于 2025-01-18 20:33:23 字数 226 浏览 7 评论 0原文

我创建了一个交易策略并计算了它的每月回报。我有一个 12 个月回报的清单,因为我的期限是 1 年。 此外,我还计算了当年的平均月回报,为 1 个数字。我正在尝试复制一项研究,其中有一个与当年平均月回报相关的 t 统计值。 像这样: 2020年->平均月回报 = 0,2 -> t 统计量:5,54。

在这种情况下如何计算 t 统计量?我搜索并发现有必要为此设置两组变量,但我只有返回值。我想用Python计算它。

I have created a trading strategy and computed the monthly returns of it. I have a list of 12 monthly returns, since I have a 1-years period.
Furthermore, I computed the average monthly return for the year, which is 1 number. I am trying to replicate a study, in which there is a t-statistic value attached to the average monthly return for the year.
Like this:
2020-> average monthly return = 0,2 -> t-statistic: 5,54.

How can I compute the t-statistic in this case? I have searched and found that it is necessary to have 2 groups of variables for that, but I only have the returns. I want to compute it in Python.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文