Description Usage Arguments Details Value Note
Defines an adaptive test for use within psychTestR.
1 2 3 4 5 6 7 | adapt_test(
label,
item_bank,
show_item,
stopping_rule = stopping_rule.num_items(n = NULL),
opt = adapt_test_options()
)
|
label |
(Character scalar, e.g. 'MDT') A label for the test when saving the participant's results. |
item_bank |
(Data frame, or coerceable to such) Defines the item bank, the collection of items available for administration during the adaptive test. Each row should correspond to a different item. Four columns are mandatory, corresponding to the item's psychometric parameters according to item response theory:
The data frame must also contain a column called This argument must also provide sufficient information for presenting
a particular item to the participant.
When an item has been selected,
the corresponding row from the item bank is extracted and
passed to the |
show_item |
(Function, list, or psychTestR timeline)
This function defines the logic for administering an item
from its definition in
psychTestR's built-in question functions
(e.g. |
stopping_rule |
(Function)
A stopping rule for determining when the test should terminate,
as created by |
opt |
(List)
A list of further options as created by |
This is the top-level function of the psychTestRCAT package. It defines adaptive tests within the framework of item response theory. An aadptive test is one that tailors item selection to the current test-taker on the basis of their performance during the test.
A psychTestR timeline representing the adaptive test. Once the adaptive test is complete, psychTestR saves three primary results into the results table:
ability
- The participant's final ability estimate.
ability_sem
- The standard error of the final ability estimate,
as computed from the IRT model.
num_items
- The number of items administered to the participant.
Further information, in particular item-by-item results,
can be extracted from the metadata
slot of the ability
field.
This can be accessed by loading psychTestR RDS results files.
Alternatively, item-by-item results can be accessed
using the function compile_trial_by_trial_results
.
By default, adapt_test
displays no feedback to the
participant when they finish the test.
Use cat.feedback.graph
directly after adapt_test
to display a feedback graph to the participant.
Ability estimation and item selection are performed using
the catR
package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.