bootmode

버전 1.1.0.0 (3.08 KB) 작성자: Andrew Penn
Multimodality testing with the smooth bootstrap
다운로드 수: 33
업데이트 날짜: 2019/4/22

라이선스 보기

% Function file: [H, P, h] = bootmode (x, m, B, kernel)
%
% This function tests whether the distribution underlying the univariate
% data in vector x has m modes. The method employs the smooth bootstrap
% as described [1].
%
% The parsimonious approach is to consider a successively increasing
% number of modes until the null hypothesis (H0) is accepted (i.e. H=0),
% where H0 corresponds to the number of modes being equal to m.
%
% x is the vector of data
%
% m is the number of modes for hypothesis testing
%
% B is the number of bootstrap replicates
%
% kernel can be 'Gaussian' (default) or 'Epanechnikov'
%
% H=0 indicates that the null hypothesis cannot be rejected at the 5%
% significance level. H=1 indicates that the null hypothesis can be
% rejected at the 5% level.
%
% P is the achieved significance level using the bootstrap test.
%
% h is the critical bandwidth (i.e. the smallest bandwidth achievable to
% obtain a kernel density estimate with m modes)
%
% Bibliography:
% [1] Efron and Tibshirani. Chapter 16 Hypothesis testing with the
% bootstrap in An introduction to the bootstrap (CRC Press, 1994)
%
% bootmode v1.1 (22/04/2019)
% Author: Andrew Charles Penn
% https://www.researchgate.net/profile/Andrew_Penn/

인용 양식

Andrew Penn (2024). bootmode (https://www.mathworks.com/matlabcentral/fileexchange/66671-bootmode), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Hypothesis Tests에 대해 자세히 알아보기

Community Treasure Hunt

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

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

- Correction to example data set provided in comments
- Added option to use either a Gaussian or Epanechnikov kernel

1.0.0.0