qdist(alpha,K,v)

qdist returns a value from the studentized range or q-distribution.
462 Downloads
Updated 24 Jan 2015

View License

This function returns the table lookup value of the Studentized Range or q-distribution for Tukey HSD Post-Hoc means comparison. It has a maximum of 20 groups (K). If more groups are used K=20 is used for the table lookup.

Input:
alpha = Confidence level
K = Number of groups
v = Degrees of freedom

Example:
q=qdist(0.10,5,15)
ans =
3.8280

q=qdist(0.05,5,15)
ans =
4.3670

q=qdist(0.01,5,15)
ans =
5.5560

Data for the tables was taken from
http://cse.niaes.affrc.go.jp/miwa/probcalc/s-range/

Cite As

Richard McCulloch (2024). qdist(alpha,K,v) (https://www.mathworks.com/matlabcentral/fileexchange/49144-qdist-alpha-k-v), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0