erfinvGauss

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 5.0, Creation date: 2021-01-14, Last change: 2025-09-15

returns the inverse error fnct for the Gaussian distribution

Description

Values for x make only sense between 0 and 1

See Also: meanGauss , erfGauss

Example Illustration

 missing image of erfinvGauss(x)

Syntax

y=erfinvGauss(x)

Input Parameter

x: probability

Output Parameter

y: sigma value

Examples


erfinvGauss(0.01) % sigma for 1 percent




Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This function, erfinvGauss, calculates the inverse error function for the Gaussian distribution. It is part of the SolidGeometry library and was introduced by Tim Lueth in 2021.

Input Parameters

Output Results

Algorithm Explanation

The function computes the inverse error function for a Gaussian distribution using the following steps:

  1. Calculate the inverse error function using the formula: y = sqrt(2) * erfinv(2 * x - 1). This formula transforms the input probability x into a sigma value y.
  2. Determine the minimum value between 1e-3 and x, storing it in xmin.
  3. If no output is requested (i.e., nargout == 0), the function proceeds to plot the results:

Example

To find the sigma value for a 1% probability, use the function call: erfinvGauss(0.01).

Algorithm explaination created using ChatGPT on 2025-08-19 00:21. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21