Learn R Programming

MixStable (version 0.1.0)

simulate_mixture: Simulate mixture data from alpha-stable components

Description

Generates synthetic data from a mixture of alpha-stable distributions using specified weights and parameters.

Usage

simulate_mixture(n, weights, params)

Value

Numeric vector of simulated samples.

Arguments

n

Number of samples to generate.

weights

Vector of mixture weights.

params

List of parameter sets for each component (each with alpha, beta, gamma, delta).