Skip to contents

Simulation helpers

simulate_relational_events()
Simulate relational event sequences
simulate_actor_covariates()
Simulate exogenous actor covariates
simulate_hyperedge_events()
Simulate undirected hyperedge events (multi-actor meetings)
simulate_directed_hyperedge_events()
Simulate directed two-mode hyperedge events
simulate_directed_hyperevents_tvnl()
Simulate directed hyper-events with time-varying and non-linear effects

Preprocess module

standardize_event_log()
Standardize a relational event log
attach_static_covariates()
Attach static covariates to an event log
endogenous_features()
Compute endogenous event-network statistics
cpp_supported_stats
Endogenous statistics with a compiled fast path
sample_non_events()
Sample non-events for inference
widen_case_control()
Convert a long case-control event log to wide case-1-control format
transform_recency()
Recency transform of inter-event time gaps

Model fitting and comparison

rem()
Fit a relational (hyper)event model on preprocessed case-control data
nn_control()
Control parameters for the neural-network backend of rem()
nn_uncertainty()
Bootstrap uncertainty for the neural rem() backend
plot(<nn_uncertainty>)
Plot partial-dependence uncertainty bands
compare_models()
Compare candidate endogenous specifications by AIC
compare_models_smooth()
Compare candidate specifications with smooth (TV / NL / TVNL) effects
compare_models_global()
Compare REM specifications with global covariate effects

Diagnostics

martingale_residuals()
Martingale residuals from a case-control partial-likelihood fit
gof_univariate()
Goodness-of-fit test for a single FLE covariate
gof_multivariate()
Multivariate GOF test for smooth or random-effect covariates
gof_global()
Omnibus GOF test via Cauchy combination
gof_auxiliary()
GOF test for an auxiliary (unmodelled) statistic

Hyperedge data model

hyperedge_log() is_hyperedge_log() as_hyperedge_log() as_dyadic_log()
Build / detect / convert hyperedge event logs
hyperedge_sizes()
Cardinality columns for a hyperedge event log
hyperedge_activity()
Activity counter for hyperedge subsets
hyperedge_subrep()
Subset repetition statistic for a hyperedge event log
hyperedge_features()
Endogenous features for a hyperedge event log

Data

dist_matrix
US state distance matrix
classroom_events
Classroom interaction events (McFarland 2001)
classroom_actors
Classroom actor attributes (McFarland 2001)
social_evolution_calls
Phone calls in the Social Evolution study (Madan et al. 2011)
social_evolution_actors
Actor attributes for the Social Evolution study
social_evolution_friendship
Friendship-survey events for the Social Evolution study
radoslaw_email
Manufacturing-company email events (Michalski et al. 2014)
college_msg
CollegeMsg: private messages on a university online community
email_eu_core
Email-Eu-Core temporal (single-department subset)