private void AddParameter(DistributionParameter parameter)
 {
     Dispatcher.UIThread.InvokeAsync(() =>
     {
         DistributionParameters.Add(parameter);
     });
 }
        private void UpdateParameters(double p)
        {
            Dispatcher.UIThread.InvokeAsync(() =>
            {
                DistributionParameters.Clear();
            });

            AddParameter(new DistributionParameter("t, ms", RandomsAlgebraTime?.TotalMilliseconds, MonteCarloTime?.TotalMilliseconds));
            AddParameter(new DistributionParameter("μ", RandomAlgebra?.Mean, MonteCarlo?.Mean));
            AddParameter(new DistributionParameter("σ", RandomAlgebra?.StandardDeviation, MonteCarlo?.StandardDeviation));
            AddParameter(new DistributionParameter("σ²", RandomAlgebra?.Variance, MonteCarlo?.Variance));
            AddParameter(new DistributionParameter("U⁺", RandomAlgebra?.QuantileUpper(p), MonteCarlo?.QuantileUpper(p)));
            AddParameter(new DistributionParameter("U⁻", RandomAlgebra?.QuantileLower(p), MonteCarlo?.QuantileLower(p)));
            AddParameter(new DistributionParameter("γ", RandomAlgebra?.Skewness, MonteCarlo?.Skewness));
            AddParameter(new DistributionParameter("U±", RandomAlgebra?.QuantileRange(p), MonteCarlo?.QuantileRange(p)));
        }