Skip to content

Rasch model #410

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

Merged
merged 1 commit into from
Jan 19, 2017
Merged

Rasch model #410

merged 1 commit into from
Jan 19, 2017

Conversation

dustinvtran
Copy link
Member

A simple implementation of the Rasch model in item response theory. (also see #346)

python rasch_model.py
## Iteration    1 [  0%]: Loss = 5476.080
## Iteration  250 [ 10%]: Loss = 3062.469
## Iteration  500 [ 20%]: Loss = 3072.561
## Iteration  750 [ 30%]: Loss = 3062.746
## Iteration 1000 [ 40%]: Loss = 3062.882
## Iteration 1250 [ 50%]: Loss = 3058.824
## Iteration 1500 [ 60%]: Loss = 3067.787
## Iteration 1750 [ 70%]: Loss = 3061.325
## Iteration 2000 [ 80%]: Loss = 3060.995
## Iteration 2250 [ 90%]: Loss = 3060.363
## Iteration 2500 [100%]: Loss = 3063.963
## MSE between true traits and inferred posterior mean:
## 0.202594817092

Plot of the true traits by the inferred posterior means.
screen shot 2017-01-17 at 2 06 56 pm

Reviewer suggestions:

Would love it if you took a look @mdzeig. Otherwise I'll just merge it.

@mdzeig
Copy link

mdzeig commented Jan 19, 2017

Checked the code. Everything looks good. Some time soonish, I will update add hyper priors for the threshold parameter to get things into state that IRT people will use. Thanks!

@dustinvtran
Copy link
Member Author

sure, that would be awesome

@dustinvtran dustinvtran merged commit 7e98bfa into master Jan 19, 2017
@dustinvtran dustinvtran deleted the examples/rasch branch January 19, 2017 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants