<s> """<STR_LIT>""" <EOL> from __future__ import print_function <EOL> import statsmodels . api as sm <EOL> import numpy as np <EOL> data = sm . datasets . heart . load ( ) <EOL> model = sm . emplike . emplikeAFT ( np . log10 ( data . endog ) , <EOL> sm . add_constant ( data . exog ) , data . censors ) <EOL> fitted = model . fit ( ) <EOL> print ( fitted . params ( ) ) <EOL> test1 = fitted . test_beta ( [ <NUM_LIT:4> ] , [ <NUM_LIT:0> ] ) <EOL> print ( test1 ) <EOL> test2 = fitted . test_beta ( [ - <NUM_LIT> ] , [ <NUM_LIT:1> ] ) <EOL> print ( test2 ) <EOL> ci_beta1 = fitted . ci_beta ( <NUM_LIT:1> , <NUM_LIT> , - <NUM_LIT> ) <EOL> print ( ci_beta1 ) </s>
