LogisticModel: Four-Parameter Logistic Model

View source: R/ICCtoTIC.R

LogisticModelR Documentation

Four-Parameter Logistic Model

Description

Computes the probability of a correct response using the four-parameter logistic model (4PLM) in Item Response Theory.

Usage

LogisticModel(x, a = 1, b, c = 0, d = 1)

Arguments

x

Numeric. The ability parameter (theta).

a

Numeric. The slope (discrimination) parameter. Default is 1.

b

Numeric. The location (difficulty) parameter.

c

Numeric. The lower asymptote (guessing) parameter. Default is 0.

d

Numeric. The upper asymptote (carelessness) parameter. Default is 1.

Details

The four-parameter logistic model extends the 3PLM by adding an upper asymptote parameter d, which accounts for careless errors by high-ability examinees.

The model formula is:

P(\theta) = c + \frac{d - c}{1 + \exp(-a(\theta - b))}

Special cases:

  • 1PLM: a = 1, c = 0, d = 1

  • 2PLM: c = 0, d = 1

  • 3PLM: d = 1

Value

A numeric value representing the probability of a correct response.

See Also

ItemInformationFunc

Examples

# Compute probability for ability = 0, difficulty = 0
LogisticModel(x = 0, a = 1, b = 0, c = 0, d = 1) # Returns 0.5

# 3PLM with guessing parameter
LogisticModel(x = -3, a = 1.5, b = 0, c = 0.2, d = 1)


ggExametrika documentation built on Nov. 25, 2026, 9:07 a.m.