Hi,
I compute the TE between two different time series with these settings.
They are all quite clear (your documentation is excellent!), but I did not get what is the number of permutations exactly.
Any suggestions?
#(3) construct a IDTxl Data object
data=Data(np.hstack((x,y)),
dim_order='sp',
normalise=False)
#(4) estimate TE
settings = {
'cmi_estimator': 'JidtKraskovCMI',
'n_perm_max_stat': 100,
'n_perm_min_stat': 100,
'n_perm_max_seq': 100,
'n_perm_omnibus': 100,
'max_lag_sources': 5,
'min_lag_sources': 0,
'max_lag_target': 1}
nw_bivar = BivariateTE()
results = nw_bivar.analyse_single_target(
settings, data, target=1, sources=0) #indices refer to the order in Data stacking
te_bivar = results.get_single_target(1, fdr=False)#['te']#[0] #first arg is the index of target in Data
print('te_bivar:',te_bivar)