sim_data_3: Simulated item response data for 3PLM

Description Usage Format Examples

Description

This data set contains 30 item responses of 3,000 subjects

Usage

1

Format

a dataset with 31 cols, first col is ID line.

Examples

1
2
3
4
5
6
set.seed(0204)
# single test data: subjects=3,000 and item=30, 3PLM
# data.frame(x=c(0:1)) %>%
#   ggplot(aes(x=x))+stat_function(fun=dbeta, args = list(shape1=1, shape2=6))
sim_data_3 <- irtfun2::sim_gen(theta=rnorm(3000),
  b=rnorm(30), a=rlnorm(30, sdlog=0.25), c=rbeta(30, shape1=1, shape2=6))

takuizum/irtfun2 documentation built on May 10, 2020, 8:30 a.m.