Differential Item Functioning (DIF)#4
Merged
vandenman merged 10 commits intojasp-stats:masterfrom Feb 4, 2025
Merged
Conversation
vandenman
requested changes
Jan 20, 2025
Contributor
vandenman
left a comment
There was a problem hiding this comment.
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] |
Contributor
There was a problem hiding this comment.
can't this use the setSeed reuseable element?
Collaborator
Author
There was a problem hiding this comment.
It can, but that does not allow initialisation with a known but random seed.
R/itemresponsetheorycommon.R
Outdated
Comment on lines
988
to
989
| 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) |
Contributor
There was a problem hiding this comment.
haven't tested this, but can it fail/ does it need a try-catch?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.