Python 2모수 모형

Jmnote (토론 | 기여)님의 2021년 10월 6일 (수) 19:36 판 (→‎JML)

1 개요

Python IRT 2모수 모형
Python 문항반응이론 2PLM
Python 문항반응이론 2모수 모형

2 JML

import numpy as np
import pandas as pd
import girth
df = pd.read_csv("https://github.com/jmnote/zdata/raw/master/github.com/cran/ltm/data/LSAT.csv")
m = np.transpose(df.values)
estimates = girth.twopl_jml(m)
pd.DataFrame(estimates)

3 MML

  • Maximum Marginal Likelihood(MML) Method
import numpy as np
import pandas as pd
import girth
df = pd.read_csv("https://github.com/jmnote/zdata/raw/master/github.com/cran/ltm/data/LSAT.csv")
m = np.transpose(df.values)
estimates = girth.twopl_mml(m)
pd.DataFrame({k: estimates[k] for k in ('Discrimination','Difficulty')})

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}