Learn R Programming

TestDesign (version 1.0.1)

Shadow: Run adaptive test assembly.

Description

Perform adaptive test assembly based on generalized shadow-test approach, with specified configurations.

Usage

Shadow(
  config,
  constraints = NULL,
  true_theta = NULL,
  data = NULL,
  prior = NULL,
  prior_par = NULL,
  session = NULL
)

# S4 method for config_Shadow Shadow( config, constraints = NULL, true_theta = NULL, data = NULL, prior = NULL, prior_par = NULL, session = NULL )

Arguments

config

A '>config_Shadow object.

constraints

A list representing optimization constraints. Use loadConstraints for this.

true_theta

Numeric. A vector of true theta values to be used in simulation.

data

Numeric. A matrix containing item response data.

prior

Numeric. A matrix or a vector containing priors.

prior_par

Numeric. A vector of parameters for prior distribution.

session

Used to communicate with a Shiny session.

References

van_der_linden_model_1998TestDesign

van_der_linden_optimal_1998TestDesign

van_der_linden_optimal_2000TestDesign

van_der_linden_linear_2005TestDesign

Examples

Run this code
# NOT RUN {
config <- createShadowTestConfig()
true_theta <- rnorm(1)
solution <- Shadow(config, constraints_science, true_theta)
solution$output
# }

Run the code above in your browser using DataLab