Statistical challenge in medieval (and later) astronomy