vlt.stats.cdfTukeyCumulativedistributionfunction(cdf)oftheStudentizedrange(q)p=vlt.stats.cdfTukey(q,k,v)Calculatesthecumulativeprobability(p)fortheStudentizedrangestatistic(q),given'k'groupsand'v'degreesoffreedom.
Thisfunctionusesastandardnumericalintegrationapproachbasedonthenormaldistribution's CDF, which is a common and robust method for approximating the Studentized range CDF. It also includes a direct calculation using the t-distribution CDF for the special case k=2. ********************************************************************** *** PACKAGE NOTE & CITATION *** **********************************************************************Thisfunctionwasoriginallybasedon'cdfTukey.m'fromtheMATLABFileExchange(FEXID:37450)byL.C.V.Malacarne,whichwasatranslationoftheAS190algorithm.Theoriginalimplementationwasfoundtocontainbugsthatproducedincorrectprobabilities.
Thisversionhasbeenre-writtentouseamorestandardandreliablenumericalintegrationmethodfork>2andtheexactt-distributionrelationshipfork=2.
Seealso:normcdf,integral,tcdf,vlt.stats.power.calculateTukeyPairwisePower---InputParsing---