cabat | R Documentation |
This function defines a CA-BAT module for incorporation into a
psychTestR timeline.
Use this function if you want to include the CA-BAT in a
battery of other tests, or if you want to add custom psychTestR
pages to your test timeline.
For demoing the CA-BAT, consider using demo_cabat()
.
For a standalone implementation of the CA-BAT,
consider using standalone_cabat()
.
cabat(
num_items = 25L,
take_training = TRUE,
label = "BAT",
feedback = cabat.feedback.no_score(),
item_bank_audio = "https://media.gold-msi.org/test_materials/BAT/v1/audio",
practice_items = "https://media.gold-msi.org/test_materials/BAT/v1/practice-items",
next_item.criterion = "bOpt",
next_item.estimator = "BM",
next_item.prior_dist = "norm",
next_item.prior_par = c(0, 1),
final_ability.estimator = "WL",
constrain_answers = FALSE,
fix_first_item = FALSE,
dict = cabat::cabat_dict
)
num_items |
(Integer scalar) Number of items in the test. |
take_training |
(Logical scalar) Whether to include the training phase. |
label |
(Character scalar) Label to give the CA-BAT results in the output file. |
feedback |
Defines the feedback to give the participant
at the end of the test. By default no feedback is given.
This can be a timeline segment (as created by
|
item_bank_audio |
(Character scalar) File path to the directory hosting the item bank audio (typically a publicly accessible web directory). |
practice_items |
(Character scalar) File path to the directory hosting the practice items audio (typically a publicly accessible web directory). |
next_item.criterion |
(Character scalar)
Criterion for selecting successive items in the adaptive test.
See the |
next_item.estimator |
(Character scalar)
Ability estimation method used for selecting successive items in the adaptive test.
See the |
next_item.prior_dist |
(Character scalar)
The type of prior distribution to use when calculating ability estimates
for item selection.
Ignored if |
next_item.prior_par |
(Numeric vector, length 2)
Parameters for the prior distribution;
see the |
final_ability.estimator |
Estimation method used for the final ability estimate.
See the |
constrain_answers |
(Logical scalar)
If |
fix_first_item |
(Logical scalar)
If |
dict |
The psychTestR dictionary used for internationalisation. |
Versions <= 0.3.0 of this package experimented with weighted likelihood ability estimation for item selection. Pilot testing found this approach to be problematic, tending to overpenalise the participant for early mistakes. Current versions of the package therefore revert to Bayes modal ability estimation for item selection, consistent with the original CA-BAT paper.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.