Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个包含多个点的散点图。我想为这些点添加一个线性拟合(比如简单的线性回归)。我的问题是我应该用公式计算回归并获取数据数组并在此处填充为一条线(这非常复杂),还是有什么函数可以直接用于获取线性回归线?
以防其他人偶然发现:
一个用户(不是我)创建了一个 highcharts 插件来计算各种趋势线,包括线性回归。它工作得相当好,但文档缺少一点。
HighCharts 回归插件(线性 + 非线性)
在Highcharts 演示页面上喜欢这样吗?