Get Measure Using Item Difficulty with Prior Student Information
Overview
- A passage and the associated item set has been administered to a student.
- The items were generated with the Lexile Cloze API or a specific linking study was conducted.
- The Lexile text measure of the passage is known.
- There is prior information about a student. For example, a
previously-computed ability (
priorAbility
) with uncertainty (priorUncertainty
) and number of days since that assessment (elapsedDays
).
URL
POST /api/score/items/difficulties/bayes
Request
The following parameters are required in the request. An example is provided in the Code Example section.
Parameter | Type | Description |
---|---|---|
items |
Array |
Array of item objects. Each item object is a dictionary with required
parameters:
|
numberCorrect |
Integer |
Raw count of items answered correctly by the student. |
framework |
String | Either Lexile or Quantile; framework used to produce the measure. |
priorAbility |
Integer |
The student’s prior ability estimate. |
priorUncertainty |
Integer |
Uncertainty associated with the student’s prior ability estimate. |
elapsedDays |
Integer |
Number of days since the student’s measure was last updated. |
Response
This returns an object that contains the computed ability and uncertainty. See Scoring Service Response Codes for an explanation of error codes that might be returned. The Python example is written for use with Python 3 and above.
Parameter | Type | Description |
---|---|---|
ability |
Integer |
The student’s new ability estimate. |
uncertainty |
Integer |
Uncertainty associated with the student’s new ability estimate. |
framework |
String | Either Lexile or Quantile; framework used to produce the measure. |
apiVersion |
String | The current version number for the API. |
Code Examples
The following show examples of the request followed by the response.