コード例 #1
0
 def test_calc_spearman_t(self):
     """calc_spearman_t should produce an adjusted t statistic"""
     r = -0.175757575
     n = 10
     exp_prob_t_high = 0.6864058
     obs_prob_t_high = calc_spearman_t(r,n,'high')
     
     self.assertFloatEqual(obs_prob_t_high,exp_prob_t_high)
コード例 #2
0
    def test_calc_spearman_t(self):
        """calc_spearman_t should produce an adjusted t statistic"""
        r = -0.175757575
        n = 10
        exp_prob_t_high = 0.6864058
        obs_prob_t_high = calc_spearman_t(r,n,'high')

        self.assertFloatEqual(obs_prob_t_high,exp_prob_t_high)