Patent ID: 8719303

Claim:
A computer-implemented method for performing real time updating computations so as to economize the use of hardware resources and enhancing the computation and accuracy of CSS (Corrected Sums of Squares) of computing hardware and to promote the computation speed of computing hardware, further comprising five steps: Step 1: set 6 variables to be used in a computation for computing multiple sets of data as: a 1 st variable is a successive difference values of the first variable, called sdx; a 2 nd variable is a successive difference values of the second variable, called sdy; a 3 rd variable is a successive difference of an iterated weighted sum of the first variable, called isum —sdx; a 4 th variable is a successive difference of an iterated weighted sum of the 2 nd variable, called isum_sdy; a 5 th variable is an updated variable used every time the CSS is computed, called sp; a 6 th variable is a variable used every time the CSS of n times is computed, called ncsp; Step 2: Compute the successive differences of the first and second variables; Step 3: (i) subtract 1 from a number of the multiple sets of data, multiply with the needed sdx of the number of the multiple sets of data, then multiply with the sdy of the computing terms; (ii) multiply isum_sdx with sdy and isum_sdy with sdx, add all the values in (i) and (ii), then add an acquired sp before and save in sp; Step 4: Add the sp in step 3 to ncsp, then save in ncsp; Step 5: Execute a recursive computation for isum_sdx and isum_sdy; (i) subtract 1 from the number of the multiple sets of data, multiply with the needed sdx of the computed number then add isum_sdx and last, save as isum —sdx ; (ii) subtract 1 from the number of the multiple sets of data, multiply with the needed sdy of the computing terms then add isum_sdy and last, save as isum_sdy; wherein when a new set of data or next number is added, go back to step 1 and repeat the computation; wherein the computing hardware directly computes the product of a weighted coefficient; wherein the method further comprises causing the computer hardware to perform real time updating computations so to economize the use of hardware resources.