
Fit SPD Transformation for a Single Series
fit_spd_transform.RdFits a Semi-Parametric Distribution and computes PIT values. SPD combines:
Parametric tails from the fitted univariate distribution
Kernel-smoothed empirical distribution in the center
Usage
fit_spd_transform(
z,
uni_fit = NULL,
dist_pars = NULL,
lower_threshold = 0.1,
upper_threshold = 0.9
)