-
Notifications
You must be signed in to change notification settings - Fork 1
Differential Item Functioning (DIF) #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
vandenman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two small comments below, still need to check this in jasp.
| defaultValue: 1 | ||
| min: 1 | ||
| max: 99999999 | ||
| defaultValue: Math.floor(Math.random() * 1000000) // Init with random integer in [1,...,999999] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't this use the setSeed reuseable element?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can, but that does not allow initialisation with a known but random seed.
R/itemresponsetheorycommon.R
Outdated
| fit <- mirt::multipleGroup(data = state[["items"]], model = 1, itemtype = options[["model"]], group = dataset[[options[["groupingVariable"]]]], SE = FALSE, verbose = FALSE, TOL = options[["emTolerance"]], technical = list(NCYCLES = options[["emIterations"]], set.seed = options[["seed"]])) | ||
| dif <- mirt::DIF(fit, which.par = parameters) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haven't tested this, but can it fail/ does it need a try-catch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good one
Uh oh!
There was an error while loading. Please reload this page.