DescStatUV.ci_var(lower_bound=None, upper_bound=None, sig=0.05)
[source]
Returns the confidence interval for the variance.
Parameters: |
|
---|---|
Returns: |
Interval – Confidence interval for the variance |
Return type: |
tuple |
>>> import numpy as np >>> import statsmodels.api as sm >>> random_numbers = np.random.standard_normal(100) >>> el_analysis = sm.emplike.DescStat(random_numbers) >>> el_analysis.ci_var() (0.7539322567470305, 1.229998852496268) >>> el_analysis.ci_var(.5, 2) (0.7539322567469926, 1.2299988524962664)
If the function returns the error f(a) and f(b) must have different signs, consider lowering lower_bound and raising upper_bound.
© 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.ci_var.html