stats/
blom_position_test.pro
topblom_position_test
Stats
result = blom_position_test(rsq, nin, conf [, DEBUG=DEBUG])
compute the blom position test. The Blom position test is a quanitiative method for evaluating the data in probably plots taken directly from: Use of the Correlation Coefficient with Normal Probability Plots Stephen W. Looney; Thomas R. Gulledge, Jr. The American Statistician, Vol. 39, No. 1. (Feb., 1985), pp. 75-79. Stable URL: http://links.jstor.org/sici?sici=0003-1305%28198502%2939%3A1%3C75%3AUOTCCW%3E2.0.CO%3B2-T; The use of the correlation coefficient is suggest as a technique for summarazing and objectivly evaluation the information contained in probably plots. Goodness-of-fit tests are constricted using this technique for several commonly used plotting positions for the normal distrobution. Empirical sampling methods are used to construct the null distrobution for these tests, which are then comparied on the basis of power against certain nonnormal alternatives. Commonly used regression tests of fit are also included in the comparisions. The results indicate that the use of the plottinf position P_i = (i-0.375)/(n+0.25) yeilds a competitive regession test of fit for normality.
One should be careful to understand this a bit before blind use
Return value
1: The distrobution is normal 0: The distrobusion is not normal
Parameters
- rsq in required
the R-squared goodness of fit statistic from the probability test
- nin in required
number of pairs that went into the calcualtion of the R-squared value
- conf in required
the desired confidence value chosen from [.000, .005, .010, .025, .050, .100, .250, .500, .750, .900, .950, .975, .990, .995]
Keywords
- DEBUG in optional
print some debug information
Author information
- History:
Tue Jan 22 13:40:54 2008, Brian Larsen documented, written previously
Statistics
| Lines: | 97 |
| McCabe complexity: |
File attributes
| Modifcation date: | Mon Sep 22 12:41:50 2008 |
| Lines: | 157 |
![[attach.png]](../idldoc-resources/attach.png)