#NEWLINE# def test_mvn_mvt_4( self ) : #NEWLINE# #INDENT# ( a , bl ) = ( self . a , self . b ) #NEWLINE# df = self . df #NEWLINE# corr2 = self . corr2 #NEWLINE# a2 = a . copy ( ) #NEWLINE# a2 [ : ] = ( - np . inf ) #NEWLINE# probmvn_R = 0.1666667 #NEWLINE# probmvt_R = 0.1666667 #NEWLINE# assert_almost_equal ( probmvt_R , mvstdtprob ( np . zeros ( 3 ) , ( - a2 ) , corr2 , probmvn_R ) , 4 ) #NEWLINE# assert_almost_equal ( probmvn_R , mvstdnormcdf ( np . zeros ( 3 ) , ( - a2 ) , corr2 , maxpts = 100000 , abseps = 1e-05 ) , 4 )