<p>我正在查看python主题的统计信息。我被一只手抓住了。在</p>
<p>问题陈述:</p>
<blockquote>
<p>Perform ANOVA on the first linear model obtained while working with mtcars data set.
<strong>Display the F-statistic value</strong>.</p>
</blockquote>
<p>我在问题陈述中所做的:</p>
<pre><code>import statsmodels.api as sm
import statsmodels.formula.api as smf
from statsmodels.stats import anova
mtcars_data = sm.<a href="https://www.cnpython.com/pypi/dataset" class="inner-link">dataset</a>s.get_rdataset("mtcars").data
print(mtcars_data.columns)
mt_model1 = smf.ols('mpg ~ cyl', mtcars_data ).fit()
print(anova.anova_lm(mt_model1))
</code></pre>
<p><img src="https://i.stack.imgur.com/RVJ20.png" alt="output"/></p>
<p>如何显示上述问题的<em>F</em>-统计信息?在</p>