This function defines an emotion matching test (EMT)
module for incorporation into a psychTestR timeline.
Use this function if you want to include the EMT in a
battery of other tests, or if you want to add custom psychTestR
pages to your test timeline.
For demoing the EMT, consider using demo_emt()
.
For a standalone implementation of the EMT,
consider using standalone_emt()
.
1 2 3 4 5 6 7 | emt(num_items = 20L, take_training = TRUE, label = "EMT",
feedback = emt.feedback.no_score(),
media_dir = "http://media.gold-msi.org/test_materials/EMT/audio",
min_response_time = 20, 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, dict = emt::emt_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 EMT results in the output file. |
feedback |
(Function) Defines the feedback to give the participant at the end of the test. By default no feedback is given. |
media_dir |
(Character scalar) File path to the directory hosting the test's media files (typically a publicly accessible web directory). |
min_response_time |
Minimum response time for each question, after which response options are activated (seconds). |
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 |
dict |
The psychTestR dictionary used for internationalisation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.