Skip to content

Instantly share code, notes, and snippets.

@catslovedata
Last active January 2, 2023 20:14
Show Gist options
  • Save catslovedata/76d10fc03943f550b1ad185cd020ee0d to your computer and use it in GitHub Desktop.
Save catslovedata/76d10fc03943f550b1ad185cd020ee0d to your computer and use it in GitHub Desktop.
import numpy as np
from scipy.stats import norm, skewnorm
from matplotlib import pyplot as plt
RANDOM_SEED = 128 # Set to None if it should differ each time. RANDOM_SEED = None
NUM_VALUES = 10000 # Number of values to generate
MEAN, ST_DEV = 12, 2 # Mean and std dev to use in the normal distribution
NUM_BINS = 20 # Number of bins to group the data into
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment