Code covered by the BSD License  

Highlights from
Bowkertest

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 3.61 KB File ID: #6322

Bowkertest

by Antonio Trujillo-Ortiz

 

17 Nov 2004 (Updated 23 Nov 2004)

Bowker's Test for Symmetry.

| Watch this File

File Information
Description

This m-file performs the Bowker's test for symmetry. It is an extension of the McNemar test to a KxK situation. There are now K response categories for the two dependent samples.

The null hypothesis is that the probabilities in the square table satisfy symmetry or that there is no sifnificant shift from one response category to another from sample 1 to sample 2.

When the null hypothesis of symmetry is true, then B will have a Chi-square distribution with K(K-1) degrees of freedom. This is the basis of the proposed test by Bowker (1948). If K=2, then B simplifies to the McNemar test statistic.

It need to input X-data matrix defined by the KxK observed frequency cells, t-desired test [t = 1, one-tail; t = 2, two-tail (default)], and alpha-significance level (default = 0.05).

The output is a table with the proportion of success for the dependent samples and the P-values using and not correction for discontinuity.

MATLAB release MATLAB 5.3 (R11)
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
23 Nov 2004

It was added an appropriate format to cite this file.

Tag Activity for this File
Tag Applied By Date/Time
statistics Antonio Trujillo-Ortiz 22 Oct 2008 07:35:59
probability Antonio Trujillo-Ortiz 22 Oct 2008 07:35:59
bowker Antonio Trujillo-Ortiz 22 Oct 2008 07:35:59
contingency table Antonio Trujillo-Ortiz 22 Oct 2008 07:35:59
symmetry Antonio Trujillo-Ortiz 22 Oct 2008 07:35:59
dependent samples Antonio Trujillo-Ortiz 22 Oct 2008 07:35:59

Contact us at files@mathworks.com