Skip to content

vlt.stats.qtukey

 vlt.stats.qtukey Tukey's q studentized range critical value.

    X = vlt.stats.qtukey(V,K,P) finds the Tukey's q studentized range
    critical value.

    This function is part of the 'vlt' package and is an adaptation of
    the FEX file 3469 by A. Trujillo-Ortiz and R. Hernandez-Walls.

    This modified macro (based on the Fortran77 algorithm AS 190.2
    Appl. Statist. (1983)) gives a very good approximation for
    0.8 < p < 0.995.

    Syntax: function x = vlt.stats.qtukey(v,k,p)

    Inputs:
        v - sample degrees of freedom (must be the same for each sample).
        k - number of samples.
        p - cumulative probability value (default = 0.95).

    Outputs:
        x - The critical q-value.

    Original FEX citation:
    Trujillo-Ortiz, A. and R. Hernandez-Walls. (2003). qtukey: Tukey's q
      studentized range critical value. A MATLAB file. [WWW document].
      URL http://www.mathworks.com/matlabcentral/fileexchange/3469

    References:
    Algorithm AS 190.2 (1983), Applied Statistics, 32(2)