fixes for clarity

This commit is contained in:
Josh Burman
2021-11-24 16:24:14 +00:00
parent da17748103
commit 19f6f35856
6 changed files with 18 additions and 4 deletions

View File

@ -4,6 +4,9 @@ class ItemInformationFunction():
def __init__(self, irt_model):
self.model_data = irt_model
# determines the amount of information for a given question at a given theta (ability level)
# further detailed on page 161, equation 4 here:
# https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5978482/pdf/10.1177_0146621615613308.pdf
def calculate(self, **kwargs):
if self.model_data.model == '3PL':
p = ThreeParameterLogistic(self.model_data, kwargs).result()