javascript - Chi-Squared p-value calculation without using a chart [algorithm] -


I'm trying to apply one to javascript.

The hardest part about this is calculating P is the price for the Chi-Square test. There are many calculators, but I just do not want to plug in numbers, I want to know the math behind them.

It looks exactly what I see (except for the need to translate it to JavaScript), but the magical number is hard to calculate.

What is the algorithm for calculating the Che-square P-value without using the chart at a higher level?

code

Can give you a hint

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -