measures to samples