This method provides the mechanism for computing group-level forecasts. It returns
the same data provided by the single student forecasting function, but at an
aggregate level.
In addition to this, it returns a predicted mean ability for the group as well as an
associated uncertainty measure. It also returns for the population the percentage of
students that are expected to fall into each of the cut levels (performance levels),
as well as a standard error associated with each level.
URL
POST /api/forecast/math/group
Request
Parameter
Type
Description
studentData
Array
Data for each student is in a 3 item array which consists of:
priorAbility
priorUncertainty
elapsedDays
testUncertainty
Number
Uncertainty of the difficulty of the test that student performance is
to be forecasted for. MetaMetrics sends this information in spreadsheet
format.
cutLevels
Array
An array of performance levels based on expected future ability
levels, measured in Lexile or Quantile. MetaMetrics sends this
information in spreadsheet format.
Response
An array is returned. Each item in this array will be a struct
containing forecast data for each student passed in the method call (in the order
the students were passed) and group results.
Parameter
Type
Description
students
Array
This contains each student’s forecasting outcomes:
Ability
The student’s forecasted ability
estimate.
Uncertainty
Uncertainty associated with
the student’s forecasted ability estimate.
Probabilities
The probabilities that the
student will fall into each of the performance bands, as
defined by the cutLevels.
groupStderrPerLevel
The standard error of
the predictions of each corresponding
cutLevels.
group
Array
This contains the group forecasting outcomes:
groupAbility
The group's forecasted
ability estimate.
groupUncertainty
Uncertainty associated
with the ability estimate.
groupProportionPerLevel
The predicted
proportion of the group that will fall into the
corresponding cutLevels.
groupStderrPerLevel
The standard error of
the predictions of each corresponding
cutLevels.
apiVersion
String
The current version number for the API.
framework
String
Either Lexile or Quantile; framework used to produce the
measure.
Code Example
The following show an example of the request followed by an example of the response.
The Python example is written for use with Python 3 and above.