Learn R Programming

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

TestDesign (version 1.0.2)

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.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Seung W. Choi

Last Published

February 6th, 2020

Functions in TestDesign (1.0.2)

array_info_gr

Calculate Fisher information at multiple thetas (GR)
array_info_pc

Calculate Fisher information at multiple thetas (PC)
array_p_2pl

Calculate probability at multiple thetas (2PL)
array_p_1pl

Calculate probability at multiple thetas (1PL)
calcLocation

Calculate item location
calcJacobian

Calculate first derivative of log-likelihood
calcHessian

Calculate second derivative of log-likelihood
calcFisher

Calculate Fisher information
buildConstraints

Build constraints
calcDerivative

Calculate first derivative
calcProb

Calculate item response probabilities
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_pc

Calculate probability at multiple thetas (PC)
calcEscore

Calculate expected scores
array_p_gr

Calculate probability at multiple thetas (GR)
calc_posterior_function

Calculate a posterior distribution of theta
calc_log_likelihood_function

Calculate a log-likelihood function of theta
calcDerivative2

Calculate second derivative
calcRP

Find matching theta to supplied probability
array_p_3pl

Calculate probability at multiple thetas (3PL)
array_info_2pl

Calculate Fisher information at multiple thetas (2PL)
array_p_gpc

Calculate probability at multiple thetas (GPC)
calc_likelihood

Calculate a likelihood value of theta
calc_posterior_single

Calculate a posterior value of theta for a single item
calc_posterior

Calculate a posterior value of theta
info_1pl

Calculate Fisher information at a single theta (1PL)
item_GPC-class

An S4 class to represent a generalized partial credit item
dataset_fatigue

Fatigue dataset
makeItemPoolCluster

Create an item pool cluster object
item_3PL-class

An S4 class to represent a 3PL item
plotEligibilityStats

Draw item eligibility statistics plots
config_Static-class

createStaticTestConfig
logitHyperPars

Calculate hyperparameters for logit-normal distribution
getSolution

Print solution items
eap

Generate expected a posteriori estimates of theta
EAP

Generate expected a posteriori estimates of theta
info_gr

Calculate Fisher information at a single theta (GR).
item_1PL-class

An S4 class to represent a 1PL item
makeTest

Generate a test object
info_gpc

Calculate Fisher information at a single theta (GPC).
item_2PL-class

An S4 class to represent a 2PL item
calc_info

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

Calculate a likelihood function of theta
calc_log_likelihood

Calculate a log-likelihood value of theta
calc_MI_FB

Calculate the mutual information using full Bayesian
checkConstraints

Check the consistency of constraints and item usage
plotExposure

Draw an item exposure plot
info_2pl

Calculate Fisher information at a single theta (2PL)
info_3pl

Calculate Fisher information at a single theta (3PL)
config_Shadow-class

createShadowTestConfig
calc_info_EB

Calculate the Fisher information using empirical Bayes
constraints-class

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

An S4 class to represent a single constraint
plotRMSE

Draw RMSE plots
theta_EAP_matrix

Calculate EAP estimates of theta for a group of examinees
plotInfoOverlay

Overlay item information plots
theta_EB

Calculate an empirical Bayes estimate of theta for one examinee
extract-methods

Extract
output_Shadow-class

output_Shadow
makeTestCluster

Generate a test cluster object
p_1pl

Calculate probability at a single theta (1PL)
plotExposureRateBySegment

Draw exposure rate plots by theta segment
calc_info_FB

Calculate the Fisher information using full Bayesian
plotExposureRateFinal

Draw exposure rate plots by final theta segment
item_attrib-class

An S4 class to represent a set of constraints.
item_pool-class

An S4 class to represent an item pool
find_segment

Find the segment to which each theta value belongs
subsetTest

Create a subset of a test object
test-class

An S4 class to represent a test
p_gpc

Calculate probability at a single theta (GPC)
loadItemAttrib

Load item attributes
loadConstraints

Load constraints
dataset_reading

Reading dataset
p_gr

Calculate probability at a single theta (GR)
item_pool.operators

Item pool and pool cluster operators
p_2pl

Calculate probability at a single theta (2PL)
dataset_science

Science dataset
loadItemPool

Load item paramaters
iparPosteriorSample

Sample item parameter estimates from their posterior distributions
lnHyperPars

Calculate hyperparameters for log-normal distribution
info_pc

Calculate Fisher information at a single theta (PC)
p_3pl

Calculate probability at a single theta (3PL)
loadStAttrib

Load set/stimulus/passage attributes
plotExposureRateFinalFlag

Draw item information plots for flagged items by segment
plotInfo

Draw item information plots
runAssembly

Run Test Assembly
theta_EAP

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

An S4 class to represent a test cluster
p_pc

Calculate probability at a single theta (PC)
MLE

Generate maximum likelihood estimates of theta
item_PC-class

An S4 class to represent a partial credit item
item_GR-class

An S4 class to represent a graded response item
mle

Generate maximum likelihood estimates of theta
saveOutput

Save or print audit trails
plotCAT

Draw an audit trail plot
plotShadow

Draw a shadow test chart
pool_cluster-class

An S4 class to represent a cluster of item pools
st_attrib-class

An S4 class to represent a set of constraints.
subsetItemPool

Create a subset of an item pool object
updateConstraints

Update constraints
theta_FB_single

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

Show constraints
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
OAT

Launch Shiny app
addTrans

Add transparancy to color
Static

Run Static Test Assembly
Shadow

Run adaptive test assembly.
RMSE

Calculate Root Mean Squared Error
array_info_1pl

Calculate Fisher information at multiple thetas (1PL)
RE

Calculate Relative Errors
array_info_3pl

Calculate Fisher information at multiple thetas (3PL)
array_info_gpc

Calculate Fisher information at multiple thetas (GPC)