Learn R Programming

MNM (version 0.95-0)

mv.shape.test: Test for Sphericity

Description

Test for sphericity based on different score functions.

Usage

mv.shape.test(X, score = "identity", location = "est",
              na.action = na.fail, ...)

Arguments

Value

  • A list with class 'htest' containing the following components:
  • statisticthe value of the test statistic.
  • parameterthe degrees of freedom for the test statistic or the number of replications in the simulation.
  • p.valuethe p-value for the test.
  • methoda character string indicating what type of test was performed.
  • data.namea character string giving the name of the data used.

Details

Note that here inner standardization is not logical. The rank score test is not implemented. Otherwise the tests are as described in chapter 9 of the MNM book. To test for other "shapes" than sperical, transform the data accordingly and then test for spericity.

References

Oja, H. (2010), Multivariate Nonparametric Methods with R, Springer.

See Also

sr.sphere.test

Examples

Run this code
X <- rmvt(150,diag(1,3))
mv.shape.test(X)
mv.shape.test(X,"sym")

Run the code above in your browser using DataLab