Skip to contents

Run graded response model

Usage

runGRM(dat, lav.syntax, estimator)

Arguments

dat

a data frame containing graded response model data

lav.syntax

a character indicating lavaan syntax

estimator

a character indicating the type of estimator.

  • ML Maximum likelihood estimation

  • WL Weighted least squares mean and variance

Value

a list containing GRM results as follows:

  • fit an object from either SingleGroupClass from mirt or codelavaan from from lavaan.

  • grm.par a data frame indicating graded response parameters.

Details

This conducts GRM. The second element of the return indicats the graded response parameters converted from the CFA parameters