Learn R Programming

ExcessMass (version 1.0.1)

ExcessMass: Excess Mass Calculation and Plots

Description

Implementation of a function which calculates the empirical excess mass for a given \(\lambda\) and given maximal number of modes (excessm). Offering powerful plot features to visualize empirical excess mass (exmsilhouette). This includes the possibility of drawing several plots (with different maximal number of modes / cut off values) in a single graph. Furthermore, plotting the empirical excess mass against lambda is implemented (exmplot).

Arguments

Details

Package: ExcessMass
Type: Package
Version: 1.0.1
Date: 2017-05-17

References

Muller, D. W. and Sawitzki, G., 09.1991, "Excess Mass Estimates and Tests for Multimodality", Journal of the American Statistical Association , Vol. 86, No. 415, pp. 738--746, http://www.jstor.org/stable/2290406

Muller, D. W., 12.1992, "The Excess Mass Approach in Statistics", Beitraege zur Statistik -- StatLab Heidelberg, http://archiv.ub.uni-heidelberg.de/volltextserver/21357/

Examples

Run this code
# NOT RUN {
library(MASS)
attach(geyser)
excessm(duration, lambda=0.2)

x <- rnorm(1000)
exmsilhouette(x, M=2, CutOff=0.5)

mexmsilhouette(duration, CutOff=c(1,2), steps=60)
# }

Run the code above in your browser using DataLab