Hosmer Lemeshow test - degrees of freedom