Python 中的多元回归

发布于 2024-07-27 05:31:34 字数 171 浏览 1 评论 0原文

我目前正在使用 scipy 的 linregress 函数进行单一回归。 我无法找到同一个库或另一个库是否能够进行多元回归,即一个因变量和多个自变量。 如果可能的话,我想避免使用 R。 如果您想知道,我正在进行外汇市场分析,目的是复制一种货币对与多种其他货币对。 有人帮忙吗? 谢谢,

托马斯

I am currently using scipy's linregress function for single regression. I am unable to find if the same library, or another, is able to do multiple regression, that is, one dependent variable and more than one independent variable. I'd like to avoid R if possible. If you're wondering, I am doing FX market analysis with the goal of replicating one currency pair with multiple other currency pairs. Anyone help? Thanks,

Thomas

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小草泠泠 2024-08-03 05:31:34

使用 OLS 类 [http://www.scipy.org/Cookbook/OLS] SciPy 食谱。

Use the OLS class [http://www.scipy.org/Cookbook/OLS] from the SciPy cookbook.

咿呀咿呀哟 2024-08-03 05:31:34

我不确定这是否是您所需要的,但是 用于数据处理 (MDP) 的模块化工具包 libray 最近实现了多元线性回归。 它受 LGPL 许可。

I'm not sure if this is what you need, but the Modular toolkit for Data Processing (MDP) libray recently implemented multivariate linear regression. It is under LGPL license.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文