statsmodels.genmod.generalized_estimating_equations.GEE.update_cached_means

GEE.update_cached_means(mean_params)[source]

cached_means should always contain the most recent calculation of the group-wise mean vectors. This function should be called every time the regression parameters are changed, to keep the cached means up to date.