A Permutation F-Test
[Pages:14]9.3 A Permutation F-Test
? The data setup is the same as Friedman's Test. That is, we have k treatments in either b blocks from a RCBD or b subjects from a SRMD.
? Assume ? is the overall mean, i is the ith treatment effect, j is the jth block (subject)
effect, and ij is the random error of the observation. The linear model for a RCBD or
SRMD is
yij = ? + i + j + ij and ij IIDN (0, 2).
(20)
? In the traditional analysis of variance (ANOVA) F -test, we are testing the null hypothesis of equality (no differences) in treatment effects
H0 : 1 = 2 = ? ? ? = k
against the alternative hypothesis
H1 : i = j for some i = j.
That is, if H1 is true, then all treatment effects are not equal. ? To compare k 3 treatment means, the test statistic is
F
=
SStrt/(k - 1) SSE/(N - k)
=
M Strt MSE
where N = kb the total number of observations in the data set.
? The RCBD or SRMD total sum of squares (SStotal) is partitioned into 3 components:
SST otal = SST rt + SSBlock + SSE
? Formulas to calculate SST otal, SST rt and SSBlock are
k
SST otal =
b
yi2j
-
y?2? kb
i=1 j=1
SST rt =
k
yi2? - y?2? b kb
i=1
SSBlock =
b
y?2j - y?2? k kb
j=1
SSE = SST otal - SST rt - SSBlock
where
y?2? is the correction factor. kb
Dot notation: y?? = the sum of all of the responses, yi? = sum of responses for treatment i, and y?j = sum of responses for block j.
? If the residual errors are approximately normally distributed with equal variances, then the test statistic F has an F -distribution with k - 1 degrees of freedom for the numerator and (k - 1)(b - 1) degrees of freedom for the denominator.
? In this case, the experimenter compares the F -statistic to the F [(k - 1)(b - 1)] distribution to determine a p-value for the test.
? However, if the assumptions are violated, (that is, the residual errors are not normally distributed with constant variance), then a permutation F -test may be appropriate.
212
The Steps in the Permutation F -Test (Monte-Carlo Approach)
? Calculate the F -statistic from the original data. Call this Fobs.
? Generate a large number Prep of permutations where observations are permuted within each block. That is, we are randomly permuting the treatments to the observations within blocks .
? For each permutation, calculate the F -statistic.
? Find the proportion of this set of Prep permutation F -statistics that are Fobs. This is the p-value for the Permutation F -test.
R code for Permutation F-Test for RCBD
# RCBD data from Table 4.4.3 (Higgins, page 130)
library(lmPerm)
# Enter vector of responses y ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- section 13 kolmogorov smirnov test
- using the ti 83 84 plus chapter 8 hypothesis testing
- chapter 6 confidence intervals and hypothesis testing
- qm353 business statistics chapter 3
- lecture 5 hypothesis testing in multiple linear regression
- a permutation f test
- sample questions exam 2
- power of a statistical test moresteam
- 11 1 computing the test statistic and p value
- fx 991ex can calculate several one variable statistics
Related searches
- pass a hair follicle test for marijuana
- how is a bone density test done
- how does a bone density test work
- f f f x x
- f a b f a f b
- f x f f x
- f test statistic calculator
- comptia a 901 practice test free
- build a ford f 150
- take a practice sat test online free
- a certification practice test free
- area under a curve f x