and internal function that performs the step down aspect of RSCABS.
stepDownRSCABS(TestK, x.i.j, n.i.j, m.i, Effect, test.type)
The severity score being tested
Matrix containing the number of observed "successes" for replicate i on treatment j.
Matrix containing the number of observations for replicate i on treatment j.
Matrix of number units in each treatment/replicate combination.
The the end point to be tested.
Indicate the type of analysis to be performed. Use "RS" to select the Rao-Scott adjustment to the Cochran-Armitage test and "CA" to ignore the adjustment.
An intermediary result.