Learn R Programming

MixStable (version 0.1.0)

plot_mixture: Plot mixture of two alpha-stable distributions

Description

Plots the histogram of data and overlays the estimated mixture density and its components.

Usage

plot_mixture(data, params1, params2, w, label = "EM")

Value

NULL (plot is saved as PNG)

Arguments

data

Numeric vector of observations.

params1

Vector of parameters for component 1 (alpha, beta, gamma, delta).

params2

Vector of parameters for component 2.

w

Mixing weight for component 1.

label

Optional label for output file.