DAVID WEES

Thoughts from a 21st century educator.

Chi Squared test calculator in JavaScript

Today a 9th grade student asked me if there was something he could do to tell if two categorical variables had a relationship or not. The Χ2 test would be perfect, except that most of my 9th grade students don't yet have the mathematical acumen to do the calculation themselves.

So I created a very simple calculator in JavaScript for the Χ2 test. It is located here: http://davidwees.com/javascript/chisquaredtest/.

Note that this calculator doesn't check that the original data is fit to be included, and definitely does not yet include the Yates correction for continuity.



Twitter Follow me on Twitter

Subscribe Subcribe to my blog