Calculate hit if miss and ratio are present