parameter_point#
- pyfcirt.parameter_point(model: Model, *, draw=None, include_person: bool = True) xr.Dataset#
Get a mean parameter point or one labelled joint posterior draw.
Parameters#
model: ModelPrepared model with final parameter draws or fixed values.
draw: tuple or NoneOne
(chain_label, draw_label)pair.Noneuses posterior means.include_person: boolInclude person parameters, such as theta. Default:
True.
Returns#
- xarray.Dataset
Final values with prepared coordinate labels and no
chainordraw. The mean uses the exact prepared fixed value where applicable. Withinclude_person=Falseit retains the calibration point for scoring.
Notes#
Posterior means describe a point estimate. For uncertainty use the posterior draws or the coefficient summary.
Examples#
Here model is the fitted binary 2PL calibration in the recursive scoring example. Read final loading means without the person estimates.
import pyfcirt as fc
calibration = fc.parameter_point(model, include_person=False)
print(calibration["loading"].to_series().head(3).round(2).to_string())
loading_id
0 1.40
1 1.29
2 1.23