一旦我在Excel中使用了回归函数,我如何找出它使用的公式(y = mx + b)

我有一个样本数据范围有四个类别,

foo | bar | bizz| buzz --------------------------- 163 345 456 2435 232 234 457 2435 123 346 234 3673 

Foo是因variables,bar,bizz和buzz是独立variables。 我已经去了数据分析=>回归=>select适当的这些列,得到所有的回归统计和一些代表它的情节。 我如何find它使用的公式,以便在应用程序的预测中使用它?

 SUMMARY OUTPUT Regression Statistics Multiple R 0.462484844 R Square 0.213892231 Adjusted R Square 0.212161986 Standard Error 2991.441979 Observations 1367 ANOVA df SS MS F Significance F Regression 3 3318714896 1106238299 123.6196536 8.06738E-71 Residual 1363 12197112332 8948725.116 Total 1366 15515827228 Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0% Intercept 703.0478619 126.1475776 5.5732173 3.01028E-08 455.5834102 950.5123135 455.5834102 950.5123135 Bar 41.53512531 2.493716675 16.65591193 7.6937E-57 36.64318651 46.42706411 36.64318651 46.42706411 Bizz 1.96479128 0.361015402 5.442402932 6.22595E-08 1.256585224 2.672997336 1.256585224 2.672997336 Buzz 16.77200247 5.419776635 3.094592933 0.002010941 6.139994479 27.40401046 6.139994479 27.40401046 RESIDUAL OUTPUT PROBABILITY OUTPUT Observation Predicted foo Residuals Standard Residuals Percentile foo 1 6780.632281 34894.36772 11.67756172 0.036576445 63 2 6722.069851 28513.93015 9.542318743 0.109729334 63 3 3382.925842 21471.07416 7.185394378 0.182882224 63 

哦,嘿,我的统计class现在看起来没有什么用处了。

根据这个结果,foo = 703.0478619 + 41.53512531 * bar + 1.96479128 * bizz + 16.77200247 * buzz

您可以在这些值中看到列出Intercept,Bar,Bizz和Buzz的系数/标准错误。

或许应该注意,r平方值非常低,这(如果我没有记错的话)意味着foo中的方差不能很好地由自variables来解释。