Computes the Theil slope over the dataset (x,y), as the median of all slopes between paired values.
y : sequence
Dependent variable. x : {None, sequence} optional Independent variable. If None, use arange(len(y)) instead. alpha : float Confidence degree.
Dependent variable.
Independent variable. If None, use arange(len(y)) instead.
Confidence degree.
medslope : float
Theil slope medintercept : float Intercept of the Theil line, as median(y)-medslope*median(x) lo_slope : float Lower bound of the confidence interval on medslope up_slope : float Upper bound of the confidence interval on medslope
Theil slope
Intercept of the Theil line, as median(y)-medslope*median(x)
Lower bound of the confidence interval on medslope
Upper bound of the confidence interval on medslope
scipy.stats.mstats.stderr
scipy.stats.mstats.threshold