estimate()
estimates the parameters of the Rasch/Bradley-Terry_Luce model with a conditional maximum likelihood procedure.
This is an iterative procedure using Newton's method of optimization.
The algorithm concept was initially developed by Rasch (1960) and implemented by Pollitt (2012) and NoMoreMarking ltd. among others.
Our module was originally based on the code of NoMoreMarking ltd. and has been further optimised.
You can run the unit tests with
$ yarn test
Type: Object
Properties
id
string ID of the itemranked
boolean whether or not the item is ranked. Only unranked items (i.e. ranked:false
) are estimatedability
number the abilityse
number standard error
Type: Object
Properties
a
string the ID of the "A" itemb
string the ID of the "B" itemselected
string?? the ID of the selected item
Estimates the items featured in comparisons
Parameters
payload
Objectpayload.comparisons
Array<Comparison>payload.items
(Array<Item> | {}) An Array or a map of Item
Returns (Array<Item> | {}) An Array or a map of Item (reflects the type of parameter items
)