Stats Module

This module contains functions for statistical analysis.

to_heatmap_custom(df, means)

to_image_custom(df_original, ...[, df_p_values])

friedman_shaffer_scmamp(df)

This function performs the Friedman test and the Shaffer post hoc test using the scmamp package.

determine_color(val, row_name, col_name, means)

format_text(val)

friedman_dunn_test(dataframe)

friedman_nemenyi_test(dataframe[, ...])

stats.friedman_shaffer_scmamp(df)[source]

This function performs the Friedman test and the Shaffer post hoc test using the scmamp package.

Parameters:

df (pandas.DataFrame) – a pandas DataFrame with the results of the experiments

Returns:

a dictionary with the results of the Friedman test and the Shaffer post hoc test

Return type:

dict