i tried a lot to calculate the Ryan Joiner(RJ) P-Value. is there any method or formula to calculate RJ P-Value. i found how to calculate RJ value but unable to find the manual calcuation part for RJ P-Value. Minitab is calculating by some startegy . i want to know that how calculate it in manually.
please support me on this.
It appears that Minitab simply uses linear interpolation with the critical values to estimate the p-value. I tested with 17 different datasets and all the results are similar, although not exactly the same. I believe the small difference is due to rounding of the values reported by Minitab. However, when I calculate the test statistics and compare only the p-value, the results are always identical (rounded to the third decimal place).
For example, for
N=40
, the critical values are:alpha = 0.10
,R_critical =0.97670384
alpha = 0.05
,R_critical =0.97148399
alpha = 0.01
,R_critical =0.95968573
Now just interpolate the test statistics to find alpha. As
Ra=0.968
, the corresponding alpha is betweenRcritical=0.95968573
(0.01
) andRcritical=0.97148399
(0.05
). I calculated the critical values with the equation mentioned by @brittohalloran.Just replace the values into the linear interpolation equation (https://en.wikipedia.org/wiki/Linear_interpolation). See the image below for a step by step formula
step by step calculation
The result is a value close to what you obtained (
p_value = 0.040
).The script below estimates the
p-value
(I wrote out in python for convenience)