本文介绍了gnuplot的相关系数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用拟合函数绘制数据:函数f(x)= a + b * x ** 2 。绘制后,我得到以下结果:

I want to plot data using fit function : function f(x) = a+b*x**2. After ploting i have this result:

correlation matrix of the fit parameters:

               m      n
m               1.000
n              -0.935  1.000

我的问题是:如何在gnuplot上找到相关系数?

My question is : how can i found a correlation coefficient on gnuplot ?

推荐答案

如果您正在寻找一种计算,您如本。

If you're looking for a way to calculate the correlation coefficient as defined on this page, you are out of luck using gnuplot as explained in this Google Groups thread.

还有许多其他用于计算相关系数的工具,例如。

There are lots of other tools for calculating correlation coefficients, e.g. numpy.

这篇关于gnuplot的相关系数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 11:46