Learn R Programming

backbone (version 1.1.0)

hyperg: Compute hypergeometric backbone

Description

`hyperg` computes the probability of observing a higher or lower edge weight using the hypergeometric distribution. Once computed, use backbone.extract to return the backbone matrix for a given alpha value.

Usage

hyperg(B)

Arguments

B

Matrix: Bipartite network

Value

list(positive, negative, summary). positive gives matrix of probability of ties above the observed value. negative gives matrix of probability of ties below the observed value. summary: a data frame summary of the inputted matrix and the model used including: model name, number of rows, skew of row sums, number of columns, skew of column sums, and running time.

References

Neal, Zachary. 2013. <U+201C>Identifying Statistically Significant Edges in One-Mode Projections.<U+201D> Social Network Analysis and Mining 3 (4). Springer: 915<U+2013>24. DOI:10.1007/s13278-013-0107-y.

Examples

Run this code
# NOT RUN {
hypergeometric_bb <- hyperg(davis)
# }

Run the code above in your browser using DataLab