info: Plot Test Information Function

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plots.r

Description

The function info computes (and by default plots) the test information function from a fitted Rasch (regression) model.

Usage

1
2
3
  info(mod, theta = NULL, item = NULL,
       main_item = NULL, main_total = NULL,
       which = 'both', plot = TRUE)

Arguments

mod

Fitted Rasch (regression) model whose information curve is to be ploted.

theta

numeric; values of ability at which information is to be calculated.

item

A character string for ICC identification. Only applicable when information is available for all items.

main_item

A main title for the items information plot.

main_total

A main title for the total information plot.

which

Which information plot should be presented. Possible values are 'item', 'total' and 'both'. If 'lord' the MAPE estimator is bias-corrected according to Lord's procedure. If 'MAPE' the posterior (approximated) likelihood is maximized. Default to 'lord'.

plot

logical; whether or not information curves should be ploted.

Details

Displays information regarding the whole set of items considered in the model. Information is computed for each item and for the test as a whole.

Value

A data.frame containing the values of theta, information of every item, and the test information.

Author(s)

Fernando Massa, fmassa@iesta.edu.uy

See Also

plot.rasch, pim, forest, itemfit

Examples

1
2
3
4
n   <- 100
X   <- sim_rasch(n)
mod <- rasch(X)
info(mod)

nando11235813/raschreg documentation built on Oct. 2, 2021, 3:11 p.m.