hi
Hi guys,
I am trying to use simdata to simulate graded response model. Here's what I am trying to do.
a<-1
d<-c(1,0,-1)
dat1<-simdata(a=1,d=d,N=10). However, when I run this snippet of code I get a result where all the values in dat1 are 4.

The parameters as defined in the above code work and I verified that using itemplot(shiny=T).

I am not sure what is it that I am doing wrong. Any help would be appreciated.
Thanks,
Varun
--
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/d6e16f82-d5ef-443b-a915-57bf2bd8366f%40googlegroups.com.
The d input here should be a matrix, not a vector, where each row corresponds to a single item. It might be helpful just to follow the examples in simdata() and modify those until it suits your need.Phil
On Thu, Jan 16, 2020 at 4:52 PM Varun Aggarwal <varunagg...@gmail.com> wrote:
--hi
Hi guys,
I am trying to use simdata to simulate graded response model. Here's what I am trying to do.
a<-1
d<-c(1,0,-1)
dat1<-simdata(a=1,d=d,N=10). However, when I run this snippet of code I get a result where all the values in dat1 are 4.
The parameters as defined in the above code work and I verified that using itemplot(shiny=T).
I am not sure what is it that I am doing wrong. Any help would be appreciated.
Thanks,
Varun
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.
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/b70d28ea-7cb9-49dc-b555-2dd7ac339d5a%40googlegroups.com.