Closed JorgeLuizFranco closed 2 months ago
Expect and check if it is a DAG. Get residual of OLS. x = coefficient[1] + scale[1]*randn()
. Parameter ::AbstractMatrix
use Tables.jl. SCM should also return the DAG.
A couple of todo's:
[ ] include the file in CausalInference.jl [ ] figure out if you really need DataFrames, and if so, add it to the project [ ] write a simple test making sure the code runs.
A couple of todo's:
[ ] include the file in CausalInference.jl [ ] figure out if you really need DataFrames, and if so, add it to the project [ ] write a simple test making sure the code runs.
Done, Moritz
Ah great, that is taking shape.
1.) Can you uncommit the changes to the yaml files, why is a figure deleted?
2.) Include the test in runtest.jl
I think everything now is as requested @mschauer
Closes #154
Added basic retrieval equations from CausalGraph generated.
For now, the regression is pure OLS, but we can make improvements. Also, we assume the input for retrieving the equations a SimpleDigraph(est_g in the examples) and a DataFrame, and return the variables and the corresponding coefficients ( linear relationships assumption).