Movatterモバイル変換


[0]ホーム

URL:


CRAN status

GRShiny

Overview

This package is for someone who is familiar with confirmatory factoranalysis (CFA), but not with item response theory (IRT). Although CFA isdifferently developed as opposed to IRT, both methods providemeasurement tools to validate the structure of an inventory in the scaledevelopment. However, CFA is underutilized, mainly because appliedresearchers tend not to recognize that CFA and IRT are equivalent withcertain types of indicators, such as graded response. To address thisunderutilization, this package can take and providelavaansyntax to conduct graded response model under the confirmatory factoranalysis framework.

Simulation and analysis of graded response data with different typesof estimator can be done with this package. Also, interactive shinyapplication is provided with graphics for characteristic and informationcurves.

Install

Install the latest release from CRAN:

devtools::install_github("sooyongl/GRShiny")

The documentation is available athere.

GRM data simulation

Item parameters forgraded response model

item_pars<-genIRTpar(nitem =10,ncat =3,nfac =1)

Individual true latenttraits

true_theta<-genTheta(nsample =500,nfac =1)

GRM data

grm_dt<-genData(eta = true_theta,ipar = item_pars)

GRM data simulation

Generate lavaan syntax

lav_syn<-genLavSyn(dat = grm_dt,nfac =1)

Conduct GRM with twodifferent estimators

runGRM(dat = grm_dt,lav.syntax = lav_syn,estimator ="WL")runGRM(dat = grm_dt,lav.syntax = lav_syn,estimator ="ML")

Launch app

startGRshiny()

[8]ページ先頭

©2009-2025 Movatter.jp