T_Mu | R Documentation |
T_Mu
returns the test statistic for an unconditional CMH MS equivalent
test of required degree
. This function is used in the
unconditional_CMH
function.
T_Mu(treatment, response, strata = NULL, degree)
treatment |
a vector of treatment values. |
response |
a vector of response values. |
strata |
a variable defining the strata. |
degree |
the degree assessment required. |
The function returns the test statistic for an unconditional CMH MS
equivalent test of required degree
.
Rayner, J.C.W and Livingston, G. C. (2022). An Introduction to Cochran-Mantel-Haenszel Testing and Nonparametric ANOVA. Wiley.
unconditional_CMH()
attach(job_satisfaction) T_Mu(treatment = income, response = as.numeric(satisfaction), strata = gender, degree = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.