Learn R Programming

bairt (version 0.1.2)

MathTest: Data from an math test applied at USB in 2012.

Description

Observed data for a math test designed by Simon Bolivar University (USB) in 2012. It is represented by an 100 <U+00D7> 15 matrix of 1<U+2019>s and 0<U+2019>s.

Usage

data(MathTest)

Arguments

Format

The i-th row of this matrix represents the answers from the i-th examinee, whereas the elements in j-th column represents the answers from the examinees to the j-th test item.

Examples

Run this code
# NOT RUN {
# data for model
data("MathTest")

# Only for the first 500 examinees of the data MathTest
# Two-Parameter Normal Ogive Model
model2 <- mcmc.2pnob(MathTest[1:500,], iter = 400, burning = 100)
check.plot(model2)

# }
# NOT RUN {
# For all examinees of the data MathTest
# Three-Parameter Normal Ogive Model
# selection of the prior for 5 response options
cprior <- select.c.prior(5)
model3 <- mcmc.3pnob(MathTest, iter = 3500, burning = 500,
                    c.prior = cprior)
check.plot(model3)
irc(model3, item = 11)
chain.study(model3, chain = 11, parameter = "a")
parameter.plot(model3)
# }
# NOT RUN {
## End(Not run)
# }

Run the code above in your browser using DataLab