April 26, 2024, 11:52 p.m. | /u/turingincarnate

Data Science www.reddit.com

To data scientists who work in Python and causal inference, you may find the two-step synthetic control method helpful. It is a method developed by Kathy Li of Texas McCombs. I have written it from her MATLAB code, translating it into Python so more people can use it.

The method tests the validity of different parallel trends assumptions implied by different SCMs (the intercept, summation of weights, or both). It uses subsampling (or bootstrapping) to test these different assumptions. Based …

causal causal inference code control data datascience data scientists her inference matlab people python scientists scm synthetic tests texas tool work

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote