R Under development (unstable) (2025-09-25 r88874 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # Clean environment and load libraries > rm(list = ls()) # Clear environment to avoid conflicts > > # Source files > library(MixStable) Attaching package: 'MixStable' The following object is masked from 'package:graphics': clip > > # 📊 Generate synthetic data > data <- rstable(1000, alpha = 1.5, beta = 0.5, 1.2, 2.0) > > # 🔁 Run Gibbs sampling > gibbs_result <- mock_gibbs_sampling(data, n_samples = 200, verbose = TRUE) Best Gibbs+MLE Log-Likelihood: -2353.8 There were 50 or more warnings (use warnings() to see the first 50) > > # 📋 Display best parameters > print(gibbs_result$best_params) [1] 0.6166014 1.5086617 0.9549748 1.4271486 2.4034881 1.4155701 0.3661545 [8] 1.6411433 4.5808383 > > proc.time() user system elapsed 517.50 5.37 522.87