# Does The Signal Have A Gaussian Probability Density?

|The PROB module in DATS for Windows provides, amongst other options, a probability density analysis. Also, the signal generation suite has a module, GENPRB, which generates a classical gaussian probability density curve (and others). How then may these be used to compare the probability density of our measured signal with that of a true Gaussian one. The method is quite straight forward and is a matter of scaling.

A probability density curve is normally drawn with the probability density as the y axis and the signal amplitude as the x axis. For a Gaussian signal the position and scaling of the x axis is determined entirely by the mean and standard deviation of the equivalent time history signal. For reference purposes some people refer to the mean as the dc component. Also, the standard deviation is the same as the rms level for a signal with a zero dc component. If we wish to compare a measured probability density with the theoretical Gaussian probability density then we have to match the means and standard deviations. An example of a theoretical Gaussian probability density curve is shown in Figure 1.

In order to compare the measured data and the theoretical values one’s approach is to first use the Statistics module (STAT) to find and record the mean and standard deviation of the measured signal. In the following example the mean and standard deviation of the measured signal were calculated by STAT as 0.2510 and 0.3984 respectively.

When carrying out probability analyses on measured data, one generally needs quite long signals. Typically, I use around 100,000 data values if I can. Experience also shows that using 101 bins (the “Dalmatian” approach!!) gives a reasonable estimate of the probability density. The region which will be most erratic will be the ‘tails’ of the distribution as there are less extreme values. Because of this it is sometimes useful to limit the analysis range to the equivalent of (mean – 4 * standard deviations) to (mean + 4 * standard deviations).

PROB is then used to get the measured probability density curve. Having found the probability density function of the measured data using PROB then we use the GENPRB module to create the corresponding theoretical distribution. To do this we specify the same mean and standard deviation as found in the measured signal using STAT. Again, it is useful to limit to about ±4 standard deviations which is the usual default.

We now have 2 curves which may be overlayed for a graphical comparison. Alternatively, we may subtract one from the other and then use STAT to find the rms value of the difference curve. This gives a single value which quantifies the difference. In this example it was 0.2037. Figure 2 shows the probability density function of a typical measured Gaussian signal overlaid with the theoretical probability density.

The other method of doing the comparison is essentially the same. Instead of using STAT to find the mean and standard deviation, module NORM is used to reduce the measured signal to zero mean and unit standard deviation. This reduced signal is analysed by PROB to get the probability density using a range of ±4. We now only need one theoretical Gaussian curve for any comparison by computing the theoretical one with zero mean and unity standard deviation. Again, the curves may be compared graphically and by using the rms of the difference. If a report were done it would be useful to include the mean and standard deviation of the original signal as well as the normalised rms difference. This is shown in Figure 3 below.

Signal | Mean | Std Dev | RMS Difference |
---|---|---|---|

Probability Density | 0.251 | 0.3984 | 0.00465 |

As shown in Table 1 above the rms difference between the normalised results is very small.

#### Dr Colin Mercer

#### Latest posts by Dr Colin Mercer (see all)

- Is That Tone Significant? – The Prominence Ratio - September 18, 2013
- A Guide To Digital Filtering - June 4, 2013
- Wide Band Integrators – What Are They? - June 15, 2012

Dear Dr.Colin Mercer,

I am able to understand the Gaussian concepts in signal and also tried this with prosig Dats. But I really dont know any application (in NVH) where the signals will be Non Gaussian. Can you please specify some examples for this?

Bala

Whilst many signals in NVH are reasonably treated as Guassian there are instances where this is not so. There are signals such as a tachometer set of pulses which may be used to deduce torsional vibration. Then there are those that are produced by a ‘rattle’ or ‘squeak’ where amplitudes are constrained. Forces in rotating wheels and tyre noise are often not Gaussian. some of these are Rayleigh probability.

Respected Dr. Colin Mercer,

I work on lasers. Is there any fast method to find out which probability function the laser signal is following? or do i have have to assume different probability functions and compare it with my signal?

cannot visualisze blog images in chrome or Edge

Hello Georges. Thanks for letting us know. Some images had been moved and so the link was broken. Correct images now replaced.