rSDev: Relative simplicial deviance

Description Usage Arguments Value Author(s) References Examples

View source: R/rSDev.R

Description

Relative simplicial deviance

Usage

1
rSDev(x, y)

Arguments

x

a propability table

y

an interaction table

Value

The relative simplicial deviance

Author(s)

Matthias Templ

References

Egozcue, J.J., Pawlowsky-Glahn, V., Templ, M., Hron, K. (2015) Independence in contingency tables using simplicial geometry. Communications in Statistics - Theory and Methods, 44 (18), 3978–3996.

Examples

1
2
3
4
5
data(precipitation) 
tabprob <- prop.table(precipitation)
tabind <- indTab(precipitation)
tabint <- intTab(tabprob, tabind)
rSDev(tabprob, tabint$intTab)

robCompositions documentation built on Jan. 13, 2021, 10:07 p.m.