Open chengweiclarence opened 4 years ago
Sorry, PyCausal is not my code, but just to be clear on the problem. you have four columns in your data and you're running TsGFCI--what are the time steps? If I just take the data you have an in the interface run KCI I get an answer. Of course GFCI requires both a test and a score--I assume you're using KCI for the test, but what are you using for the score? For the "TS" part you need to have a time series--you could convert you data to a time series; I don't know if it automatically does this for you. You'd have to get some other input on that. In the interface, I can convert your non-time-lag data to time lag data and run TSFCI instead of TSGFCI with the KCI test (not specifying a score that is) and I get an answer.
Is any of this helping?
Sorry, PyCausal is not my code, but just to be clear on the problem. you have four columns in your data and you're running TsGFCI--what are the time steps? If I just take the data you have an in the interface run KCI I get an answer. Of course GFCI requires both a test and a score--I assume you're using KCI for the test, but what are you using for the score? For the "TS" part you need to have a time series--you could convert you data to a time series; I don't know if it automatically does this for you. You'd have to get some other input on that. In the interface, I can convert your non-time-lag data to time lag data and run TSFCI instead of TSGFCI with the KCI test (not specifying a score that is) and I get an answer.
Is any of this helping?
Hi! I use IndTestFisherZ for the test, and SemBicScore for the score, which are all the same as the given example. The example program could be run with the official data "charity.txt", but not work with my own data.
Sad. OK, if no one else chime in I'll make a go of it, though I'm rather busy these few days with paper reviewing and such. Like I said, the only part that's my code is the algorithm, which seems to be working, not the pycausal part, but I'll give it a shot.
Could you send your pycausal command? That might help.
Sad. OK, if no one else chime in I'll make a go of it, though I'm rather busy these few days with paper reviewing and such. Like I said, the only part that's my code is the algorithm, which seems to be working, not the pycausal part, but I'll give it a shot.
Could you send your pycausal command? That might help.
I see. Thanks for taking time out of your busy schedule. Take your time.
The command is attached.
Calling Directly Py-Causal TsGFCI Continuous Example-realdata.zip
Hi! When running "Calling Directly Py-Causal TsGFCI Continuous Example.ipynb", an error has occurred:
My data is attached, and these data could be run in KCI test.
Could you help me fix it? Thanks in advance!
Regression_uniform1_X.txt