Fit and Simulate Generalised Hypergeometric Ensembles of Graphs
Maps adjacency matrix to edgelist
Map list to ghype object
Fitting bccm models
BootstrapProperty computes igraph analytics function on ensemble
Check graph input type (for whether it's a graph or a edgelist).
Extraction method for coefficients of models of class 'nrm'.
Auxiliary function. Computes combinatorial matrix.
Test regular (gnp) vs configuration model
Highschool contact network adjacency matrix
Computes Cox and Snell pseudo R-squared for nrm models.
Create a nrmpredictor object from list
Create a nrmpredictor object from passed argument
Convert a list of adjacency matrices to a list of igraph graphs.
Log PMF of multivariate hypergeometric
Maps edgelist to adjacency matrix
Extract details from statistical models for table construction. The fu...
Fit propensity matrix for full model
Create a dummy variable to encode zero values of another variable.
Fitting gHypEG models
Perform a goodness-of-fit test
Calculate homophily in multi-edge graphs.
Test null model vs full ghype.
Fisher Information matrix for estimators in block models.
Estimate statistical deviations from ghype model
General method to compute log-likelihood for ghype models.
Extract Log-Likelihood
Compute log-likelihood ratio for ghype models.
Perform likelihood ratio test between two ghype models.
Auxiliary function, gives mask for matrix for directed, undirected etc...
Computes Mc Fadden pseudo R-squared.
Confidence intervals for nrm models.
Computes the significance of more complex model against a simpler mode...
Selects the best set of predictors among the given sets by means of AI...
Perform AIC forward selection for nrm.
Fitting gHypEG regression models for multi-edge networks.
Method to predict the expected values of a nrm model
Calculate weighted reciprocity change statistics for multi-edge graphs...
Fit the gnm model
Method to compute residuals of nrm models
Generate random realisations from ghype model.
Computes the Root Mean Squared Error
Computes the Root Mean Squared Logged Error
Random samples from multivariate hypergeometric
Fit the Soft-Configuration Model
Calculate (un-)weighted shared partner change statistics for multi-edg...
Summary method for elements of class 'nrm_selection'.
Summary method for elements of class 'nrm'.
Auxiliary function, produces matrix from vector
Provides functions for model fitting and selection of generalised hypergeometric ensembles of random graphs (gHypEG). To learn how to use it, check the vignettes for a quick tutorial. Please reference its use as Casiraghi, G., Nanumyan, V. (2019) <doi:10.5281/zenodo.2555300> together with those relevant references from the one listed below. The package is based on the research developed at the Chair of Systems Design, ETH Zurich. Casiraghi, G., Nanumyan, V., Scholtes, I., Schweitzer, F. (2016) <doi:10.48550/arXiv.1607.02441>. Casiraghi, G., Nanumyan, V., Scholtes, I., Schweitzer, F. (2017) <doi:10.1007/978-3-319-67256-4_11>. Casiraghi, G., (2017) <doi:10.48550/arXiv.1702.02048>. Brandenberger, L., Casiraghi, G., Nanumyan, V., Schweitzer, F. (2019) <doi:10.1145/3341161.3342926>. Casiraghi, G. (2019) <doi:10.1007/s41109-019-0241-1>. Casiraghi, G., Nanumyan, V. (2021) <doi:10.1038/s41598-021-92519-y>. Casiraghi, G. (2021) <doi:10.1088/2632-072X/ac0493>.