statsmodels 的 `.summary()` 和 `.summary2()` 函数有什么区别?

huangapple go评论87阅读模式
英文:

What is the difference between statsmodels `.summary()` and `.summary2()` function?

问题

statsmodels的.summary().summary2()函数之间有什么区别,应该使用哪一个?我很好奇是否使用.summary2()更容易读取参数置信区间?如果此问题已经被提出,我找不到,但会很高兴如果提供链接将我重定向到相关主题。

英文:

Hey I am wondering what the differences between statsmodels .summary() and .summary2() functions are and which to use?
I am curious if it is easier to read out parameter confidence intervals with .summary2()?

If this quesstion has already been asked I could not find it but would be happy for link provision redirecting me to the topic.

答案1

得分: 1

summary2函数,正如文档所述,目前是实验性的,详情请参阅 https://www.statsmodels.org/dev/generated/statsmodels.regression.linear_model.RegressionResults.summary2.html

与主要的summary函数不同,它具有默认值的yname参数,允许其具有可选值,具有float_format参数,不具有slim参数,alpha参数具有可选值。

英文:

The summary2 function, as the documentation states is experimental for now https://www.statsmodels.org/dev/generated/statsmodels.regression.linear_model.RegressionResults.summary2.html.

It differs from the main summary function by yname parameter having default value and allowing it to have optional values, having float_format parameter, not having slim parameter, alpha parameter having optional values.

huangapple
  • 本文由 发表于 2023年5月26日 16:50:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76339171.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定