Learn R Programming

Compositional (version 2.0)

Log-likelihood ratio test for a symmetric Dirichlet distribution: Log-likelihood ratio test for a symmetric Dirichlet distribution

Description

Log-likelihood ratio test for a symmetric Dirichlet distribution.

Usage

sym.test(x)

Arguments

x
A matrix with the compositional data. No zero values are allowed.

Value

A list including:

Details

Log-likelihood ratio test is performed for the hypothesis that all Dirichelt parameters are equal.

References

Ng Kai Wang, Guo-Liang Tian and Man-Lai Tang (2011). Dirichlet and related distributions: Theory, methods and applications. John Wiley & Sons.

See Also

diri.nr, diri.est, rdiri, dirimean.test

Examples

Run this code
x <- rdiri( 100, c(5, 7, 1, 3, 10, 2, 4) )
sym.test(x)
x <- rdiri( 100, c(5, 5, 5, 5, 5) )
sym.test(x)

Run the code above in your browser using DataLab