Skip to contents

Model Fitting

Fit Social Relations Models to network data

srm()
Fit a Social Relations Model to network data
srm_effects()
Calculate SRM actor, partner, or unique effects
srm_stats()
Calculate SRM summary statistics

S3 Methods

Standard R methods for srm objects

print(<srm>)
Print an srm object
summary(<srm>)
Summarize an srm object
print(<summary.srm>)
Print a summary.srm object
plot(<srm>)
Plot an srm object

Inference

Permutation-based significance testing

permute_srm()
Permutation test for SRM variance components
print(<srm_permtest>)
Print a permutation test result
plot(<srm_permtest>)
Plot permutation test null distributions

Longitudinal Analysis

Track effects over time

srm_trends()
Track SRM effects over time
srm_trend_plot()
Plot SRM effects over time
srm_stability()
Compute stability of effects across time

Visualization

Additional plotting functions

srm_plot()
Create plots for SRM actor, dyadic, partner effects

Simulation

Generate synthetic network data

sim_srm()
Simulate network data from a Social Relations Model

Datasets

Example datasets

atop_EA
East Asian consultation agreements from ATOP
classroom
Simulated classroom friendship ratings
small_council
Simulated Small Council pursuit data (bipartite)
trade_net
Simulated trade network (longitudinal)