dcmgnd {cmgnd}R Documentation

Marginal Density Estimation for CMGND Models

Description

This function estimates the marginal density for univariate constrained mixture of generalized normal distribution (CMGND) models.

Usage

dcmgnd(x, parameters)

Arguments

x

A numeric vector representing the observed data points.

parameters

A matrix or data.frame containing the parameters of the CMGND model. This can also be an object returned from the 'cmgnd()' function, representing a previously estimated CMGND model.

Details

The function computes the marginal density based on the provided parameters of the CMGND model. It can handle both newly supplied parameters or those extracted from an existing CMGND model object.

Value

A vector of density estimates corresponding to the input data 'x'.

See Also

'cmgnd()' for estimating the model parameters.


[Package cmgnd version 0.1.1 Index]