Data and design#
Declare what each block or item measures and how the answers are stored.
Register your tables with model.add_fc()
or model.add_items(),
then call model.prepare().
Examples and data summaries#
Read bundled data with a caller-selected current measurement declaration. |
|
Summarize recorded administrations, deduplicating people across model groups. |
Design and response options#
Map traits and blocks to their ordered statement lists. |
|
Map traits to item lists; an item may load on more than one trait. |
|
Override one block; omitted response_format inherits and explicit None clears it. |
|
Override the measurement law or complete category scale for one item. |
|
Complete categories, in increasing preference for first or second statement. |
|
Continuous responses strictly between zero and one. |
|
Declare the meaning of a wide column without parsing its label. |
|
Fresh inputs, matched optional companion tables, and source metadata. |
Explicit inputs and prepared data#
FCInput and ItemInput let you assemble input declarations separately and
pass them to model.prepare(). Use PreparedInputs.from_inputs() if you need
the prepared data independently of the model.
Declare a test and responses; discrete response_format=None defaults to binary 0/1. |
|
Declare item-by-trait membership, response laws and recorded answers. |
|
Declare response-table columns and their storage layout. |
|
Validated runtime inputs; native declarations and encoders are never persisted. |
|
Prepare declarations, coordinates and optional regressions before graph creation. |
|
Return complete unobserved events and frozen population inputs for new people. |