When attempting the code below, I get this error about the data set.
However, I've sucessfully ran FGES discrete (with discrete score-types) for the same data set, so I'm wondering what is the problem.
--- Code ---
'''
df reads a file like this (with more lines obviously)
Cancer,Dyspnoea,Pollution,Smoker,Xray
1,1,0,1,1
1,1,0,1,0
1,1,0,1,1
1,1,0,1,1
explicitly make sure that all values are ints
'''
int_df = df.astype(int)
ind_test = chi-square-test
tetrad.run(algoId = 'pc-all', dfs = int_df, testId = ind_test,
colliderDiscoveryRule = 1, fasRule = 2, depth = 2,
stableFAS = True ,conflictRule = 1, concurrentFAS = True,
useMaxPOrientationHeuristic = True, verbose = True)
When attempting the code below, I get this error about the data set.
However, I've sucessfully ran FGES discrete (with discrete score-types) for the same data set, so I'm wondering what is the problem.
--- Code ---
'''
df reads a file like this (with more lines obviously)
Cancer,Dyspnoea,Pollution,Smoker,Xray
1,1,0,1,1
1,1,0,1,0
1,1,0,1,1
1,1,0,1,1
explicitly make sure that all values are ints
'''
int_df = df.astype(int)
ind_test = chi-square-test
tetrad.run(algoId = 'pc-all', dfs = int_df, testId = ind_test,
colliderDiscoveryRule = 1, fasRule = 2, depth = 2,
stableFAS = True ,conflictRule = 1, concurrentFAS = True,
useMaxPOrientationHeuristic = True, verbose = True)