# Mean absolute odds ratiologmult::maor(tab, weighting ="uniform")
[1] 1.695377
logmult::maor(tab10, weighting ="uniform")
[1] 1.695377
logmult::maor(tab_merge, weighting ="uniform")
1 2
1.695377 1.695377
ただし周辺重み付けをすれば値は異なる場合もある.
# intrinsic association coefficientlogmult::iac(tab, weighting ="marginal")
[1] 0.1773414
logmult::iac(tab10, weighting ="marginal")
[1] 0.1182336
# Mean absolute odds ratiologmult::maor(tab, weighting ="marginal")
[1] 1.577478
logmult::maor(tab10, weighting ="marginal")
[1] 1.636068
練習問題
occupationalStatus
参考文献
Bouchet-Valat, Milan. 2022. “General Marginal-free Association Indices for Contingency Tables: From the Altham Index to the Intrinsic Association Coefficient.”Sociological Methods & Research 51 (1): 203–36. https://doi.org/10.1177/0049124119852389.
Zhou, Xiang. 2015. “Shrinkage Estimation of Log-odds Ratios for Comparing Mobility Tables.”Sociological Methodology 45 (1): 320–56. https://doi.org/10.1177/0081175015570097.