Question on Specifying Items Without Testlets in Bifactor Models with mirt

13 views
Skip to first unread message

Joseph Miller

unread,
Aug 1, 2025, 5:04:50 PMAug 1
to mirt-package

Hello mirt community,

I am working on fitting a bifactor (testlet) model using the bfactor() function in the mirt package. My dataset includes some items that belong to testlets (specific factors) and some items that should load only on the general factor (i.e., they do not belong to any testlet).

I understand that the specific argument is used to assign items to testlets by specifying a numeric vector where each number corresponds to a testlet. However, I am unsure about the best way to indicate items that do not belong to any testlet. Should I use 0, NA, or some other way in the specific vector? Are there any particular considerations or constraints I need to set for these items in the model syntax?

Here is a simplified example of my situation:

  • Items 1-4 belong to testlet 1

  • Items 5-8 belong to testlet 2

  • Items 9-12 do not belong to any testlet and should load only on the general factor

I would appreciate any advice or example code on the proper way to specify this in bfactor(), including how to handle items without testlets in the model definition or parameter constraints.

Thank you very much for your help!

Best regards,

Joe

Reply all
Reply to author
Forward
0 new messages