O'Reilly logo

Adaptive Tests of Significance Using Permutations of Residuals with R and SAS by Thomas W. O'Gorman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

MORE APPLICATIONS OF ADAPTIVE TESTS

The general adaptive testing procedure that we described in the last chapter for the multiple regression problem can be used to perform a test of significance for any subset of coefficients in a linear model containing fixed effects. In this chapter we show how an adaptive approach could be used in most of the common testing situations to increase the power of the tests. We will analyze data from a one-way layout, a randomized complete block design, and a two-way layout. We will also show how the residuals can be permuted within blocks in a design that uses blocking. For each of these applications we will give the R and SAS code to perform the test.

6.1 THE COMPLETELY RANDOMIZED DESIGN

6.1.1 Model Specification

In this section we will describe the adaptive test for group effect in a completely randomized design having one factor with g levels. This is the standard one-way layout with nj observations at level j. The model can be specified as

images

for i = 1,…, n, where

images

Other parameterizations of the model could be used. With this parameterization the mean of the gth level is the intercept. To determine if any of the level means are different from any of the other treatment means, we will test H0 : β1 = β2 = … = βg−1 = 0 against the alternative ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required