Replicated measurements and algebraic statistics