Agresti_w_diff: Computes the weighted statistics listed in section 2.3.
Description
Computes weighted contrast of the two margins.
Agresti, A. (1983). Testing marginal homogeneity for ordinal categorical variables.
Biometrics, 39(2), 505-510.
Usage
Agresti_w_diff(w, n)
Value
a list containing
diff: the weighted contrast computed using weights w
sigma_diff: SE(diff)
z_diff: z-score for diff