W3cubDocs

/Statsmodels

statsmodels.emplike.descriptive.DescStatUV.plot_contour

DescStatUV.plot_contour(mu_low, mu_high, var_low, var_high, mu_step, var_step, levs=[0.2, 0.1, 0.05, 0.01, 0.001]) [source]

Returns a plot of the confidence region for a univariate mean and variance.

Parameters:
  • mu_low (float) – Lowest value of the mean to plot
  • mu_high (float) – Highest value of the mean to plot
  • var_low (float) – Lowest value of the variance to plot
  • var_high (float) – Highest value of the variance to plot
  • mu_step (float) – Increments to evaluate the mean
  • var_step (float) – Increments to evaluate the mean
  • levs (list) – Which values of significance the contour lines will be drawn. Default is [.2, .1, .05, .01, .001]
Returns:

fig – The contour plot

Return type:

matplotlib figure instance

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.emplike.descriptive.DescStatUV.plot_contour.html