15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

limits : None or (lower limit, upper limit), optional<br />

SciPy Reference Guide, Release 0.8.dev<br />

Values in the input array less than the lower limit or greater than the upper limit will<br />

be ignored. When limits is None, then all values are used. Either of the limit values<br />

in the tuple can also be None representing a half-open interval. The default value is<br />

None.<br />

inclusive : (bool, bool), optional<br />

Returns<br />

tsem : float<br />

A tuple consisting of the (lower flag, upper flag). These flags determine whether<br />

values exactly equal to the lower or upper limits are included. The default value is<br />

(True, True).<br />

moment(a, moment=1, axis=0)<br />

Calculates the nth moment about the mean for a sample.<br />

Generally used to calculate coefficients of skewness and kurtosis.<br />

Parameters<br />

a : array<br />

moment : int<br />

axis : int or None<br />

Returns<br />

The appropriate moment along the given axis or over all values if axis is :<br />

None. :<br />

variation(a, axis=0)<br />

Computes the coefficient of variation, the ratio of the biased standard deviation to the mean.<br />

Parameters<br />

a : array<br />

References<br />

axis : int or None<br />

[CRCProbStat2000] Section 2.2.20<br />

[CRCProbStat2000]<br />

skew(a, axis=0, bias=True)<br />

Computes the skewness of a data set.<br />

For normally distributed data, the skewness should be about 0. A skewness value > 0 means that there is more<br />

weight in the left tail of the distribution. The function skewtest() can be used to determine if the skewness value<br />

is close enough to 0, statistically speaking.<br />

Parameters<br />

a : array<br />

axis : int or None<br />

bias : bool<br />

If False, then the calculations are corrected for statistical bias.<br />

Returns<br />

The skewness of values along an axis, returning 0 where all values are :<br />

3.18. Statistical functions (<strong>scipy</strong>.stats) 643

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!