Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Interquartile range
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Distributions== The interquartile range of a continuous distribution can be calculated by integrating the [[probability density function]] (which yields the [[cumulative distribution function]]βany other means of calculating the CDF will also work). The lower quartile, ''Q''<sub>1</sub>, is a number such that integral of the PDF from -β to ''Q''<sub>1</sub> equals 0.25, while the upper quartile, ''Q''<sub>3</sub>, is such a number that the integral from -β to ''Q''<sub>3</sub> equals 0.75; in terms of the CDF, the quartiles can be defined as follows: :<math>Q_1 = \text{CDF}^{-1}(0.25) ,</math> :<math>Q_3 = \text{CDF}^{-1}(0.75) ,</math> where CDF<sup>β1</sup> is the [[quantile function]]. The interquartile range and median of some common distributions are shown below {| class="wikitable" |- ! Distribution ! Median ! IQR |- | [[Normal distribution|Normal]] | ΞΌ | 2 Ξ¦<sup>−1</sup>(0.75)Ο β 1.349Ο β (27/20)Ο |- | [[Laplace distribution|Laplace]] | ΞΌ | 2''b'' ln(2) β 1.386''b'' |- | [[Cauchy distribution|Cauchy]] | ΞΌ |2Ξ³ |} ===Interquartile range test for normality of distribution=== The IQR, [[mean]], and [[standard deviation]] of a population ''P'' can be used in a simple test of whether or not ''P'' is [[Normal distribution|normally distributed]], or Gaussian. If ''P'' is normally distributed, then the [[standard score]] of the first quartile, ''z''<sub>1</sub>, is β0.67, and the standard score of the third quartile, ''z''<sub>3</sub>, is +0.67. Given ''mean'' = <math>\bar{P}</math> and ''standard deviation'' = Ο for ''P'', if ''P'' is normally distributed, the first quartile :<math>Q_1 = (\sigma \, z_1) + \bar{P}</math> and the third quartile :<math>Q_3 = (\sigma \, z_3) + \bar{P}</math> If the actual values of the first or third quartiles differ substantially{{Clarify|date=December 2012}} from the calculated values, ''P'' is not normally distributed. However, a normal distribution can be trivially perturbed to maintain its Q1 and Q2 std. scores at 0.67 and β0.67 and not be normally distributed (so the above test would produce a false positive). A better test of normality, such as [[QβQ plot]] would be indicated here.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)