Product Documentation
Virtuoso Visualization and Analysis XL SKILL Reference
Product Version IC23.1, November 2023

normalQQPValue

normalQQPValue(
o_waveform
)
=> n_pValue / nil

Description

Returns the p-value of a quantile-quantile (QQ) plot.

A QQ plot draws the correlation between a given sample and the normal distribution.

A small p-value indicates that the distribution is unlikely to be normal, while a large p-value indicates that the distribution is close to normal.

Arguments

o_waveform

Waveform representing the QQ plot whose p-value is to be calculated.

Value Returned

n_pValue

The p-value of the QQ plot.

nil

The p-value cannot be calculated because of an error.

Examples

The following example opens simulation results stored in the specified directory.

openResults("/servers/user/distribution.psf")
=> "/servers/user/distribution.psf"

The following example lists the results contained in the results directory.

results()
=> ("tran")

The following example selects the tran results of the results directory.

selectResults('tran)
=> stdobj@0x2a9de759

The following example creates a waveform object for the signal v3net stored in the tran results.

waveform=v("v3net")
=> srrWave:0x3232c030

The following example calculates the p-value of the specified waveform.

normalQQPValue(waveform)
=> 0.7149


Return to top
 ⠀
X