Method ao/getKSCValPSD


  getKSCValPSD provides critical value for KStest on the PSD
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: The method provides critical value for KStest on the PSD.
  Critical values are read from look-up tables that are calculated with
  5000 iteration Monte Carlo simulations.
  
  Note that the method has some imortant limitations:
  i)   It works only for BH92 window.
  ii)  Number of samples is limited in the range 50000 - 100.
  iii) Number of averages is limited in the range 0 - 32.
  iv)  Possible confidence values required are 0.5, 0.683, 0.955, 0.99,
       0.997, 0.999.
  v)   It assumes to deal with normalized or white noise spectra. Tthe
       spectrum can be normalized if divied by a smooth model
       representative of its expectation value. I.e. If Sn is the data
       spectrum and S a smooth model, then normS = Sn./S.
       In the case of data vs data test the two spectra must be normalized
       with the same model. Such model has to be representative of the
       expectation value for at least one of the two spectra.
 
  CALL:         For testing data vs model:
                cVal = getKSCValPSD(a1, pl)
  
                For testing data vs data
                cVal = getKSCValPSD(a1, a2, pl)
  
  INPUT:        ai: are frequency series AO containing the PSDs that will
                be tested with the KStest
  
  OUTPUT:       cVal: is the critical vale that should be used in the
                KStest.
 
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
getKSCValPSD
NAVS 0 none Number of averages used in the PSD calculation.

Allowed values are between 0 and 32
CONFIDENCE 0.95499999999999996
  • 0.5
  • 0.68300000000000005
  • 0.95499999999999996
  • 0.98999999999999999
  • 0.997
  • 0.999
Required confidence level.

Allowed values are 0.5, 0.683, 0.955, 0.99, 0.997, 0.999.

Example

plist('NAVS', [0], 'CONFIDENCE', [0.95499999999999996])

back to top back to top

Some information of the method ao/getKSCValPSD are listed below:
Class name ao
Method name getKSCValPSD
Category Signal Processing
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 0
Supported numeric types {'double'}




©LTP Team