Bivariate semiparametric inference based on a two-dimensional density ratio model is discussed and applied in testing the significance of risk factors regarding testicular germ cell tumors. The results from the joint analysis of height and weight data from a case-control study show that jointly these two factors are significant, whereas body mass index, which is a function of height and weight, is not a significant risk factor.