def dist_difference(actual_distribution, expected_distribution):
    """Calculate the difference between two distributions."""
    difference = {}
    for k, v in expected_distribution.items():
        difference[k] = actual_distribution[k] - v
    return difference