Nothing
test_that("difference computes the difference between theta and estimated theta", {
# Simulate person and item parameters
starting_theta = rnorm(1000)
b <- runif(100, -3, 3)
a <- runif(100, 0.6, 2)
parameters <- data.frame(b, a)
# simulate data
data <- sirt::sim.raschtype(starting_theta, b = b, fixed.a = a)
stf <- uip(data, starting_theta = starting_theta, item_par = parameters, num_item = 5)
my_diff <- diff_theta(stf)
expect_true(ncol(my_diff)== 4)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.