Identifying and correcting ratio errors