
Last chance! 50% off unlimited learning
Sale ends in
An internal function that calculates the RSCABS or SCABS test statistic with the associated p-value.
RSCABK(x.i.j, n.i.j, m.i, TestK, test.type)
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 kth severity score being 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.
Returns a list with the following values:
The endpoint that is being tested.
The treatment level.
The severity score from the histology.
The test statistic corresponding to that row's endpoint treatment level and R-Score.
The corresponding p-value
The significance flag where "." is a p-value > 0.05, "*" is a 0.01 < p-value <= 0.05, "**" for 0.001 < p-value <= 0.01, and "***" for p-value <= 0.001.