• strict warning: Non-static method view::load() should not be called statically in /home/unitorga/public_html/coding/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/unitorga/public_html/coding/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/unitorga/public_html/coding/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/unitorga/public_html/coding/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/unitorga/public_html/coding/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/unitorga/public_html/coding/sites/all/modules/views/plugins/views_plugin_row.inc on line 134.

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.

Subscribe Subcribe to my blog

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer