commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Schaumberg <>
Subject [math] chi-squared test default deg freedom should be n-2 not n-1?
Date Sun, 23 Aug 2015 01:04:59 GMT
Dear devs,

Chi-squared test takes degrees of freedom to be one fewer than the sample

Should be two fewer, right?

d.f. = k - p - 1
k is sample count
p is # parameters being estimated (typically 1)

One fewer is typically for T-test, I think.

Not a statistician, thanks for your time, sorry if this is the wrong agent,
first time here,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message