Statistics

Distribution

calculate_contact_duration(Data[, bins])

Calculates the probabilitys for the contact duration

calculate_triangle_duration(Data[, bins])

Calculates the probabilities for the contact duration between triangle constellations

calculate_inter_contact_duration(Data[, bins])

Calculates the probabilities for the inter-contact duration

Null Model

check_bonferroni_correction(contact_matrix)

Apply the bonferroni correction on the contact matrix

mapping_function(Data[, label])

Creates a mapping

configuration_model_label_z_score_mixing_matrix(Data)

Creates a contact matrix based on the configuration model

shuffle_label_z_score_mixing_matrix(Data[, …])

Creates a contact matrix based on a null model with randomized identities.

remove_self_loops(graph)

Removes self-loops that occur by using the “configuration_model”-function

to_simple_graph(graph)

Average Degree

avg_degree_attr(df)

Calculates the average degree

group_list_degree(df)

Creates lists of the degrees

global_avg_var_std(attr_degree_list)

Calculating global degree measures

Network Measurements

calculating_number_of_edges_nodes(network)

Calculate number of edges/nodes

mean_degree_network(network)

Calculate average degree

variance_std_network(network)

Calculate variance and standard deviation

average_path_length_network(network)

Calculate the average path length

clustering_coefficient(network)

Calculate the global Clustering Coefficient

Check distribution

search_best_fit_distribution(data[, xmin, …])

Searches the best fitting distribution

get_best_fit_distribution(distribution_list, fit)

Searches the best fitting distribution

distribution_tupel_combinations(…)

Searches the best fitting distribution