Error in `[.data.frame`(data.dca, , 1:nfact) : undefined columns selected when `mirt(itemtype='ggum')`

60 views
Skip to first unread message

sss

unread,
Jun 15, 2020, 10:18:16 PM6/15/20
to mirt-package
mirt_model<-'
f1=q03,q10,q12,q22,q23
f2=q11,q20,q24,q26,q47,q49
f3=q19,q21,q25,q52,q50,q58
'
df_core_irt_ggum<-mirt(df_core,model=3,itemtype ='ggum',method = "MCEM",dentype = "Gaussian",verbose=FALSE,technical = list(NCYCLES = 100))
work well. 

But when I run a confirmation model,got error as below:
df_core_irt_ggum<-mirt(df_core,model=mirt_model,itemtype ='ggum',method = "MCEM",dentype = "Gaussian",verbose=FALSE,technical = list(NCYCLES = 100))

What's the problem?
Error in `[.data.frame`(data.dca, , 1:nfact) : undefined columns selected
Called from: `[.data.frame`(data.dca, , 1:nfact)

Phil Chalmers

unread,
Jun 17, 2020, 11:12:37 AM6/17/20
to sss, mirt-package
Can you provide reproducible code for this issue?

Phil


--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mirt-package/d581d128-ade2-4d7e-abbb-43b8dec7e6a5o%40googlegroups.com.
Message has been deleted

Phil Chalmers

unread,
Jun 17, 2020, 2:42:04 PM6/17/20
to sss, mirt-package
You can just email me directly your R script and data files. There's no need to post them publicly on the forum.

Phil


On Wed, Jun 17, 2020 at 2:27 PM sss <mailtoy...@gmail.com> wrote:
How to post data.frame?more than 8000 rows.

Phil Chalmers於 2020年6月17日星期三 UTC+8下午11時12分37秒寫道:
Can you provide reproducible code for this issue?

Phil


On Mon, Jun 15, 2020 at 10:18 PM sss <mailtoy...@gmail.com> wrote:
mirt_model<-'
f1=q03,q10,q12,q22,q23
f2=q11,q20,q24,q26,q47,q49
f3=q19,q21,q25,q52,q50,q58
'
df_core_irt_ggum<-mirt(df_core,model=3,itemtype ='ggum',method = "MCEM",dentype = "Gaussian",verbose=FALSE,technical = list(NCYCLES = 100))
work well. 

But when I run a confirmation model,got error as below:
df_core_irt_ggum<-mirt(df_core,model=mirt_model,itemtype ='ggum',method = "MCEM",dentype = "Gaussian",verbose=FALSE,technical = list(NCYCLES = 100))

What's the problem?
Error in `[.data.frame`(data.dca, , 1:nfact) : undefined columns selected
Called from: `[.data.frame`(data.dca, , 1:nfact)

--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-p...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "mirt-package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mirt-package...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages