#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# data = np . zeros ( ( 8 , 2 ) ) #NEWLINE# data [ : , 0 ] = [ 0 , 0 , 1 , 1 , 0 , 0 , 1 , 1 ] #NEWLINE# data [ : , 1 ] = [ 0 , 1 , 0 , 1 , 0 , 1 , 0 , 1 ] #NEWLINE# self . data = np . asarray ( self ) #NEWLINE# self . table = np . asarray ( [ [ 2 , 2 ] , [ 2 , 2 ] ] ) #NEWLINE# self . initialize ( ) #NEWLINE# self . oddsratio = 1.0 #NEWLINE# self . log_oddsratio = 0.0 #NEWLINE# self . log_oddsratio_se = np . sqrt ( 2 ) #NEWLINE# self . oddsratio_confint = [ 0.06254883616611233 , 15.98750770268975 ] #NEWLINE# self . oddsratio_pvalue = 1.0 #NEWLINE# self . riskratio = 1.0 #NEWLINE# self . log_riskratio = 0.0 #NEWLINE# self . log_riskratio_se = ( 1 / np . sqrt ( 2 ) ) #NEWLINE# self . riskratio_pvalue = 1.0 #NEWLINE# self . riskratio_confint = [ 0.2500976532599063 , 3.9984381579173824 ] #NEWLINE# self . log_riskratio_confint = [ ( - 1.3859038243496782 ) , 1.3859038243496782 ]