statsmodels.genmod.cov_struct.GlobalOddsRatio.get_eyy

GlobalOddsRatio.get_eyy(endog_expval, index)[source]

Returns a matrix V such that V[i,j] is the joint probability that endog[i] = 1 and endog[j] = 1, based on the marginal probabilities of endog and the global odds ratio current_or.