add error handling and correct degrees of freedom in chisquare #132

Closed
wants to merge 1 commit into
from

Projects

None yet

1 participant

@dlo
dlo commented Jan 12, 2012

Raise a ValueError when the degrees of freedom is less than 1, and set the
degree of freedom to (rows-1)*(cols-1) (previously it was just the length of
the array minus one, which is only appropriate for one dimensional data sets).

Also update documention to reflect this change.

@dlo dlo add error handling and correct degrees of freedom in chisquare
Raise a ValueError when the degrees of freedom is less than 1, and set the
degree of freedom to (rows-1)*(cols-1) (previously it was just the length of
the array minus one, which is only appropriate for one dimensional data sets.

Also update documention to reflect this change.
1ea00e0
@dlo
dlo commented Jan 12, 2012

Invalid, sorry.

@dlo dlo closed this Jan 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment