SQL with causal inference and counterfactual reasoning for explainable analytics
| dc.contributor.advisor | Ray, Suprio | |
| dc.contributor.author | Peter, Ronnit | |
| dc.date.accessioned | 2025-07-30T18:19:42Z | |
| dc.date.available | 2025-07-30T18:19:42Z | |
| dc.date.issued | 2025-04 | |
| dc.description.abstract | This thesis presents a novel framework that integrates causal inference and counterfactual reasoning directly into SQL so that domain experts with minimal programming skills can solve real-world problems. Following SQL’s original purpose of empowering data querying, our approach extends it with intuitive causal keywords to enable advanced analysis using simple queries. The framework utilizes meta-learners and uplift modeling to learn treatment effects facilitate decision-making across domains. To generate counterfactuals, it combines KD-Trees for accurate neighbor search in low-dimensional data and distributed Locality Sensitive Hashing (LSH) for high-dimensional matching. This hybrid method ensures diverse, causally valid and interpretable counterfactuals by retrieving similar cases from distinct clusters. These counterfactuals improve the explainability by clarifying the effects of the intervention and model behavior. By merging causal modeling with accessible SQL syntax, our system bridges domain knowledge and machine learning, enabling transparent, scalable, and explainable decision support. | |
| dc.description.copyright | © Ronnit Peter, 2025 | |
| dc.format.extent | xvii, 149 | |
| dc.format.medium | electronic | |
| dc.identifier.oclc | (OCoLC)1610431922 | en |
| dc.identifier.other | Thesis 11723 | en |
| dc.identifier.uri | https://unbscholar.lib.unb.ca/handle/1882/38352 | |
| dc.language.iso | en | |
| dc.publisher | University of New Brunswick | |
| dc.relation | NBIF (New Brunswick Innovation Fund) | |
| dc.relation | PRIME (Perception, Robotics and Intelligent Machines) | |
| dc.rights | http://purl.org/coar/access_right/c_abf2 | |
| dc.subject.discipline | Computer Science | |
| dc.subject.lcsh | SQL (Computer program language) | en |
| dc.subject.lcsh | Inference. | en |
| dc.subject.lcsh | Counterfactuals (Logic) | en |
| dc.title | SQL with causal inference and counterfactual reasoning for explainable analytics | |
| dc.type | master thesis | |
| oaire.license.condition | other | |
| thesis.degree.discipline | Computer Science | |
| thesis.degree.grantor | University of New Brunswick | |
| thesis.degree.level | masters | |
| thesis.degree.name | M.C.S. |
