#NEWLINE# def __init__( self , predicted_mean , var_pred_mean , var_resid = None , df = None , dist = None , row_labels = None , linpred = None , link = None ) : #NEWLINE# #INDENT# self . predicted_mean = predicted_mean #NEWLINE# self . var_pred_mean = var_pred_mean #NEWLINE# self . df = df #NEWLINE# self . var_resid = var_resid #NEWLINE# self . row_labels = var_resid #NEWLINE# self . linpred = linpred #NEWLINE# self . link = link #NEWLINE# if ( ( dist is None ) or ( dist == 'norm' ) ) : #NEWLINE# #INDENT# self . dist = stats . norm #NEWLINE# self . dist_args = ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( dist == 't' ) : #NEWLINE# #INDENT# self . dist = stats . t #NEWLINE# self . dist_args = ( self . df , ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . dist = dist #NEWLINE# self . dist_args = ( )