Learn R Programming

⚠️There's a newer version (1.7.0) of this package.Take me there.

TestDesign (version 1.0.1)

Optimal Test Design Approach to Fixed and Adaptive Test Construction

Description

Use the optimal test design approach by Birnbaum (1968, ISBN:9781593119348) and van der Linden (2018) in constructing fixed and adaptive tests. Supports the following mixed-integer programming (MIP) solver packages: 'lpsymphony', 'Rsymphony', 'gurobi', 'lpSolve', and 'Rglpk'. The 'gurobi' package is not available from CRAN; see . See vignette for installing 'Rsymphony' package on Mac systems.

Copy Link

Version

Install

install.packages('TestDesign')

Monthly Downloads

493

Version

1.0.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Seung W. Choi

Last Published

January 24th, 2020

Functions in TestDesign (1.0.1)

array_p_3pl

Calculate probability at multiple thetas (3PL)
calcDerivative

Calculate first derivative
calc_likelihood

Calculate a likelihood value of theta
calcEscore

Calculate expected scores
buildConstraints

Build constraints
calcDerivative2

Calculate second derivative
calc_info_matrix

Calculate the Fisher information matrix for a vector of theta values and a set of items, potentially with a mixture of different models
array_p_gpc

Calculate probability at multiple thetas (GPC)
array_info_gpc

Calculate Fisher information at multiple thetas (GPC)
calcHessian

Calculate second derivative of log-likelihood
calcFisher

Calculate Fisher information
array_info_gr

Calculate Fisher information at multiple thetas (GR)
array_info_pc

Calculate Fisher information at multiple thetas (PC)
calcLocation

Calculate item location
array_p_pc

Calculate probability at multiple thetas (PC)
calc_info_FB

Calculate the Fisher information using full Bayesian
array_p_gr

Calculate probability at multiple thetas (GR)
dataset_reading

Reading dataset
calcJacobian

Calculate first derivative of log-likelihood
calc_info_EB

Calculate the Fisher information using empirical Bayes
calc_log_likelihood_function

Calculate a log-likelihood function of theta
getSolution

Print solution items
dataset_science

Science dataset
config_Static-class

createStaticTestConfig
info_1pl

Calculate Fisher information at a single theta (1PL)
eap

Generate expected a posteriori estimates of theta
EAP

Generate expected a posteriori estimates of theta
calc_posterior

Calculate a posterior value of theta
calc_MI_FB

Calculate the mutual information using full Bayesian
info_gpc

Calculate Fisher information at a single theta (GPC).
calc_likelihood_function

Calculate a likelihood function of theta
calc_info

Calculate the Fisher information matrix for a single theta value and a set of items, potentially with a mixture of different models
array_p_1pl

Calculate probability at multiple thetas (1PL)
dataset_fatigue

Fatigue dataset
array_p_2pl

Calculate probability at multiple thetas (2PL)
calcProb

Calculate item response probabilities
calcRP

Find matching theta to supplied probability
info_gr

Calculate Fisher information at a single theta (GR).
calc_posterior_function

Calculate a posterior distribution of theta
info_2pl

Calculate Fisher information at a single theta (2PL)
item_pool.operators

Item pool and pool cluster operators
constraints-class

An S4 class to represent a set of constraints
item_attrib-class

An S4 class to represent a set of constraints.
extract-methods

Extract
item_pool-class

An S4 class to represent an item pool
find_segment

Find the segment to which each theta value belongs
calc_posterior_single

Calculate a posterior value of theta for a single item
config_Shadow-class

createShadowTestConfig
item_3PL-class

An S4 class to represent a 3PL item
item_GPC-class

An S4 class to represent a generalized partial credit item
info_3pl

Calculate Fisher information at a single theta (3PL)
lnHyperPars

Calculate hyperparameters for log-normal distribution
calc_log_likelihood

Calculate a log-likelihood value of theta
item_GR-class

An S4 class to represent a graded response item
info_pc

Calculate Fisher information at a single theta (PC)
checkConstraints

Check the consistency of constraints and item usage
iparPosteriorSample

Sample item parameter estimates from their posterior distributions
constraint-class

An S4 class to represent a single constraint
logitHyperPars

Calculate hyperparameters for logit-normal distribution
mle

Generate maximum likelihood estimates of theta
item_PC-class

An S4 class to represent a partial credit item
makeTestCluster

Generate a test cluster object
p_pc

Calculate probability at a single theta (PC)
plotCAT

Draw an audit trail plot
makeTest

Generate a test object
loadItemPool

Load item paramaters
plotInfo

Draw item information plots
theta_EAP

Calculate an EAP estimate of theta for one examinee
test_cluster-class

An S4 class to represent a test cluster
plotExposureRateFinalFlag

Draw item information plots for flagged items by segment
loadStAttrib

Load set/stimulus/passage attributes
output_Shadow-class

output_Shadow
p_1pl

Calculate probability at a single theta (1PL)
item_1PL-class

An S4 class to represent a 1PL item
plotInfoOverlay

Overlay item information plots
makeItemPoolCluster

Create an item pool cluster object
plotEligibilityStats

Draw item eligibility statistics plots
runAssembly

Run Test Assembly
plotExposure

Draw an item exposure plot
subsetTest

Create a subset of a test object
saveOutput

Save or print audit trails
item_2PL-class

An S4 class to represent a 2PL item
loadItemAttrib

Load item attributes
loadConstraints

Load constraints
p_2pl

Calculate probability at a single theta (2PL)
MLE

Generate maximum likelihood estimates of theta
plotRMSE

Draw RMSE plots
p_3pl

Calculate probability at a single theta (3PL)
p_gpc

Calculate probability at a single theta (GPC)
theta_EAP_matrix

Calculate EAP estimates of theta for a group of examinees
theta_EB

Calculate an empirical Bayes estimate of theta for one examinee
plotExposureRateFinal

Draw exposure rate plots by final theta segment
plotExposureRateBySegment

Draw exposure rate plots by theta segment
test-class

An S4 class to represent a test
p_gr

Calculate probability at a single theta (GR)
st_attrib-class

An S4 class to represent a set of constraints.
subsetItemPool

Create a subset of an item pool object
theta_FB_single

Calculate a fully Bayesian estimate of theta for a single item
updateConstraints

Update constraints
showConstraints

Show constraints
plotShadow

Draw a shadow test chart
pool_cluster-class

An S4 class to represent a cluster of item pools
simResp

Simulate item responses
theta_EB_single

Calculate an empirical Bayes estimate of theta for a single item
theta_FB

Calculate a fully Bayesian estimate of theta for an examinee
array_info_2pl

Calculate Fisher information at multiple thetas (2PL)
array_info_1pl

Calculate Fisher information at multiple thetas (1PL)
Static

Run Static Test Assembly
RMSE

Calculate Root Mean Squared Error
Shadow

Run adaptive test assembly.
OAT

Launch Shiny app
RE

Calculate Relative Errors
addTrans

Add transparancy to color
array_info_3pl

Calculate Fisher information at multiple thetas (3PL)