• user warning: Unknown column 'captcha_type' in 'field list' query: SELECT module, captcha_type FROM captcha_points WHERE form_id = 'search_theme_form' in /home/unitorga/public_html/coding/sites/all/modules/captcha/captcha.inc on line 60.
  • user warning: Unknown column 'captcha_type' in 'field list' query: SELECT module, captcha_type FROM captcha_points WHERE form_id = 'search_block_form' in /home/unitorga/public_html/coding/sites/all/modules/captcha/captcha.inc on line 60.

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.

Links

Twitter Follow me on Twitter

Subscribe Subcribe to my blog