statsmodels.genmod.cov_struct.NominalIndependence#

class statsmodels.genmod.cov_struct.NominalIndependence(cov_nearest_method='clipped')[source]#

An independence covariance structure for nominal models.

The working covariance between indicators derived from different observations is zero. The working covariance between indicators derived form a common observation is determined from their current mean values.

There are no parameters to estimate in this covariance structure.

Methods

covariance_matrix(expected_value, index)

Returns the working covariance or correlation matrix for a given cluster of data.

covariance_matrix_solve(expval, index, ...)

Solves matrix equations of the form covmat * soln = rhs and returns the values of soln, where covmat is the covariance matrix represented by this class.

initialize(model)

Called by GEE, used by implementations that need additional setup prior to running fit.

summary()

Returns a text summary of the current estimate of the dependence structure.

update(params)

Update the association parameter values based on the current regression coefficients.

Methods

covariance_matrix(expected_value, index)

Returns the working covariance or correlation matrix for a given cluster of data.

covariance_matrix_solve(expval, index, ...)

Solves matrix equations of the form covmat * soln = rhs and returns the values of soln, where covmat is the covariance matrix represented by this class.

initialize(model)

Called by GEE, used by implementations that need additional setup prior to running fit.

summary()

Returns a text summary of the current estimate of the dependence structure.

update(params)

Update the association parameter values based on the current regression coefficients.