Code covered by the BSD License  

Highlights from
bootanovagr

Be the first to rate this file! 8 Downloads (last 30 days) File Size: 3.93 KB File ID: #31786
image thumbnail

bootanovagr

by Antonio Trujillo-Ortiz

 

13 Jun 2011 (Updated 20 Jul 2011)

Bootstrap Analysis of Variance Graphical Approach.

| Watch this File

File Information
Description

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.

As Reddy et al. (2010) did, a m-file graphical procedure using bootstrap method is developed as an alternative to the ANOVA to test the hypothesis on equality of several means.

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

Syntax: function bootanovagr(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 means
(Null-hypothesis is rejected if any of the means lie ouside the decision lines)

Required Products Statistics Toolbox
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
14 Jun 2011

It was added an appropriate format to cite this file.

20 Jul 2011

Text was improved.

Tag Activity for this File
Tag Applied By Date/Time
bootstrap Antonio Trujillo-Ortiz 14 Jun 2011 08:29:13
resampling Antonio Trujillo-Ortiz 14 Jun 2011 08:29:13
analysis of variance Antonio Trujillo-Ortiz 14 Jun 2011 08:29:13
anova Antonio Trujillo-Ortiz 14 Jun 2011 08:29:13

Contact us at files@mathworks.com