momodem: Method of mode estimate of a Bernstein polynomial model...

View source: R/mable.r

momodemR Documentation

Method of mode estimate of a Bernstein polynomial model degree

Description

Select a Bernstein polynomial model degree for density on [0,1] based on mode(s) used as an initial guess for the iterative method of moment of choosing the model degree

Usage

momodem(modes, x)

Arguments

modes

a list containing z, a vector of the known or estimated locations of modes, ufz, a vector of upper confidence limits of density values at modes, and fz, a vector of estimated density values at modes by ks::kde or multimode::locmodes()

x

a vector sample values

Value

A list with components

  • mode a vector of modes

  • nmod the number of modes in mode

  • m the method of mode estimate of degree

  • lam a vector of rough estimates of the mixing proportions

Author(s)

Zhong Guan <zguan@iusb.edu>


mable documentation built on Aug. 24, 2023, 5:10 p.m.