Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from pathlib import Path | |
from numpy import sqrt, loadtxt, isclose | |
from pandas import read_table | |
from scipy.stats import t | |
def ttest(sample1, sample2): | |
vn1, vn2 = [s.var() / s.size for s in [sample1, sample2]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scipy.stats import norm, uniform, gamma | |
from matplotlib.pyplot import rc, rcdefaults, subplots, imread, show | |
from matplotlib.lines import Line2D | |
from matplotlib.ticker import MultipleLocator | |
from matplotlib.transforms import blended_transform_factory | |
from matplotlib.offsetbox import VPacker, TextArea, AnchoredOffsetbox, DrawingArea | |
from matplotlib.image import BboxImage | |
from numpy.random import default_rng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pandas import DataFrame | |
from numpy.random import default_rng | |
from numpy import linspace, sin, cos | |
from matplotlib.pyplot import ( | |
rcdefaults, rc, show, ion, figure, | |
pause, ioff, rcParams, waitforbuttonpress, | |
imread | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from functools import partial | |
from textwrap import fill | |
from scipy.stats import norm, uniform, skewnorm, gaussian_kde, triang | |
from numpy import ( | |
array, linspace, quantile, histogram, atleast_2d, mean, std, add | |
) | |
from numpy.lib.stride_tricks import sliding_window_view | |
from matplotlib.pyplot import subplots, show, rc |
NewerOlder