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
Post a Comment