boothomvargr

Bootstrap Homogeinity of Variances Test Graphical Approach.
175.0 次下载
更新时间 2011/7/26

查看许可证

The bootstrap is a way of estimating the variability of a statistic from a single data set by resampling it independently and with equal probabilities (Monte Carlo resampling). Allows the estimation of measures where the underlying distribution is unknown or where sample sizes are small. Their results are consistent with the statistical properties of those analytical methods (Efron and Tibshirani, 1993).

The name 'bootstrap' originates from the expression 'pulling yourself up by your own bootstraps' and refers to the basic idea of the bootstrap, sampling with replacement from the data. In this way a large number of 'bootstrap samples' is generated, each of the same size as the original data set. From each bootstrap sample the statistical parameter of interest is calculated (Wehrens and Van der Linden, 1997)

Here, we use the Non-parametric Bootstrap. Non-parametric bootstrap is simpler. It does not use the structure of the model to construct artificial data. The data is instead directly resampled with replecement.

The homogeneity of variances test is a useful tool in many scientific applications. Boos and Brownie (2004) and Conover et al. (1981) give a broad review.

As Kumar et al. (Forthcoming issue, 2011) did, here a m-file graphical procedure using bootstrap method is developed as an alternative to the homogeinity of variances test.

BOOTHOMVARGR treats NaN values as missing values, and removes them.

Syntax: function boothomvargr(x,s,alpha)

Inputs:
x – data nx2 matrix (Col 1 = data; Col 2 = sample code)
s - boot times or number of Bootstrap simulations (resamplings)
alpha - significance level (default=0.05)

Outputs:
- Summary statistics from the samples
- Graphics of the bootstrap procedure to test equality of variances (Null-hypothesis is rejected if any of the variances lie ouside the decision lines)

引用格式

Antonio Trujillo-Ortiz (2024). boothomvargr (https://www.mathworks.com/matlabcentral/fileexchange/32330-boothomvargr), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.4.0.0

Text was improved.

1.2.0.0

It was added an appropriate format to cite this file.

1.0.0.0