Get Measure Using Scale Score with Prior Student Information
Overview
- There is prior information about a student. For example, a
previously-computed
priorAbility
withpriorUncertainty
and number of days since that assessmentelapsedDays
. - The student has taken a linked test with a known link ID.
- The student’s scale score and standard error (or conditional standard error) are being provided.
URL
POST /api/score/scale/bayes
Request
The following parameters are required in the request. An example is provided in the Code Example section.
Parameter | Type | Description |
---|---|---|
linkId |
String | ID associated with the linking table for the external test. MetaMetrics will provide these IDs. |
scaleScore |
String |
The scale score received on the external test. |
scaleSem |
Integer |
The standard error of measurement (or conditional sem) received on the external test. |
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.
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. The Python example is written for use with Python 3 and above.