15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

References<br />

[R26]<br />

count_tied_groups(x, use_missing=False)<br />

Counts the number of tied values in x, and returns a dictionary<br />

(nb of ties: nb of groups).<br />

Examples<br />

Parameters<br />

x : sequence<br />

Sequence of data on which to counts the ties<br />

use_missing : boolean<br />

Whether to consider missing values as tied.<br />

>>> z = [0, 0, 0, 2, 2, 2, 3, 3, 4, 5, 6]<br />

>>> count_tied_groups(z)<br />

>>> {2:1, 3:2}<br />

>>> # The ties were 0 (3x), 2 (3x) and 3 (2x)<br />

>>> z = ma.array([0, 0, 1, 2, 2, 2, 3, 3, 4, 5, 6])<br />

>>> count_tied_groups(z)<br />

>>> {2:2, 3:1}<br />

>>> # The ties were 0 (2x), 2 (3x) and 3 (2x)<br />

>>> z[[1,-1]] = masked<br />

>>> count_tied_groups(z, use_missing=True)<br />

>>> {2:2, 3:1}<br />

>>> # The ties were 2 (3x), 3 (2x) and masked (2x)<br />

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

Computes several descriptive statistics of the passed array.<br />

Parameters<br />

a : array<br />

axis : int or None<br />

Returns<br />

(size of the data (discarding missing values), :<br />

(min, max), arithmetic mean, unbiased variance, biased skewness, biased kurtosis)<br />

f_oneway(*args)<br />

Performs a 1-way ANOVA, returning an F-value and probability given any number of groups. From Heiman,<br />

pp.394-7.<br />

Usage: f_oneway (*args) where *args is 2 or more arrays, one per<br />

treatment group<br />

Returns: f-value, probability<br />

f_value_wilks_lambda(ER, EF, dfnum, dfden, a, b)<br />

Calculation of Wilks lambda F-statistic for multivarite data, per Maxwell & Delaney p.657.<br />

find_repeats(arr)<br />

672 Chapter 3. Reference

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

Saved successfully!

Ooh no, something went wrong!