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
Box plot
(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!
==== General equation to compute empirical quantiles ==== : <math>q_n(p) = x_{(k)} + \alpha(x_{(k+1)} - x_{(k)})</math> : <math>\text{with } k = [p(n+1)] \text{ and } \alpha = p(n+1) - k</math> :Here <math>x_{(k)}</math> stands for the general ordering of the data points (i.e. if <math>i<k</math>, then <math>x_{(i)} < x_{(k)}</math> ) Using the above example that has 24 data points (''n'' = 24), one can calculate the median, first and third quartile either mathematically or visually. '''Median''' : <math> \begin{align} q_n(0.5) & = x_{(12)} + (0.5\cdot25-12)\cdot(x_{(13)}-x_{(12)}) \\[5pt] & = 70+(0.5\cdot25-12)\cdot(70-70) = 70^\circ\text{F} \end{align} </math> '''First quartile''' : <math> \begin{align} q_n(0.25) & = x_{(6)} + (0.25\cdot25-6)\cdot(x_{(7)}-x_{(6)}) \\[5pt] & = 66 +(0.25\cdot25 - 6)\cdot(66-66) = 66^\circ\text{F} \end{align} </math> '''Third quartile''' : <math> \begin{align} q_n(0.75) & = x_{(18)} + (0.75\cdot25-18)\cdot(x_{(19)}-x_{(18)}) \\[5pt] & =75 + (0.75\cdot25-18)\cdot(75-75) = 75^\circ\text{F} \end{align} </math>
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)