Learn R Programming

dexter (version 0.8.5)

fit_domains: Estimate the Rasch and the Interaction model per domain

Description

Estimate the parameters of the Rasch model and the Interaction model

Usage

fit_domains(dataSrc, item_property, predicate = NULL)

Arguments

dataSrc

Data source: a dexter project db handle or a data.frame with columns: person_id, item_id, item_score

item_property

The item property defining the domains (subtests)

predicate

An optional expression to subset data, if NULL all data is used

Value

An object of class imp holding results for the Rasch model and the interaction model.

Details

We have generalised the interaction model for items having more than two (potentially, a largish number) of response categories. This function represents scores on subtests as super-items and analyses these as normal items.

See Also

plot.rim, fit_inter, add_item_properties

Examples

Run this code
# NOT RUN {
db = start_new_project(verbAggrRules, "verbAggression.db")
add_booklet(db, verbAggrData, "agg")
add_item_properties(db, verbAggrProperties)
mSit = fit_domains(db, item_property= "situation")
plot(mSit)

close_project(db)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab