Skip to content

Instantly share code, notes, and snippets.

@ochilab
Created December 13, 2016 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ochilab/af87f3c9da6484b1fd3b98f9e5e6e6d9 to your computer and use it in GitHub Desktop.
Save ochilab/af87f3c9da6484b1fd3b98f9e5e6e6d9 to your computer and use it in GitHub Desktop.
Rで項目特性曲線を利用するサンプル
icc2 <- function(a, b, theta) {
prob <- 1/(1+exp(-1.7*a*(theta-b)))
prob
}
x<- icc2(a=1.0,b=1.5,theta=0)
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment