Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 129

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 130

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 131

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 132

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 133

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 134

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 135

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 136

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 137

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 138

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/sites/default/settings.php on line 139

Warning: ini_set() has been disabled for security reasons in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 471

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 1165

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 1165

Warning: Cannot modify header information - headers already sent by (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 729

Warning: Cannot modify header information - headers already sent by (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 730

Warning: Cannot modify header information - headers already sent by (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 731

Warning: Cannot modify header information - headers already sent by (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/bootstrap.inc on line 732
Chi Squared test calculator in JavaScript | Programming blog
  • warning: Cannot modify header information - headers already sent by (output started at /home/unitorga/public_html/coding/sites/default/settings.php:129) in /home/unitorga/public_html/coding/includes/common.inc on line 153.
  • 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