TestDesign1.7.0 package

Optimal Test Design Approach to Fixed and Adaptive Test Construction

computeEAPFromPosterior

(Internal) Convert posterior densities into an EAP estimate

getDecisionVariablesOfItemForMultipool

(Internal) Make decision variables for selecting an item

getDecisionVariablesOfPoolForMultipool

(Internal) Make decision variables for selecting a pool

isCustomFirstSegmentAvailable

(Internal) Check if customized first segments are available

isSolutionOptimal

(Internal) Check whether solution is optimal

sanitizeModel

(Internal) Sanitize item model names for C++ functions

selectItemFromShadowTest

(Internal) Select item from a shadowtest

validateSolver

(Internal) Validate solver for interactive use

clipEligibilityRates

(Internal) Clip eligibility rates into 0-1 bounds

combineConstraintsData

(Internal) Combine constraints data

combineItemPoolData

(Internal) Combine item pool data

combineXdata

(Internal) Combine two constraint matrix-data

calc_info_FB

Calculate the Fisher information using full Bayesian

a_to_alpha

Calculate alpha angles from a-parameters

addCountsToConstraintData

(Internal) Count number of pool items that match a constraint

addScoreToConstraintData

(Internal) Sum scores of items in a solution that match a constraint

addSolutionToConstraintData

(Internal) Count number of items in a solution that match a constraint

calculateAdaptivityMeasures

Calculate Adaptivity Measures

adjustAlphaToReduceSpike

(Internal) Apply spike-reduction mechanism on exposure rates

aggregateUsageMatrix

(Internal) Aggregate item usage matrix into exposure rate table

appendMeanInfo

(Internal) Append mean information to shadowtest

applyEligibilityConstraintsToInfo

(Internal) Modify item information using eligibility constraints

applyEligibilityConstraintsToXdata

(Internal) Augment constraint matrix-data with eligibility constraints

applyFading

(Internal) Apply fading to exposure record

checkConstraints

Check the consistency of constraints and item usage

applyOverlapConstraintsToInfo

(Internal) Modify item information using overlap constraints

applyShrinkageCorrection

(Internal) Apply shrinkage correction to theta estimate

applyThin

(Internal) Thin a MCMC chain

assembleShadowTest

(Internal) Assemble a shadowtest

assemblyInFinalThetaSegmentWasFeasibleAtLeastOnceInInterimThetaSegments

(Internal) Determine if shadowtest assembly was feasible for exposure ...

buildConstraints

Build constraints (shortcut to other loading functions)

calc_info_EB

Calculate the Fisher information using empirical Bayes

calc_info

(C++) For multiple items, calculate Fisher information

calc_likelihood

(C++) For multiple items, calculate likelihoods

calc_MI_FB

Calculate the mutual information using full Bayesian

calc_posterior_function

Calculate a posterior distribution of theta

calc_posterior_single

Calculate a posterior value of theta for a single item

calc_posterior

Calculate a posterior value of theta

calcEscore-methods

Calculate expected scores

calcFisher-methods

Calculate Fisher information

calcHessian-methods

Calculate second derivative of log-likelihood

calcJacobian-methods

Calculate first derivative of log-likelihood

calcLocation-methods

Calculate central location (overall difficulty)

calcLogLikelihood-methods

Calculate log-likelihood

calcProb-methods

Calculate item response probabilities

computeInfoAtCurrentTheta

(Internal) Compute item information at current theta estimate

constraint-class

Class 'constraint': a single constraint

constraints-class

Class 'constraints': a set of constraints

constraints-operators

Basic operators for constraints objects

createShadowTestConfig

Create a config_Shadow object

createStaticTestConfig

Create a config_Static object

dataset_bayes

Bayes dataset

dataset_fatigue

Fatigue dataset

dataset_reading

Reading dataset

dataset_science

Science dataset

dbind

(Internal) Bind matrices diagonally

detectBestSolver

Detect best solver

determineCurrentThetaSegment

(Internal) Determine the current theta segment

doExposureControl

(Internal) Perform exposure control

dot-onAttach

(Internal) Package startup functions

getSegmentsToApply

(Internal) Make a vector for segment-dimensioned matrix update

e_item

(C++) Calculate expected scores

eap-methods

Compute expected a posteriori estimates of theta

estimateFinalTheta

(Internal) Estimate final theta

estimateInterimTheta

(Internal) Estimate interim theta

find_segment

(C++) Classify theta values into segments using cutpoints

flagAdministeredAsEligible

(Internal) Update eligibility flags to mark administered items as elig...

flagIneligible

(Internal) Obtain item/set level eligibility flags

generateDensityFromPriorPar

(Internal) Convert prior parameters to distribution densities

generateItemParameterSample

(Internal) Generate item parameter samples for Bayesian purposes

generateSampleFromPriorPar

(Internal) Generate random theta samples from prior distribution

getBayesianConstants

(Internal) Parse Bayesian-related constants

getConstants

(Internal) Parse constants for adaptive test assembly simulation

getEligibilityFlagInSegment

(Internal) Parse eligibility flags for a specific theta segment

getIndexOfExcludedEntry

(Internal) Convert item IDs to item indices for exclusion

getInfoFixedTheta

(Internal) Precalculate item information for fixed-theta item selectio...

getInfoOfExcludedEntry

(Internal) Apply information penalty on items to be excluded

getLBUBInConstraintData

(Internal) Parse item/stimulus lower/upper bounds from constraints dat...

getScoreAttributes

Retrieve constraints-related scores from solution

getSegmentOf

(Internal) Calculate theta segment of a given examinee

getSegmentProb

(Internal) Convert a theta distribution to segment-wise classification...

getSolution-methods

Print solution items

getSolutionAttributes

Retrieve constraints-related attributes from solution

getXdataOfAdministered

(Internal) Obtain constraint matrix-data of administered items/sets

getXdataOfExcludedEntry

(Internal) Translate item exclusion instructions into a constraint mat...

h_item

(C++) Calculate second derivative of log-likelihood

incrementAlpha

(Internal) Increment exposure record variable: alpha

incrementN

(Internal) Increment exposure record variable: n

incrementPhi

(Internal) Increment exposure record variable: phi

incrementRho

(Internal) Increment exposure record variable: rho

info_item

(C++) Calculate Fisher information

initializeCompletedGroupingsRecord

(Internal) Initialize groupings record

initializeDiagnosticExposureRecord

(Internal) Initialize diagnostic exposure record

initializeExposureRecord

(Internal) Initialize exposure record

initializeSegmentRecord

(Internal) Initialize segment record

initializeUsageMatrix

(Internal) Initialize item usage matrix

iparPosteriorSample

Generate item parameter samples for Bayesian purposes

item_attrib-operators

Basic functions for item attribute objects

item_object_validation_methods

(Internal) Validate item objects

item_pool_cluster-class

Class 'item_pool_cluster': an item pool

item_pool_cluster-operators

Create an item pool cluster object

item_pool-class

Class 'item_pool': an item pool

item_pool-operators

Basic operators for item pool objects

loadStAttrib

Load set/stimulus/passage attributes

item-classes

Item classes

j_item

(C++) Calculate first derivative of log-likelihood

lnHyperPars

Convert mean and standard deviation into log-normal distribution param...

loadConstraints

Load constraints

loadItemAttrib

Load item attributes

loadItemPool

Load item pool

logitHyperPars

Convert mean and standard deviation into logit-normal distribution par...

makeConstraintsByEachPartition

make constraints objects from Split() solution indices

makeDiagnosticExposureRecord

(Internal) Collect diagnostic exposure record

makeSetStructureConstraints

(Internal) Make set-based strucutre constraints

makeSimulationDataCache-methods

Create a simulation data cache object

makeTest-methods

Create a test object

makeTestCluster-methods

Create a test cluster object

sanitizeConstraintsData

(Internal) Sanitize constraints data

mle-methods

Compute maximum likelihood estimates of theta

mlef-methods

Compute maximum likelihood estimates of theta using fence items

output_Shadow_all-class

Class 'output_Shadow_all': a set of adaptive assembly solutions

output_Shadow-class

Class 'output_Shadow': adaptive assembly solution for one simulee

output_Split-class

Class 'output_Split': partitioning solution

output_Static-class

Class 'output_Static': fixed-form assembly solution

p_item

(C++) Calculate item response probability

parseConstraintData

(Internal) Parse a constraint data into an object

parsePriorParameters

(Internal) Parse prior parameters from viable sources

parseShadowTestRefreshSchedule

(Internal) Parse shadowtest refresh schedule

plot-methods

Extension of plot() for objects in TestDesign package

plotExposurePanel

(Internal) Draw an exposure rate plot

plotShadowAudit

(Internal) Plot audit trail of a single examinee

plotShadowChart

(Internal) Plot shadow chart of a single examinee

plotShadowExposure

(Internal) Plot exposure rates from a simulation

plotShadowInfo

(Internal) Plot test information of a single shadow test

print-methods

Extension of print() for objects in TestDesign package

RE

Calculate Relative Errors

returnErrors

(Internal) Return S4 object validation error messages

RMSE

Calculate Root Mean Squared Error

runAssembly

Run Test Assembly

runMIP

(Internal) Run MIP solver

Shadow-methods

Run adaptive test assembly

shouldShadowTestBeRefreshed

(Internal) Determine whether shadowtest should be refreshed

show-methods

Extension of show() for objects in TestDesign package

simResp-methods

Simulate item response data

simulation_data_cache-class

Class 'simulation_data_cache': data cache for Shadow()

updateCompletedGroupingsRecordForStimulus

(Internal) Update groupings record for stimulus

Split-methods

Split an item pool into partitions

splitSolutionToBins

(Internal) Convert a partitioning problem solution to indices

st_attrib-operators

Basic functions for stimulus attribute objects

Static-methods

Run fixed-form test assembly

summary-classes

Summary classes

summary-methods

Extension of summary() for objects in TestDesign package

test_cluster-class

Class 'test_cluster': data cache for simulations

test_operators

Basic operators for test objects

test-class

Class 'test': data cache for simulations

TestDesign_alias

Open TestDesign app

TestDesign

Open TestDesign app

testSolver

Test solver

theta_EAP

(C++) Calculate a theta estimate using EAP (expected a posteriori) met...

theta_EB

(C++) Calculate a theta estimate using EB (Empirical Bayes) method

theta_FB

(C++) Calculate a theta estimate using FB (Full Bayes) method

toggleConstraints

Toggle constraints

updateDiagnosticExposureRecord

(Internal) Update diagnostic exposure record

updateEligibilityRates

(Internal) Update eligibility rates based on exposure rates

updateSegmentRecord

(Internal) Update segment record

updateThetaPosterior

(Internal) Update posterior densities

updateUsageMatrix

(Internal) Update item usage matrix

validateConstraintData

(Internal) Validate constraint (wrapper for other validators)

validateExpression

(Internal) Validate constraint condition expression

validateFullColumn

(Internal) Validate constraint for completeness of its required attrib...

validateLBUB

(Internal) Validate constraint lower/upper bounds

Uses the optimal test design approach by Birnbaum (1968, ISBN:9781593119348) and van der Linden (2018) <doi:10.1201/9781315117430> to construct fixed, adaptive, and parallel tests. Supports the following mixed-integer programming (MIP) solver packages: 'Rsymphony', 'highs', 'gurobi', 'lpSolve', and 'Rglpk'. The 'gurobi' package is not available from CRAN; see <https://www.gurobi.com/downloads/>.

  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2024-08-22