1

我是pairgrid regplots Seaborn 输出的粉丝,如下所示:

地块

我的问题是,我看不到这些回归模型的 R 和 P 值。

当它是网格的一部分时,Seaborn 是否有办法在 regplot 上输出统计值?

我的代码:

g = sns.PairGrid(df8,
                 y_vars=["Candidate_x"],
                 x_vars=["mobile_homes", "white_labor_participation",
                         "Unemployment_x", "less_hs_diploma",
                         "difference_x"], size=3)
g.map(sns.regplot, color=".3")
g.set(ylim=(0, 1), yticks=[0, 5, 10]);
4

0 回答 0