"R 2모수 모형"의 두 판 사이의 차이

5번째 줄: 5번째 줄:


==ltm 패키지==
==ltm 패키지==
<syntaxhighlight lang='r' run hideerr>
<syntaxhighlight lang='r' notebook=ltm hideerr>
df <- read.csv("https://github.com/jmnote/zdata/raw/master/github.com/cran/ltm/data/LSAT.csv")
df <- read.csv("https://github.com/jmnote/zdata/raw/master/github.com/cran/ltm/data/LSAT.csv")
library(ltm)
library(ltm)
model <- ltm(df ~ z1)
model <- ltm(df ~ z1)
coef(model)
coef(model)
</syntaxhighlight>
<syntaxhighlight lang='r' notebook=ltm hideerr>
plot(model)
</syntaxhighlight>
</syntaxhighlight>



2021년 10월 2일 (토) 18:56 판

1 개요

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

2 ltm 패키지

df <- read.csv("https://github.com/jmnote/zdata/raw/master/github.com/cran/ltm/data/LSAT.csv")
library(ltm)
model <- ltm(df ~ z1)
coef(model)
plot(model)

3 irtplay 패키지

df <- read.csv("https://github.com/jmnote/zdata/raw/master/github.com/cran/ltm/data/LSAT.csv")
library(irtplay)
model <- est_irt(data=df, model="2PLM", verbose=FALSE)
coef(model)

4 같이 보기

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