Getting Started
User Guide
Tutorials & Examples
Causal Inference Methods
Theoretical Background
API Reference
run_causal_analysis()
parse_input()
analyze_dataset()
interpret_query()
select_method()
validate_method()
generate_explanation()
format_output()
create_workflow_state_update()
input_parser_tool()
dataset_analyzer_tool()
query_interpreter_tool()
method_selector_tool()
method_validator_tool()
method_executor_tool()
explanation_generator_tool()
output_formatter_tool()
CausalMethod
psm_estimate_effect()
psw_estimate_effect()
iv_estimate_effect()
did_estimate_effect()
rdd_estimate_effect()
dim_estimate_effect()
lr_estimate_effect()
ba_estimate_effect()
estimate_effect_gps()
Development
About
Run causal analysis on a dataset based on a user query.
query (str) – User’s causal question
dataset_path (str) – Path to the dataset
dataset_description (str | None) – Optional textual description of the dataset
api_key (str | None) – Optional OpenAI API key (DEPRECATED - will be ignored)
Dictionary containing the final formatted analysis results from the agent’s last step.
Dict[str, Any]