Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 769
9Morgan8 Avatar asked Apr 15 '26 23:04

9Morgan8


1 Answers

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.

like image 97
Ramintafromlt Avatar answered Apr 17 '26 13:04

Ramintafromlt