The Spearman’s Rho Table shows a critical value of .447 for alpha = .05 and n = 20 and .522 for alpha = .02 and n = 20, so what value should we use when alpha = .025 and n = 20?
We will consider three approaches: linear interpolation, logarithmic interpolation, and harmonic interpolation.
Linear Interpolation
With linear interpolation, the value we are looking for is calculated by
which can also be calculated using the Real Statistics formula
=INTERPOLATE(.025,.02,.05,.522,.447,0)
Here the 0 argument indicates that linear interpolation is being used.
Logarithmic Interpolation
With logarithmic interpolation, the value we are looking for is calculated by
which can also be calculated using the Real Statistics formula
=INTERPOLATE(.025,.02,.05,.522,.447,1)
Here the 1 argument indicates that log interpolation is being used. This is the default value for the INTERPOLATE function.
This is the preferred type of interpolation for the alpha argument. It is occasionally useful for the sample size argument n and the number of variables k.
Harmonic Interpolation
With harmonic interpolation, the value we are looking for is calculated by
which can also be calculated using the Real Statistics formula
=INTERPOLATE(.025,.02,.05,.522,.447,2)
Here the 2 argument indicates that harmonic interpolation is being used.
This is generally the preferred type of interpolation for the number of variables k, degrees of freedom df, and sample size n.
Table Lookup Functions
The type of interpolation in the calculations of the following functions is specified by the final argument (denoted interp): RhoCRIT, TauCRIT, MCRIT, WCRIT, DCRIT, LCRIT, KSCRIT, KS2CRIT, ADCRIT, QCRIT, DLowerCRIT, DUpperCRIT, and SRankCRIT. interp can take the value FALSE for linear interpolation or TRUE (default) for the recommended type of interpolation.
The recommended type of interpolation is log for alpha and harmonic for df. Generally, harmonic interpolation is used for n and k, although in some situations log interpolation is used instead. Only occasionally is linear interpolation the recommended type of interpolation
RhoCRIT(20,.025,2,TRUE) = .5037Â Â Â Â Â Â Â Â Â RhoCRIT(20,.025,2,FALSE) = .5095
References
Zar. J. H. (2010) Biostatistical analysis 5th Ed. Pearson
https://www.pearson.com/us/higher-education/program/Zar-Biostatistical-Analysis-5th-Edition/PGM263783.html
Laurencelle, L. and Dupuis, F-A. (2002) Statistical tables, explained and applied. World Scientific
https://books.google.it/books/about/Statistical_Tables_Explained_and_Applied.html?id=-onhswEACAAJ&redir_esc=y
Hi Charles, can you help me find the dU and dL for
n = 204
k = 3
With alpha =5%?
Hi Rene,
d = 204 is so close to d = 200 that you might as well use the values for d = 200. A quick “eyeball” interpolation indicates that you probably need to increase the dL value for d = .200 by .004 and the dU value by .002 or .003.
Charles
Hi, can you help interpolate my DW table?
N = 827
K = 6
alpha = 5%
1.871144 and 1.900347
Hi Charles,
Can you help interpolate my DW table?
N = 325
K = 2
alpha = 5%
1.805684 and 1.830429
Charles
Hi Prof. Charles, can you help me to find dU and dL value if N=294, k=3, and alpha=0,05
Thanks
Hello Fajri,
Since 294 is so close to 300, you can probably use the values in the table for 300.
If you use the DLowerCRIT and DUpperCRIT functions provided by the Real Statistics software you get the values 1.788 and 1.829 for n = 294 instead of 1.791 and 1.831 for n = 300.
Charles
Hi, can you help me find dU and dL value for alpha 0,05?
k= 2
n=275
Thank you
Hi Lan,
It depends on the interpolation approach you use. In any case, with linear interpolation you get dL = 1.787 and dU = 1.818
Charles
Hi, can you help me find dU and dL value for alpha 0,05?
k= 6
n=235
Thank you
Hi Era,
DLowerCRIT(235,6) = 1.7342 and DUpperCRIT(235,6) = 1.8388.
Charles
Hi Charles,
Can u help interpolate my DW table (DL and DU)?
N = 256
K = 3
alpha = 5%
Hi Ika,
1.771514 and 1.818898.
Charles
Hi, I want to ask how to find dL and dU values ​​for alpha = 0.5?
k=3
n=204
alpha=0.5
Thank you
Are you looking for alpha = .5 or alpha = .05?
Charles
Hi Charles,
Can u help interpolate my DW table?
N = 225
K = 4
alpha = 5%
If you use linear regression, then the values are halfway between the values at N = 200 and N = 250.
Charles
it’s okay if i use the value of N= 200?
If the test using N = 200 gives a similar result to that when you use N = 250, then you should be ok.
Charles
Hi
Do you have the general formula for the linear interpolation of the critical value?
Can you show me the calculation for the critical value of alpha = 0.05 and n = 47 if the critical value is .287563 for alpha = .05 and n = 45 and the critical value is .273243 for alpha = .05 and n = 50?
Thanks.
Hi,
The approach is as described on the webpage, except that you are interpolating n instead of alpha. The formula would be
.273243+(50-47)/(50-45)*(.287563-.273243) (assuming that I copied the formula properly)
You can also use the Real Statistics formula =Interpolate(47,45,50,.287563,.273243)
Charles
Hi
am I correct in my computation in this interpolation for the critical value of alpha = 0.05 and n = 44?
if the critical value is 0.304 for alpha = .05 and n = 40 and the critical value is 0.288 for alpha = .05 and n = 45?
0.288 + (45-44)/(45-40) * (0.304-0.288) = Critical Value of 0.2912
Thanks.
Yes, that is correct for linear interpolation.
Charles
Hi Charles,
How do you apply the linear Interpolation to calculate the p-value using the Shaprio-Wilks test in excel? I have downloaded your resource pack but cannot seem to produce the same value in your Shapiro-Wilks example.
Simone,
Are you referring to the answer in Example 1 on the following webpage?
https://real-statistics.com/tests-normality-and-symmetry/statistical-tests-normality-symmetry/shapiro-wilk-test/
Or are you using the SWTEST function?
Charles
It helped me a lot.
Thanks.
hi charles,
would you help me, how to make interpolation for Durbin Watson table, when n=1210, and k =1, with alpha = 5 % ?
You might as well use the values for n = 1200.
Charles
this garbage
Why is this garbage?
Charles
Am i missing something here? The “Interpolate” function is not an equation within the downloaded tool set. Please let me know if im wrong
Hello Luis,
Interpolate is a function provided in the Real Statistics Resource Pack. It is not a data analysis tool.
Charles
Thanks Charles, Is there an explanation as to what value is x1, y1 , x2, y2 and so on?
Sorry Charles i found the documentation within this website, thanks anyways
Hi Charles,
I am confused on how to work the interpolation.
My W = 0.9162, n = 4, the W is 0.792 for 0.1 and 0.935 for 0.5.
How do I find out my p value?
Jessica,
Which type of interpolation would you like to use? Two types are described on the referenced webpage.
Charles
Hi
How to manually calculate pvalue interpolated if W is 0.927 for 0.05 and 0.939 for 0.1
It depends on the actual W value. If, for example W = .930, then using linear interpolation,
p-value = .05 + (.1-.05)*(.930-.927)/(.939-.927).
Charles