qdist(alpha,K,v)

qdist returns a value from the studentized range or q-distribution.

You are now following this Submission

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 (2026). qdist(alpha,K,v) (https://au.mathworks.com/matlabcentral/fileexchange/49144-qdist-alpha-k-v), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0