Exponential Random Partition Models
Within groups correlation
Function to count the number of partitions with a certain group size s...
Between groups correlation
Exact estimates number of groups
Function to enumerate all possible partitions for a given n
Proportion of isolates
Range of attribute in groups
Correlation with size
Estimate ERPM for multiple observations
Function to calculate the number of partitions with groups of sizes be...
Calculate Dirichlet denominator
Calculate Dirichlet probability
Function to determine whether a partition contains the allowed group s...
Compute the average size of a random partition
Compute denominator for model with number of groups
Compute Statistics
Compute Statistics multiple
CUP
Draw Metropolis multiple
Draw Metropolis single
ERPM: Exponential Random Partition Models
Estimate ERPM
Estimate log likelihood
Grid - search burnin single
Grid - search burnin thining multiple
Grid - search burnin thining single
Grid - search thining single
Statistics on the size of groups in a partition
Intra class correlation
Number of individuals having an attribute
Same pairs of individuals in a partition
Function to replace the ids of the group without forgetting an id and ...
Exemplary outcome objects for the ERPM Package
Core function for Phase 1
Plot average sizes
Plot likelihood of number groups
Visualization of partition
Print results of bayesian estimation (beta version)
Print estimation results
Print results of estimation of phase 3
Phase 1 wrapper for multiple observations
Phase 1 wrapper for single observation
Phase 2 wrapper for multiple observation
Phase 2 wrapper for single observation
Phase 3 wrapper for multiple observation
Phase 3 wrapper for single observation
Same pairs of individuals in a partition
Similar pairs of individuals in a partition
Simulate burn in single
Simulate burnin thining multiple
Simulate burnin thining single
Simulate thining single
Function to calculate the number of partitions with k groups of sizes ...
Simulates and estimates the Exponential Random Partition Model presented in the paper Hoffman, Block, and Snijders (2023) <doi:10.1177/00811750221145166>. It can also be used to estimate longitudinal partitions, following the model proposed in Hoffman and Chabot (2023) <doi:10.1016/j.socnet.2023.04.002>. The model is an exponential family distribution on the space of partitions (sets of non-overlapping groups) and is called in reference to the Exponential Random Graph Models (ERGM) for networks.