the Theil–Sen estimator, also known as Sen's slope estimator,slope selection,the single median method, or the Kendall robust line-fit method, is a method for robust linear regression that chooses the median slope among all lines through pairs of two-dimensional sample points. It is named ...
A stand-alone Theil-Sen estimator for robust simple regression in Matlab. ("Stand-alone" means that no toolbox is required.) Theil-Sen estimator ATheil-Sen estimatorprovides robust linear regression for one predictor: The resulting estimates of slope and intercept are relatively insensitive to outl...
复制 ggplot(coefs.0,aes(x=n,colour=Estimator))+geom_boxplot(aes(ymin=q025,lower=q25,middle=q50,upper=q75,ymax=q975),data=summarise(group_by(coefs.0,n,Estimator),q025=quantile(Slope,.025),q25=quantile(Slope,.25),q50=quantile(Slope,.5),q75=quantile(Slope,.75),q975=quantile(Slope,...