% p-values for Cochran outlying variance test % % Description: % % This functions calculates p-values % for Cochran test for outlying variance. % % Usage: % % [res] = cochrancdf(q,n,k) % % Arguments: % % q: vector of quantiles. % % n: number of values in each group (if not equal, use arithmetic % mean). % % k: number of groups. % % Value: % % Vector of p-values. % % Author(s): % % Lukasz Komsta, ported from R package 'outliers'. % See R News, 6(2):10-13, May 2006 % % References: % % Snedecor, G.W., Cochran, W.G. (1980). Statistical Methods (seventh % edition). Iowa State University Press, Ames, Iowa. % %