statsmodels.emplike.descriptive.DescStatMV.test_corr¶ DescStatMV.test_corr(corr0, return_weights=0)[source]¶ 返回 -2 倍对数似然比和 p 值,用于两个变量之间的相关系数 Parameters:¶ corr0float假设要检验的值 return_weightsbool如果为真,返回在假设值处最大化对数似然函数的权重 Last update: Oct 16, 2024