SQL with causal inference and counterfactual reasoning for explainable analytics

dc.contributor.advisorRay, Suprio
dc.contributor.authorPeter, Ronnit
dc.date.accessioned2025-07-30T18:19:42Z
dc.date.available2025-07-30T18:19:42Z
dc.date.issued2025-04
dc.description.abstractThis 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.extentxvii, 149
dc.format.mediumelectronic
dc.identifier.oclc(OCoLC)1610431922en
dc.identifier.otherThesis 11723en
dc.identifier.urihttps://unbscholar.lib.unb.ca/handle/1882/38352
dc.language.isoen
dc.publisherUniversity of New Brunswick
dc.relationNBIF (New Brunswick Innovation Fund)
dc.relationPRIME (Perception, Robotics and Intelligent Machines)
dc.rightshttp://purl.org/coar/access_right/c_abf2
dc.subject.disciplineComputer Science
dc.subject.lcshSQL (Computer program language)en
dc.subject.lcshInference.en
dc.subject.lcshCounterfactuals (Logic)en
dc.titleSQL with causal inference and counterfactual reasoning for explainable analytics
dc.typemaster thesis
oaire.license.conditionother
thesis.degree.disciplineComputer Science
thesis.degree.grantorUniversity of New Brunswick
thesis.degree.levelmasters
thesis.degree.nameM.C.S.

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Ronnit Peter - Thesis.pdf
Size:
2.96 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.13 KB
Format:
Item-specific license agreed upon to submission
Description: