Learn R Programming

MixStable (version 0.1.0)

plot_fit_vs_true: Plot true vs estimated mixture density

Description

Compares the true mixture density with the estimated one by overlaying both on the histogram of the observed data.

Usage

plot_fit_vs_true(true_params, est_params, data, bins = 100)

Value

NULL (plot is displayed)

Arguments

true_params

List of true mixture components with alpha, beta, gamma, delta, pi.

est_params

List of estimated mixture components.

data

Numeric vector of observations.

bins

Number of histogram bins.