View source: R/individual_differences.R
individual_differences | R Documentation |
Test individual differences
individual_differences(dataSrc, predicate = NULL)
dataSrc |
a connection to a dexter database, a matrix, or a data.frame with columns: person_id, item_id, item_score |
predicate |
An optional expression to subset data, if NULL all data are used. |
This function uses a score distribution to test whether there are individual differences in ability. First, it estimates ability based on the score distribution. Then, the observed distribution is compared to the one expected from the single estimated ability. The data are typically from one booklet but can also consist of the intersection (i.e., the common items) of two or more booklets. If the intersection is empty (i.e., no common items for all persons), the function will exit with an error message.
An object of type tind. Printing the object will show test results. Plotting it will produce a plot of expected and observed score frequencies. The former under the hypothesis that there are no individual differences.
db = start_new_project(verbAggrRules, ":memory:")
add_booklet(db, verbAggrData, "agg")
dd = individual_differences(db)
print(dd)
plot(dd)
close_project(db)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.