Welcome to the IDinsight Tech Blog

Check in regularly or sign-up to the IDinsight newsletter to find out about IDinsight's latest data science and engineering work.

All Posts

A thumbnail image

A Julia/JuMP model for optimal assignment of teachers to school

We were recently approached by a government to optimally allocate teachers to schools. The state has a few hundred secondary schools and is meant to offer a set of subjects in all these schools. But there are a number of classrooms without a teacher allocated. To close these “gaps”, a new cohort of teachers were trained to join the existing set of teachers. They asked us how these new teachers should be assigned while taking operational and logistical constraints into account.

A thumbnail image

Data quality check for hierarchical linear data with outliers

In this post, I discuss how IDinsight’s DSEM team implemented a data quality check for pairs of variables displaying linear relationships. We explain why we chose a Bayesian model, and the tweaks we made to address the hierarchy and outliers in data. We will also see how to implement the model using PyMC3. Last year, IDinsight built a tool for a national government agency to automatically check the quality of the data reported by dozens of district governments every month.