Tests of marginal homogeneity and special cases
Autor: | Keith Dunnigan |
---|---|
Rok vydání: | 2013 |
Předmět: |
Pharmacology
Statistics and Probability Contingency table Clinical Trials as Topic Models Statistical Time Factors business.industry Experimental Unit Models Theoretical Table (information) Test (assessment) Software Data Interpretation Statistical Statistics Humans Pharmacology (medical) Macro business Categorical variable Statistical hypothesis testing Mathematics |
Zdroj: | Pharmaceutical statistics. 12(4) |
ISSN: | 1539-1612 |
Popis: | 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. |
Databáze: | OpenAIRE |
Externí odkaz: |