fit_event_time_irt: Fit an event-time IRT reference workflow

View source: R/055-requested-api-completion-0-7.R

fit_event_time_irtR Documentation

Fit an event-time IRT reference workflow

Description

The built-in Cox reference conditions on an already supplied theta and is therefore an event-time *measurement diagnostic*, not a full continuous-time latent-trait estimator. A validated exact implementation can be supplied via 'external_engine'.

Usage

fit_event_time_irt(
  data,
  event_time = "event_time",
  event = "event",
  theta = "theta",
  person = "participant_id",
  item = "item_id",
  engine = c("cox_reference", "external"),
  external_engine = NULL,
  ...
)

Arguments

data

Long event/item data.

event_time

Time-to-event column.

event

Event indicator (1 event, 0 censored).

theta

Supplied latent-trait column for the reference engine.

person, item

Person and item identifiers.

engine

'cox_reference' or 'external'.

external_engine

Function implementing a study-specific event-time IRT.

...

Additional arguments passed to the external engine.

Value

An object of class "eye_event_time_irt", stored as a named list, with components "model", "engine", "theta_conditioned", "status", "note". It contains an event-time IRT reference workflow and associated metadata or diagnostics needed to interpret the result.


eyeprocess documentation built on Sept. 28, 2026, 5:08 p.m.

Related to fit_event_time_irt in eyeprocess...