Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

beta-binomial-MLE-nov25

Beta-Binomial MLE: Symbolic Computation with SymPy

This repository contains Python code used to compute resultants for the Beta-Binomial Maximum Likelihood Estimation (MLE) problem in the special case where each item receives exactly two ratings (n = 2). The code supports the derivation of the closed-form solution presented in Theorem 2 of our paper:

On the MLE for the Beta-Binomial Distribution
Daniel Berend, Yuri Chernyavsky, Luba Sapir


Overview

The likelihood equations for the Beta-Binomial model can be transformed into a system of two polynomial equations in two variables (α and β). Using elimination theory and resultants, we reduce this system to a single equation in one variable, enabling a closed-form solution.

This script:

  • Defines the polynomial system for n = 2.
  • Computes the resultant with respect to α and β using SymPy.
  • Simplifies and factors the resultants for clarity.

Requirements

pip install sympy

About

Symbolic computation for Beta-Binomial MLE using SymPy.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages