ability: Ability Estimation

Description Usage Arguments Details References Examples

Description

Estimates the ability parameter and obtains the standard error of the estimate given the item characteristic curve model, the response vector, and the set of known item parameters under the one-, two-, or three-parameter logistic model.

Usage

1
ability(mdl, u, b, a, c)

Arguments

mdl

1, 2, or 3 representing the number of the model parameters.

u

a numeric vector of 0s and 1s representing the responses to items.

b

a numeric vector representing the values of item difficulty.

a

a numeric vector representing the values of item discrimination.

c

a numeric vector representing the values of lower asymptote.

Details

With the number of item characteristic curve model parameters mdl, the response vector u, and the set of item parameters b, a, and c, the ability parameter is estimated and reported as th by the maximum likelilhood procedure. The estimated standard error se is also obtained and reported. The length of u should be the same as that of b, a, and c. Each parameter c has a theoretical range from 0 to 1, but in practice values above .35 are not considered acceptable, hence use the range from 0 to .35 for each c. Under the one-parameter logisric model, a = rep(1, length(b)) and c = rep(0, length(b)). Under the two-parameter logistic model, c = rep(0, lenght(b)).

References

Baker, F. B., & Kim, S.-H. (2017). The basics of item response theory using R. New York, NY: Springer. ISBN-13: 978-3-319-54204-1

Examples

1
2
3
4
5
6
u <- c(1, 0, 1)
b <- c(-1.0, 0.0, 1.0)
a <- c(1.0, 1.2, 0.8)
ability(2, u, b, a) # ability(2, u, b, a, c = rep(0, length(b)))
theta.se <- ability(2, u, b, a)
theta.se

Example output

th= 0.324846275728124 
se= 1.2295613112834 
[1] 0.3248463 1.2295613
th= 0.324846275728124 
se= 1.2295613112834 
[1] 0.3248463 1.2295613

birtr documentation built on May 2, 2019, 9:18 a.m.

Related to ability in birtr...