Abstract:
A method and apparatus are provided for automatically characterizing the spatial arrangement among the data points of a time series distribution in a data processing system wherein the classification of said time series distribution is required. The method and apparatus utilize a grid in Cartesian coordinates to determine (1) the number of cells in the grid containing at least-one input data point of the time series distribution; (2) the expected number of cells which would contain at least one data point in a random distribution in said grid; and (3) an upper and lower probability of false alarm above and below said expected value utilizing a discrete binomial probability relationship in order to analyze the randomness characteristic of the input time series distribution. A labeling device also is provided to label the time series distribution as either random or nonrandom, and/or random or nonrandom.

Description:
STATEMENT OF GOVERNMENT INTEREST 
     The invention described herein may be manufactured and used by or for the Government of the United States of America for Governmental purposes without the payment of any royalties thereon or therefore. 
    
    
     BACKGROUND OF THE INVENTION 
     (1) Field of the Invention 
     The invention generally relates to signal processing/data processing systems for processing time series distributions containing a small number of data points (e.g., less than about ten (10) to fifteen (15) data points). More particularly, the invention relates to a method and apparatus for classifying the white noise degree (randomness) of a selected signal structure comprising a time series distribution composed of a highly sparse data set. As used herein, the term “random” (or “randomness”) is defined in terms of a “random process” as measured by the probability distribution model used, namely a nearest-neighbor stochastic (Poisson) process. Thus, pure randomness, pragmatically speaking, is herein considered to be a time series distribution for which no function, mapping or relation can be constituted that provides meaningful insight into the underlying structure of the distribution, but which at the same time is not chaos. 
     (2) Description of the Prior Art 
     Recent research has revealed a critical need for highly sparse data set time distribution analysis methods and apparatus separate and apart from those adapted for treating large sample distributions. This is particularly the case in applications such as naval sonar systems which require that input time series signal distributions be classified according to their structure, i.e., periodic, transient, random or chaotic. It is well known that large sample methods often fail when applied to small sample distributions, but that the same is not necessarily true for small sample methods applied to large data sets. 
     Very small data set distributions may be defined as those with less than about ten (10) to fifteen (15) measurement (data) points. Such data sets can be analyzed mathematically with certain nonparametric discrete probability distributions, as opposed to large-sample methods which normally employ continuous probability distributions (such as the Gaussian). 
     The probability theory discussed herein and utilized by the present invention is well known. It may be found, for example, in works such as P. J. Hoel et al.,  Introduction to the Theory of Probability , Houghton-Mifflin, Boston, Mass., 1971, which is hereby incorporated herein by reference. 
     Also, as will appear more fully below, it has been found to be important to treat white noise signals themselves as the time series signal distribution to be analyzed, and to identify the characteristics of that distribution separately. This aids in the detection and appropriate processing of received signals in numerous data acquisition contexts, not the least of which include naval sonar applications. Accordingly, it will be understood that prior analysis methods and apparatus analyze received time series data distributions from the point of view of attempting to find patterns or some other type of correlated data therein. Once such a pattern or correlation is located, the remainder of the distribution is simply discarded as being noise. It is believed that the present invention will be useful in enhancing the sensitivity of present analysis methods, as well as being useful on its own. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is an object of the invention to provide a method and apparatus including an automated measurement of the spatial arrangement among a very small number of points, object, measurements or the like whereby an ascertainment of the noise degree (i.e., randomness) of the time series distribution may be made. 
     It also is an object of the invention to provide a method and apparatus useful in naval sonar systems which require acquired signal distributions to be classified according to their structure (i.e., periodic, transient, random, or chaotic) in the processing and use of those acquired signal distributions as indications of how and from where they were originally generated. 
     Further, it is an object of the invention to provide a method and apparatus capable of labeling a time series distribution with (1) an indication as to whether or not it is random in structure, and (2) an indication as to whether or not it is random within a probability of false alarm of a specific randomness calculation. 
     With the above and other objects in view, as will hereinafter more fully appear, a feature of the invention is the provision of a random process detection method and subsystem for use in a naval sonar signal processing/data processing system. In a preferred embodiment, the random process (white noise) detection subsystem includes an input for receiving a time series distribution of data points expressed in Cartesian coordinates. This set of data points will be characterized by no more than a maximum number of points having a value (amplitude) between a maximum and a minimum value received within a preselected time interval. A hypothetical representation of a white noise time series signal distribution in Cartesian space is illustratively shown in FIG.  1 . The invention is specifically adapted to analyze both selected portions of such time series distributions, and the entirety of the distribution depending upon the sensitivity of the randomness determination which is required in any particular instance. 
     The input time series distribution of data points is received by a display/operating system adapted to accommodate a pre-selected number of data points N having a value (amplitude for sonar signals and the like) within certain limits within a pre-selected time interval. The display/operating system then creates a virtual window around the input data distribution, and divides the geometric area of the virtual window into a grid consisting of cells each having the same geometric shape and an equal enclosed area. Ideally, the grid fills the entire area of the window, but if it does not, the unfilled portion of the window is disregarded in the randomness determination. 
     An analysis device then examines each cell to determine whether or not one or more of the data points of the input time series distribution is located therein. Thereafter, a counter calculates the number of occupied cells. Also, the number of cells which would be expected to be occupied in the grid for a totally random distribution is predicted by a computer device according to known Poisson probability process theory equations. In addition, the statistical bounds of the predicted value are calculated based upon known discrete binomial criteria. 
     A comparator is then used to determine whether or not the actual number of occupied cells in the input time series distribution is the same as the predicted number of cells for a random distribution. If it is, the input time series distribution is characterized as random. If it is not, the input time series distribution is characterized as nonrandom. 
     Thereafter, the characterized time series distribution is labeled as random or nonrandom, and/or as random or nonrandom within a pre-selected probability rate of the expected randomness value prior to being output back to the remainder of the data processing system. In the naval sonar signal processing context, this output either alone, or in combination with overlapping similarly characterized time series signal distributions, will be used to determine whether or not a particular group of signals is white noise. If that group of signals is white noise, it commonly will be deleted from further data processing. Hence, it is contemplated that the present invention, which is not distribution dependent in its analysis as most prior art methods of signal analysis are, will be useful as a filter or otherwise in conjunction with current data processing methods and equipment. 
     In the above regards, it should be understood that the statistical bounds of the predicted number of occupied cells in a random distribution (including cells occupied by mere chance) mentioned above may be determined by a second calculator device using a so-called probability of false alarm rate. In this case, the actual number of occupied cells is compared with the number of cells falling within the statistical boundaries of the predicted number of occupied cells for a random distribution in making the randomness determination. This alternative embodiment of the invention has been found to increase the probability of being correct in making a randomness determination for any particular time series distribution of data points by as much as 60%. 
     The above and other novel features and advantages of the invention, including various novel details of construction and combination of parts will now be more particularly described with reference to the accompanying drawings and pointed out by the claims. It will be understood that the particular device and method embodying the invention is shown and described herein by way of illustration only, and not as limitations on the invention. The principles and features of the invention may be employed in numerous embodiments without departing from the scope of the invention in its broadest aspects. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Reference is made to the accompanying drawings in which is shown an illustrative embodiment of the apparatus and method of the invention, from which its novel features and advantages will be apparent to those skilled in the art, and wherein: 
     FIG. 1 is a hypothetical depiction in Cartesian coordinates of a representative white noise (random) time series signal distribution; 
     FIG. 2 is a hypothetical illustrative representation of a virtual window in accordance with the invention divided into a grid of square cells each having a side of length δ, and an area of δ 2 ; 
     FIG. 3 is a block diagram representatively illustrating the method steps of the invention; 
     FIG. 4 is a block diagram representatively illustrating an apparatus in accordance with the invention; and 
     FIG. 5 is a table showing an illustrative set of discrete binomial probabilities for the randomness of each possible number of occupied cells of a particular time series distribution within a specific probability of false alarm rate of the expected randomness number. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring now to the drawings, a preferred embodiment of the method and apparatus of the invention will be presented first from a theoretical perspective, and thereafter, in terms of a specific example. In this regard, it is to be understood that all data points are herein assumed to be expressed and operated upon by the various apparatus components in a Cartesian coordinate system. Accordingly, all measurement, signal and other data input existing in terms of other coordinate systems is assumed to have been re-expressed in a Cartesian coordinate system prior to its input into the inventive apparatus or the application of the inventive method thereto. 
     The invention starts from the preset capability of a display/operating system  8  (FIG. 4) to accommodate a set number of data points N in a given time interval ≅t. The value (amplitude) of each data point in each time series distribution falls within limits which may be expressed as ≅Y=max (Y)−min (Y). A representation of a time series distribution of random sonar input data points  4  is shown in FIG. 1. A subset of this overall time series data distribution would normally be selected for analysis of its signal component distribution by this invention. 
     For purposes of mathematical analysis of the signal components, it is assumed that the product/quantity given by ≅t*ΔY=[max(t)−min(t)]*[max(Y)−min(Y)] will define the window “geometric area” with respect to the quantities in the analysis subsystem. The sides of the ≅t*ΔY window are drawn parallel to the time axis and amplitude axis, respectively, although other window shapes may be employed (such as a convex polygon) without departure from the invention in its broadest aspects. Then, for substantially the total area of the display region, a Cartesian partition is superimposed on the region with each partition being a small square of side δ (see, FIG.  2 ). The measure of δ will be defined herein as: 
     
       
         δ=(Δ t*ΔY/k ) ½   
       
     
     The quantity k represents the total number of small squares each of area δ 2  created in the area ≅t*ΔY. Incomplete squares  6  are ignored in the analysis. The quantity of such squares which it is desired to occupy with at least one data point from an input time series distribution is determined using the following relationship wherein N is the maximum number of data points in the time series distribution, ≅t and ΔY are the Cartesian axis lengths, and the side lengths of each of the squares is δ: 
     
       
           K   I =int(Δ t/δ   I )*int(Δ Y/δ   I ) 
       
     
     where int is the integer operator, 
     δ I =[(Δt*ΔY)/k o ], and 
     k o =k 1  if |N−k 1 |≦|N−k 2 | or 
     =k 2  otherwise 
     where 
     k 1 =[int(N ½ )] 2    
     k 2 =[int(N ½ )+1] 2    
     k II =int(Δt/δ II )*int(ΔY/δ II ) 
     where 
     δ II =[(Δt*ΔY)/N] 
     ∴k=k I  if K I &gt;K II    
      k=k II  if K I &lt;K II    
      k=max(k I , k II ) if K I =K II    
     where 
      K I =δ I   2 k I /(Δt·ΔY)≦1 and 
      K II =δ II   2 k II /(Δt·ΔY)≦1 
     In cases with very small amplitudes, it may occur that int(ΔY/δ I )≦1 or int(ΔY/δ II )≦1. In such cases, the solution is to round off either quantity to the next highest value (i.e., ≧2). This weakens the theoretical approach, but it allows for practical measurements to be made. 
     Thus, for example, if Δt (or N)=30, and ΔY=20, then k=24 and δ=5.0. Accordingly, k*δ 2 =24*25=600=≅t*ΔY. In essence, therefore, the above relation defining the value k selects the number of squares of length δ and area δ 2  which fill up the total space ≅t*ΔY to the greatest extent possible (i.e., ideally k*δ 2 =≅t*ΔY). 
     From the selected partitioning parameter k, the region (area) ≅t*ΔY is carved up into k squares with the length of each square being δ as defined above. In other words, the horizontal (or time) axis is marked off into intervals, exactly int(Δt/δ) of them, so that the time axis has the following arithmetic sequence of cuts (assuming that the time clock starts at Δt=0): 
     
       
         0, δ, 2δ, . . . , int (Δ t /δ)*δ 
       
     
     Likewise, the vertical (or measurement or amplitude) axis is cut up into intervals, exactly int(ΔY/δ) of them, so that the vertical axis has the following arithmetic sequence of cuts: 
      min( Y ), min( Y )+δ, . . . , min( Y )+int(Δ Y /δ)*δ=max( Y ), 
     where min is the minimum operator and δ is defined as above. 
     Based on the Poisson point process theory for a measurement set of data in a time interval Δt of measurement magnitude ΔY, that data set is considered to be purely random (or “white noise”) if the number of partitions k are nonempty (i.e., contain at least one data point of the time series distribution thereof under analysis) to a specified degree. The expected number of nonempty partitions in a random distribution is given by the relationship: 
     
       
           k*Θ=k *(1 −e   −N/k ) 
       
     
     where the quantity Θ is the expected proportion of nonempty partitions in a random distribution and N/k is “the parameter of the spatial Poisson process” corresponding to the average number of points observed across all subspace partitions. 
     The boundary, above and below k*Θ, attributable to random variation and controlled by a false alarm rate is the so-called “critical region” of the test. The quantity Θ not only represents (a) the expected proportion of nonempty partitions in a random distribution, but also (b) the probability that one or more of the k partitions is occupied by pure chance, as is well known to those in the art. The boundaries of the random process are determined in the following way. 
     Let M be a random variable representing the integer number of occupied cells (partitions) as illustratively shown in FIG.  2 . Let m be an integer (sample) representation of M. Let m 1  be the quantity forming the lower random boundary of the statistic k*Θ given by the binomial criterion: 
     
       
           P ( M≦m )≦α 0 /2,min(α/2−α 0 /2) 
       
     
     where, 
     P(M≦m)=ΣB(m;k,Θ) from m=0 to m=m 1 , and 
     k and Θ are defined as above. 
     B(m;k,Θ) is the binomial probability function given as: 
     
       
           B ( m;k ,Θ)=( k,m )(Θ) m (1−Θ) k−m   
       
     
     where (k,m) is the binomial coefficient, (k,m)=k!/m!(k−m)! 
     and ΣB(m;k,Θ) from m=0 to m=k equals 1.0. 
     The quantity α 0  is the probability of coming closest to an exact value of the pre-specified false alarm probability α, and m 1  is the largest value of m such that P(M≦m)≦α 0 /2. It is an objective of this method to minimize the difference between a and α 0 . The recommended values of α (the probability false alarm rate) for differing values of spatial subsets k are as follows: 
     If k&gt;25, the α=0.01; 
     If 5≦k≦25, then α=0.05; and 
     If k&lt;5, then α=0.10 
     The upper boundary of the random process is called m 2 , and is determined in a manner similar to the determination of m 1 . 
     Thus, let m 2  be the upper random boundary of the statistic k*Θ given by: 
     
       
           P ( M≧m )≦α 0 /2,min(α/2−α 0 /2) 
       
     
     where          P        (     M   ≥   m     )       =         ∑     m   =     m   2       k                     B        (       m   ;   k     ,   Θ     )         ≤       α   o     /   2                              
     or          P        (     M   ≥   m     )       =       1   -       ∑     m   =   0       m   2                       B        (       m   ;   k     ,   Θ     )           ≤       α   o     /   2                              
     α 0  is the probability of coming closest to an exact value of the pre-specified false alarm probability α, and m 2  is the largest value of m such that P(M≧m)≦α 0 /2. It is an objective of the invention to minimize the difference between α and α. 
     Hence, the subsystem determines if the signal structure contains m points within the “critical region” warranting a determination of “random”. 
     The subsystem also assesses the random process hypothesis by testing: 
     H 0 :{overscore (P)}=Θ (Noise) 
     H 1 :{overscore (P)}≠Θ (Signal+Noise) 
     Where {overscore (P)}=m/k is the sample proportion of signal points contained in the k subregion partitions expected to be occupied by a truly random (stochastic) spatial distribution. As noted above, FIG. 1 shows what a hypothetical white noise (random) distribution looks like in Cartesian time-space. 
     Thus, if Θ≈{overscore (P)}=m/k, the observed distribution conforms to a random distribution corresponding to “white noise”. 
     The estimate for the proportion of k cells occupied by N measurements ({overscore (P)}) is developed in the following manner. Let each of the k cells of length δ be denoted by C ij  and the number of objects observed in each C ij  cell be denoted card(C ij ) where card means “cardinality” or subset count. C ij  is labeled from left to right starting at the lower left-hand corner C 11 , C 12 , . . . , C 46  (see FIG.  2 ). 
     Next to continue the example for k=24 shown in FIG. 2, define the following count quantity for the 6×4 partition comprising whole square subsets: 
     X ij =1 if card(C ij )&gt;0; i=1 to 4, j=1 to 6 
     X ij =0 if card(C ij )=0; i=1 to 4, j=1 to 6 
     where card is the cardinality or count operator. X ij  is a dichotomous variable taking on the individual values of 1 if a cell C ij  has one or more objects present, and a value of 0 if the box is empty. 
     Then calculate the proportion of 24 cells occupied in the partition region: 
       {overscore (P)} =1/24 ΣΣX   ij   
     where the sums are taken from j=1 to 6 and i=1 to 4, respectively. 
     The generalization of this example to any sized table is obvious, and within the scope of the present invention. For the general case, it will be appreciated that, for the statistics X ij  and C ij  the index j runs from 1 to int(Δt/δ) and the index i runs from 1 to int(ΔY/δ). 
     In addition, another measure useful in the interpretation of outcomes is the R ratio, defined as the ratio of observed to expected occupancy rates: 
     
       
           R=m /( k *Θ)= {overscore (P)}/Θ   
       
     
     The range of values for R indicate: 
     R&lt;1, clustered distribution 
     R=1, random distribution; and 
     R&gt;1, uniform distribution. 
     In actuality, R may never have a precise value of 1. Therefore the data is considered random when R j−1 ≧Rj≧R j+1  where R j =1−R i . This formulation thus provides a range for randomness for R statistics within those bounds. The R statistic may be used in conjunction with the formulation just described involving the binomial probability distribution and false alarm rate in deciding to accept or reject the “white noise” hypothesis—or it may be used as the sole determinant. In summary, operators may find the role of the R statistic to be more intuitively useful. Intelligent operators will always employ a plot of time series and its amplitude, in order to eliminate the obvious situations of a “perfect” functional or relational form being analyzed which can be easily seen to be nonrandom, but which computationally may be concluded to be random. 
     EXAMPLE 
     Having thus explained the theory of the invention, an example thereof will now be presented for purposes of further illustration and understanding (see, FIGS.  3  and  4 ). A value for N is first selected, here N=30 (step  100 , FIG.  3 ). A time series distribution of data points is then read into a display/operating subsystem  8  adapted to accommodate a data set of size N from data processing system  10  (step  102 ). Thereafter, the absolute value of the difference between the largest and the smallest data points ΔY is determined by a first comparator device  12  (step  104 ). In this example, it will be assumed that N=Δt=30 measurements with a measured amplitude of ΔY=20 units. The N and ΔY values are then used by window creating device  14  to create a virtual window in the display/operating system enclosing the input time series distribution, the size of the window so created being Δt*Δy=600 (step  106 ). 
     Thereafter, as described above, the virtual window is divided by the window creating device  14  into a plurality k of cells C ij  (see FIG.  4 ), each cell having the same geometric shape and enclosing an equal area so as to substantially fill the virtual window containing the input time series distribution set of data points (step  108 ). The value of k is established by the relation: 
     
       
           k =int(Δ t /δ)*int(Δ Y /δ)=6*4=24 
       
     
     
       
         δ=(Δ t*ΔY )/ k =5.0 
       
     
     Thus, the 600 square unit space of the virtual window is partitioned into 24 cells of side 5.0 so that the whole space is filled (k*δ 2 =600). The time-axis arithmetic sequence of cuts are: 0, 5, . . . , int(Δt/δ)*δ=30. The amplitude axis cuts are: min(Y), min(Y)+δ, . . . , min(Y)+int(ΔY/δ)*δ=max(Y) 
     Next, the probability false alarm rate is set at step  110  according to the value of k as discussed above. More particularly, in this case α=0.01, and the probability of a false alarm within the critical region is α/2=0.005. 
     The randomness count is then calculated by first computing device  16  at step  112  according to the relation k*Θ=k*(1−e −N/k ) which in this example equals 0.713. Therefore, the number of cells expected to be nonempty in this example if the input time series distribution is random is about 17. 
     The binomial distribution discussed above is then calculated by a second computing device  18  according to the relationships discussed above (step  114 , FIG.  3 ). Representative values for this distribution are shown in FIG. 5 for each number of possible occupied cells m. 
     The upper and lower randomness boundaries then are determined, also by second calculating device  18 . Specifically, the lower boundary is calculated using m 1  from FIG. 5 (step  116 ). Then, computing the binomial probabilities results in P(M≦10)=0.0025. Thus, the lower bound is m 1  10. FIG. 5 also shows the probabilities for Θ=0.713, k=24. 
     The upper boundary, on the other hand, is the randomness boundary m 2  from the criterion P(M≧m)≦α 0 /2. Computing the binomial probabilities gives P(M≧23)=0.0032; hence m 2 =23 is taken as the upper bound (step  118 ). The probabilities necessary for this calculation also are shown in FIG.  5 . 
     Therefore, the critical region is defined in this example as m 1 ≦10, and m 2 ≧23 (step  120 ). 
     The actual number of cells containing one or more data points of the time series distribution determined by analysis/counter device  20  (step  122 , FIG. 3) is then used by divider  22  and a second comparator  24  in the determination of the randomness of the distribution (step  124 , FIG.  3 ). Specifically, using m=16 as an example, it will be seen that {overscore (P)}=m/k=0.667, and that R={overscore (P)}/Θ=0.667/0.713=0.93. This value is close to the randomness boundary without consideration of the discrete binomial probability calculations discussed above. It is also worth noting in this regard that the total probability is 0.0023+0.0032=0.0055, which is the probability of being wrong in deciding “random”. This value is less than the probability of a false alarm. Thus, the actual protection against an incorrect decision is much higher (by about 45%) than the a priori sampling plan specified. 
     Since m=16 falls inside of the critical region, i.e., m 1 ≦16≦m 2 , the decision is that the data represent an essentially white noise distribution (step  126 ). Accordingly, the distribution is labeled at step  128  by the labeling device  26  as a noise distribution, and transferred back to the data processing system  10  for further processing. In the naval sonar situation, a signal distribution labeled as white noise would be discarded by the processing system, but in some situations a further analysis of the white noise nature of the distribution would be possible. Similarly, the invention is contemplated to be useful as an improvement on systems which look for patterns and correlations among data points. For example, overlapping time series distributions might be analyzed in order to determine where a meaningful signal begins and ends. 
     It will be understood that many additional changes in the details, materials, steps and arrangement of parts, which have been herein described and illustrated in order to explain the nature of the invention, may be made by those skilled in the art within the principles and scope of the invention as expressed in the appended claims.