get_person_estimates: Get person abilities

View source: R/get-params.R

get_person_estimatesR Documentation

Get person abilities

Description

Get person abilities

Usage

get_person_estimates(model_ob, full_demo_data, single_df = FALSE)

Arguments

model_ob

The fitted model or list of fitted models

full_demo_data

The full test, including the demographic data, e.g., the output from dbprocess::get_items(). Note that if model_ob is a list, this argument should be a corresponding list with the same names. If model_ob is a single model, this argument should be the single corresponding data frame.

single_df

Should a single data frame be returned? Defaults to FALSE, in which case a list of data frames is returned (assuming) model_ob is a list of models. Otherwise a single data frame is returned, which may be generally useful, but is less useful when passing the results to other functions in the package.

Value

Person estimates with confidence standard errors, including conversions to RIT scores and the performance level

Examples

library(exirt)
## Not run: 
math_items <-
   dbprocess::get_items(
      content = 'Math',
      grade = 11,
      db = 'ORExt1819'
      )
rasch_mod <-
   exirt::rasch(
      test = math_items,
      omit_field_test = TRUE
      )
person_estimates <-
   get_person_estimates(
      model_ob = rasch_mod,
      full_demo_data = math_items
      )

## End(Not run)

UO-BRT/exirt documentation built on Jan. 29, 2023, 8:51 a.m.