Cumulative effects of humour styles on human behaviour
Description
The data that I have built delves into the intricate world of humour styles and their cumulative effects on human behaviour, employing integral calculus and numerical simulation. The study explores four distinct humour styles—Affiliative Humour (HA), Self-Enhancing Humour (HE), Aggressive Humour (HD), and Self-Defeating Humour (SD)—and investigates their influence on three key aspects of human behaviour—Positive Social Interactions (PSI), Stress Coping and Resilience (SCR), and Interpersonal Conflict (IC). Using simulated data and visualisations in Python, this analysis provides a unique perspective on the dynamic interplay between humour styles and their lasting impact on individuals over time.
Files
Steps to reproduce
import numpy as np import matplotlib.pyplot as plt # Simulated data for humour styles and their effects on human behavior time_points = np.linspace(0, 1, 100) # Time points for 100 experiments # Simulated values for humour styles HA = np.sin(2 * np.pi * time_points) # Affiliative Humour HE = np.cos(2 * np.pi * time_points) # Self-Enhancing Humour HD = np.exp(-time_points) # Aggressive Humour SD = np.random.uniform(0, 1, 100) # Self-Defeating Humour # Simulated values for effects on human behavior PSI = HA + HE # Positive Social Interactions SCR = HE - HD # Stress Coping and Resilience IC = HD * SD # Interpersonal Conflict # Calculate cumulative effects using numerical integration cumulative_HA = np.cumsum(HA) cumulative_HE = np.cumsum(HE) cumulative_HD = np.cumsum(HD) cumulative_SD = np.cumsum(SD) cumulative_PSI = np.cumsum(PSI) cumulative_SCR = np.cumsum(SCR) cumulative_IC = np.cumsum(IC) # Plotting plt.figure(figsize=(12, 8)) # Plotting humour styles plt.subplot(2, 1, 1) plt.plot(time_points, cumulative_HA, label='Affiliative Humour') plt.plot(time_points, cumulative_HE, label='Self-Enhancing Humour') plt.plot(time_points, cumulative_HD, label='Aggressive Humour') plt.plot(time_points, cumulative_SD, label='Self-Defeating Humour') plt.title('Cumulative Effects of Humour Styles on Human Behavior') plt.xlabel('Time') plt.ylabel('Cumulative Effect') plt.legend() # Plotting effects on human behavior plt.subplot(2, 1, 2) plt.plot(time_points, cumulative_PSI, label='Positive Social Interactions') plt.plot(time_points, cumulative_SCR, label='Stress Coping and Resilience') plt.plot(time_points, cumulative_IC, label='Interpersonal Conflict') plt.xlabel('Time') plt.ylabel('Cumulative Effect') plt.legend() plt.tight_layout() plt.show()