hdrstats.hdrstats¶
dat parsing and statistical analysis.
-
hdrstats.hdrstats.
corr_header
(lin=True, spearman=False, pearson=False, pvals=True, rbc=False, rmse=False, rrmse=False, mae=False, rmae=False, msd=False, rmsd=False, **kwargs)[source]¶ generate headers for corr_calc
-
hdrstats.hdrstats.
corr_calc
(x, y, lin=True, spearman=False, pearson=False, pvals=True, rbc=False, rmse=False, rrmse=False, mae=False, rmae=False, msd=False, rmsd=False, **kwargs)[source]¶ calculate correlations between pairs of data
-
hdrstats.hdrstats.
g_err
(a, b, c, sigma, scale=1.0, conf=0.95, zero=False)[source]¶ apply kernel density estimate from b to c at a
-
hdrstats.hdrstats.
error_cont
(b, adif, rdif, scale=1, resample=None, ksigma=None)[source]¶ calculate continuous moving average of error (adif, rdif) based on the kernel density estimate of b, at b or if resample, at resample
-
hdrstats.hdrstats.
kernel
(d, w=None, mi=None, mx=None, n=1000, t=0.0001, bws=0.5)[source]¶ prepare a gaussian kernel
bws is a scale factor to the bw_method
gaussian kernel selection by Scott’s rule, see: https://docs.scipy.org/doc/scipy/reference/generated/ scipy.stats.gaussian_kde.html
-
hdrstats.hdrstats.
conf_box
(x, w=None, ci=0.75, ciw=0.95, nsamp=100, t=0.0)[source]¶ bootstrap a confidence interval for the mean of a weighted sample