Skip to contents

Rao-Scott corrections and the Thomas-Rao F test

Usage

RaoScott(statistic, deltas, kappa = NULL)

Arguments

statistic

Pearson or LRT statistic.

deltas

Generalized design effects.

kappa

Degrees of freedom of the variance estimate (for the F test).

Value

list(rs1, rs1_df, rs1_p, rs2, rs2_df, rs2_p, f_tr, f_df, f_p, d_bar, c2).

References

Bilder, C. R. & Loughin, T. M. (2025). Analysis of Categorical Data with R, 2nd ed. Sec 6.3, eq (6.12).

Examples

RaoScott(10, c(2, 2))$rs1
#> [1] 5