Learn R Programming

logicDT (version 1.0.5)

predict.4pl: Prediction for 4pL models

Description

Use new input data and a fitted four parameter logistic model to predict corresponding outcomes.

Usage

# S3 method for `4pl`
predict(object, Z, ...)

Value

A numeric vector of predictions. For binary outcomes, this is a vector with estimates for

\(P(Y=1 \mid X = x)\).

Arguments

object

Fitted 4pl model

Z

Numeric vector of new input samples

...

Ignored additional parameters