statsmodels.stats.oaxaca.OaxacaResults

class statsmodels.stats.oaxaca.OaxacaResults(results, model_type)[source]

This class summarizes the fit of the OaxacaBlinder model.

Use .summary() to get a table of the fitted values or use .params to receive a list of the values

If a two-fold model was fitted, this will return unexplained effect, explained effect, and the mean gap. The list will be of the following order and type.

unexplainedfloat

This is the effect that cannot be explained by the data at hand. This does not mean it cannot be explained with more.

explainedfloat

This is the effect that can be explained using the data.

gapfloat

This is the gap in the mean differences of the two groups.

If a three-fold model was fitted, this will return characteristic effect, coefficient effect interaction effect, and the mean gap. The list will be of the following order and type.

characteristic effectfloat

This is the effect due to the group differences in predictors

coefficient effectfloat

This is the effect due to differences of the coefficients of the two groups

interaction effectfloat

This is the effect due to differences in both effects existing at the same time between the two groups.

gapfloat

This is the gap in the mean differences of the two groups.

Attributes
params

A list of all values for the fitted models.

Methods

summary()

Print a summary table with the Oaxaca-Blinder effects

Methods

summary()

Print a summary table with the Oaxaca-Blinder effects