#NEWLINE# def gen_gendat_ar1( ar ) : #NEWLINE# #INDENT# def gendat_ar1( ) : #NEWLINE# #INDENT# ars = AR_simulator ( ) #NEWLINE# ars . ngroups = 200 #NEWLINE# ars . params = np . r_ [ ( 0 , ( - 0.8 ) , 1.2 , 0 , 0.5 ) ] #NEWLINE# ars . error_sd = 2 #NEWLINE# ars . dparams = [ ar ] #NEWLINE# ars . simulate ( ) #NEWLINE# return ( ars , Autoregressive ( ) ) #NEWLINE# #UNINDENT# return ar