Modeling variability in item parameters in educational measurement