#NEWLINE# def test_pdf( self ) : #NEWLINE# #INDENT# vals = stats . pearson3 . pdf ( 2 , [ 0.0 , 0.1 , 0.2 ] ) #NEWLINE# assert_allclose ( vals , np . array ( [ 0.05399097 , 0.05555481 , 0.05670246 ] ) , atol = 1e-06 ) #NEWLINE# vals = stats . pearson3 . pdf ( ( - 3 ) , 0.1 ) #NEWLINE# assert_allclose ( vals , np . array ( [ 0.00313791 ] ) , atol = 1e-06 ) #NEWLINE# vals = stats . pearson3 . pdf ( [ ( - 3 ) , ( - 2 ) , ( - 1 ) , 0 , 1 ] , 0.1 ) #NEWLINE# assert_allclose ( vals , np . array ( [ 0.00313791 , 0.05192304 , 0.25028092 , 0.39885918 , 0.23413173 ] ) , atol = 1e-06 )