Learn R Programming

MixStable (version 0.1.0)

validate_params: Validate and clip parameters for stable distribution

Description

Ensures parameters are within valid bounds for stable distribution computations.

Usage

validate_params(alpha, beta, delta, r = NULL)

Value

Clipped beta value.

Arguments

alpha

Stability parameter (must be > 0 and < 2).

beta

Skewness parameter (clipped to [-1, 1]).

delta

Scale parameter (must be > 0).

r

Optional numeric vector. Must be positive if provided.