首页 | 本学科首页   官方微博 | 高级检索  
     检索      


Tests of marginal homogeneity and special cases
Authors:Keith Dunnigan
Institution:Strategic Staffing Solutions, , MO, USA
Abstract:The analysis of two‐way contingency tables is common in clinical studies. In addition to summary counts and percentages, statistical tests or summary measures are often desired. If the data can be viewed as two categorical measurements on the same experimental unit (matched pair data) then a test of marginal homogeneity may be appropriate. The most common clinical example is the so called ‘shift table’ whereby a quantity is tested for change between two time points. The two principal marginal homogeneity tests are the Stuart Maxwell and Bhapkar tests. At present, SAS software does not compute either test directly (for tables with more than two categories) and a programmatic solution is required. Two examples of programmatic SAS code are found in the current literature. Although accurate in most instances, they fail to produce output for certain tables (‘special cases’). After summarizing the mathematics behind the two tests, a SAS macro is presented, which produces correct output for all tables. Finally, several examples are coded and presented with resultant output. Copyright © 2013 John Wiley & Sons, Ltd.
Keywords:marginal homogeneity  Stuart  Maxwell  Bhapkar  matched pair  generalized McNemar
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号