rasch_mml

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
Expand source code
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]
Last modified April 7, 2020: Updating documentation. (3da0254)