Statistical theory for the ratio model of paired comparisons