Sen Slope estimator

버전 1.0.0 (3.93 KB) 작성자: Ali Afruzi
Non-parametric Slope Using the Method of Theil (1950) and Sen (1968)
다운로드 수: 15
업데이트 날짜: 2024/4/2

라이선스 보기

%% INPUTS:
% TSD = (n x 2) double
% TSD(:,1) = Time, Eg. years, TSD(:,1) = [1991; 1992; 1993; ... 2015]
% TSD(:,2) = Data, Eg. Data may be the average temprature of the years
% alpha = significance level of the test, Eg. alpha = 0.05
% Plot = 0 or 1; (Plot = 1 : Plots the time series data and Sen's
% slope estimators)
%% OUTPUTS:
% H = hypothesis test results (H = 1 : Trend is significant)
% beta1 = Sen's slope
% LL = Lower confidence interval for Sen's slope
% UL = Upper confidence interval for Sen's slope
% LL < beta1 < UL
% beta0 = Intercept
% H05 = hypothesis test results for beta1/slope at the 5%
% (alpha = 0.05) significance level
% H01 = hypothesis test results for beta1/slope at the 1%
% (alpha = 0.01) significance level
%% RUNNING SAMPLE:
% >> load('tsd_sample.mat');
% >> Sen_Slope(tsd_sample, .05, 1);

인용 양식

Ali Afruzi (2024). Sen Slope estimator (https://www.mathworks.com/matlabcentral/fileexchange/162546-sen-slope-estimator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
R2010a에서 R2024a까지의 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0