def rasch_mml(dataset, discrimination=1, options=None)
Estimates parameters in a Rasch IRT model
dataset
discrimination
options
difficulty
def rasch_mml(dataset, discrimination=1, options=None):
""" Estimates parameters in a Rasch IRT model
Args:
dataset: [items x participants] matrix of True/False Values
discrimination: scalar of discrimination used in model (default to 1)
options: dictionary with updates to default options
Returns:
difficulty: (1d array) estimates of item difficulties
Options:
* distribution: callable
* quadrature_bounds: (float, float)
* quadrature_n: int
"""
return onepl_mml(dataset, alpha=discrimination, options=options)[1]