Skip to contents

Model Estimation

Main estimation functions and controls for fitting Durational Event Models (DEM) and Relational Event Models (REM).

dem()
Durational Event Model (DEM) Estimation
rem()
Relational Event Model (REM) Estimation
dem_object dem-class
The dem Object
rem_object rem-class
The rem Object
control.redeem()
Control Parameters for REDEEM Models
dem.simulate()
Simulate events based on specified formulas and coefficients
rem.simulate()
Simulate a Relational Event Model (REM)

Diagnostics & Post-Estimation

Utilities for residual checking, out-of-sample likelihood evaluation, baseline intensity plotting, and node ranking.

get_residuals()
Get residuals for model diagnostics (Cox-Snell Residuals)
get_oos_likelihood()
Out-of-sample Log-Likelihood (Proper Scoring Rule)
get_ranking()
Get ranking for test events (Out-of-Sample Goodness-of-Fit)
plot_baseline()
Plot Baseline Intensity
predict_baseline_trend()
Predict the baseline intensity trend at one or more future time points
summary(<redeem_result>)
Summary of REDEEM Model Results

Model Terms & Sufficient Statistics

Functions representing standard dyadic, triadic, degree-based, and exogenous covariate terms to be used inside model formulas.

Data Validation & Helpers

Functions for verifying inputs.

check_matrix()
Validate the Structure of a Durational Event List