3.2.1.2.1. statsmodels.discrete.discrete_margins.DiscreteMargins

class statsmodels.discrete.discrete_margins.DiscreteMargins(results, args, kwargs={})[source]

Get marginal effects of a Discrete Choice model.

Parameters:

results : DiscreteResults instance

The results instance of a fitted discrete choice model

args : tuple

Args are passed to get_margeff. This is the same as results.get_margeff. See there for more information.

kwargs : dict

Keyword args are passed to get_margeff. This is the same as results.get_margeff. See there for more information.

__init__(results, args, kwargs={})[source]

3.2.1.2.1.1. Methods

__init__(results, args[, kwargs])
conf_int([alpha]) Returns the confidence intervals of the marginal effects
get_margeff([at, method, atexog, dummy, count]) Get marginal effects of the fitted model.
pvalues()
summary([alpha]) Returns a summary table for marginal effects
summary_frame([alpha]) Returns a DataFrame summarizing the marginal effects.
tvalues()