statsmodels.genmod.generalized_estimating_equations.GEE.compare_score_test

GEE.compare_score_test(submodel)[source]

对给定的子模型对此模型执行得分检验。

Parameters:
submodelGEEResults instance

一个拟合的GEE模型,是此模型的子模型。

Returns:
A dictionary with keys “statistic”, “p-value”, and “df”,
containing the score test statistic, its chi^2 p-value,
and the degrees of freedom used to compute the p-value.

注释

得分检验可以在不调用较大模型的‘fit’方法的情况下进行。提供的子模型必须来自一个已拟合的GEE。

此方法执行的得分检验与通过拟合带有线性约束的GEE并调用score_test 对结果进行检验所得到的得分检验相同。

参考文献

徐国和潘伟 (2002)。“GEE中得分检验的小样本性能”。 http://www.sph.umn.edu/faculty1/wp-content/uploads/2012/11/rr2002-013.pdf


Last update: Oct 16, 2024