On a generalization of a result of W. G. Cochran