Not applicable.
Not applicable.
The present invention relates to the analysis of data where outlier elements are removed (or filtered) from the analysis development. The analysis may be related to the computation of simple statistics or more complex operations involving mathematical models that use data in their development. The purpose of outlier data filtering may be to perform data quality and data validation operations, or to compute representative standards, statistics, data groups that have applications in subsequent analyses, regression analysis, time series analysis or qualified data for mathematical models development.
Removing outlier data in standards or data-driven model development is an important part of the pre-analysis work to ensure a representative and fair analysis is developed from the underlying data. For example, developing equitable benchmarking of greenhouse gas standards for carbon dioxide (CO2), ozone (O3), water vapor (H2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), chlorofluorocarbons (CFCs), sulfur hexafluoride (SF6), methane (CH4), nitrous oxide (N2O), carbon monoxide (CO), nitrogen oxides (NOx), and non-methane volatile organic compounds (NMVOCs) emissions requires that collected industrial data used in the standards development exhibit certain properties. Extremely good or bad performance by a few of the industrial sites should not bias the standards computed for other sites. It may be judged unfair or unrepresentative to include such performance results in the standard calculations. In the past, the performance outliers were removed via a semi-quantitative process requiring subjective input. The present system and method is a data-driven approach that performs this task as an integral part of the model development, and not at the pre-analysis or pre-model development stage.
The removal of bias can be a subjective process wherein justification is documented in some form to substantiate data changes. However, any form of outlier removal is a form of data censoring that carries the potential for changing calculation results. Such data filtering may or may not reduce bias or error in the calculation and in the spirit of full analysis disclosure, strict data removal guidelines and documentation to remove outliers needs to be included with the analysis results. Therefore, there is a need in the art to provide a new system and method for objectively removing outlier data bias using a dynamic statistical process useful for the purposes of data quality operations, data validation, statistic calculations or mathematical model development, etc. The outlier bias removal system and method can also be used to group data into representative categories where the data is applied to the development of mathematical models customized to each group. In a preferred embodiment, coefficients are defined as multiplicative and additive factors in mathematical models and also other numerical parameters that are nonlinear in nature. For example, in the mathematical model, f(x,y,z)=a*x+b*yc+d*sin(ez)+f, a, b, c, d, e, and f are all defined as coefficients. The values of these terms may be fixed or part of the development of the mathematical model.
A preferred embodiment includes a computer implemented method for reducing outlier bias comprising the steps of: selecting a bias criteria; providing a data set; providing a set of model coefficients; selecting a set of target values; (1) generating a set of predicted values for the complete data set; (2) generating an error set for the dataset; (3) generating a set of error threshold values based on the error set and the bias criteria; (4) generating, by a processor, a censored data set based on the error set and the set of error threshold values; (5) generating, by the processor, a set of new model coefficients; and (6) using the set of new model coefficients, repeating steps (1)-(5), unless a censoring performance termination criteria is satisfied. In a preferred embodiment, the set of predicted values may be generated based on the data set and the set of model coefficients. In a preferred embodiment, the error set may comprise a set of absolute errors and a set of relative errors, generated based on the set of predicted values and the set of target values. In another embodiment, the error set may comprise values calculated as the difference between the set of predicted values and the set of target values. In another embodiment, the step of generating the set of new coefficients may further comprise the step of minimizing the set of errors between the set of predicted values and the set of actual values, which can be accomplished using a linear, or a non-linear optimization model. In a preferred embodiment, the censoring performance termination criteria may be based on a standard error and a coefficient of determination.
Another embodiment includes a computer implemented method for reducing outlier bias comprising the steps of: selecting an error criteria; selecting a data set; selecting a set of actual values; selecting an initial set of model coefficients; generating a set of model predicted values based on the complete data set and the initial set of model coefficients; (1) generating a set of errors based on the model predicted values and the set of actual values for the complete dataset; (2) generating a set of error threshold values based on the complete set of errors and the error criteria for the complete data set; (3) generating an outlier removed data set, wherein the filtering is based on the complete data set and the set of error threshold values; (4) generating a set of new coefficients based on the filtered data set and the set of previous coefficients, wherein the generation of the set of new coefficients is performed by the computer processor; (5) generating a set of outlier bias reduced model predicted values based on the filtered data set and the set of new model coefficients, wherein the generation of the set of outlier bias reduced model predicted values is performed by a computer processor; (6) generating a set of model performance values based on the model predicted values and the set of actual values; repeating steps (1)-(6), while substituting the set of new coefficients for the set of coefficients from the previous iteration, unless: a performance termination criteria is satisfied; and storing the set of model predicted values in a computer data medium.
Another embodiment includes a computer implemented method for reducing outlier bias comprising the steps of: selecting a target variable for a facility; selecting a set of actual values of the target variable; identifying a plurality of variables for the facility that are related to the target variable; obtaining a data set for the facility, the data set comprising values for the plurality of variables; selecting a bias criteria; selecting a set of model coefficients; (1) generating a set of predicted values based on the complete data set and the set of model coefficients; (2) generating a set of censoring model performance values based on the set of predicted values and the set of actual values; (3) generating an error set based on the set of predicted values and the set of actual values for the target variable; (4) generating a set of error threshold values based on the error set and the bias criteria; (5) generating, by a processor, a censored data set based on the data set and the set of error thresholds; (6) generating, by the processor, a set of new model coefficients based on the censored data set and the set of model coefficients; (7) generating, by the processor, a set of new predicted values based on the data set and the set of new model coefficients; (8) generating a set of new censoring model performance values based on the set of new predicted values and the set of actual values; using the set of new coefficients, repeating steps (1)-(8) unless a censoring performance termination criteria is satisfied; and storing the set of new model predicted values in a computer data medium.
Another embodiment includes a computer implemented method for reducing outlier bias comprising the steps of: determining a target variable for a facility, wherein the target variable is a metric for an industrial facility related to its production, financial performance, or emissions; identifying a plurality of variables for the facility, wherein the plurality of variables comprises: a plurality of direct variables for the facility that influence the target variable; and a set of transformed variables for the facility, each transformed variable is a function of at least one direct facility variable that influences the target variable; selecting an error criteria comprising: an absolute error, and a relative error; obtaining a data set for the facility, wherein the data set comprises values for the plurality of variables; selecting a set of actual values of the target variable; selecting an initial set of model coefficients; generating a set of model predicted values based on the complete data set and the initial set of model coefficients; generating a complete set of errors based on the set of model predicted values and the set of actual values, wherein the relative error is calculated using the formula: Relative Errorm=((Predicted Valuem−Actual Valuem)/Actual Valuem)2 wherein ‘m’ is a reference number, and wherein the absolute error is calculated using the formula: Absolute Errorm=(Predicted Valuem−Actual Valuem)2; generating a set of model performance values based on the set of model predicted values and the set of actual values, wherein the set of overall model performance values comprises of: a first standard error, and a first coefficient of determination; (1) generating a set of errors based on the model predicted values and the set of actual values for the complete dataset; (2) generating a set of error threshold values based on the complete set of errors and the error criteria for the complete data set; (3) generating an outlier removed data set by removing data with error values greater than or equal to the error threshold values, wherein the filtering is based on the complete data set and the set of error threshold values; (4) generating a set of outlier bias reduced model predicted values based on the outlier removed data set and the set of model coefficients by minimizing the error between the set of predicted values and the set of actual values using at least one of: a linear optimization model, and a nonlinear optimization model, wherein the generation of the new model predicted values is performed by a computer processor; (5) generating a set of new coefficients based on the outlier removed data set and the previous set of coefficients, wherein the generation of the set of new coefficients is performed by the computer processor; (6) generating a set of overall model performance values based on the set of new predicted model values and the set of actual values, wherein the set of model performance values comprise: a second standard error, and a second coefficient of determination; repeating steps (1)-(6), while substituting the set of new coefficients for the set of coefficients from the previous iteration, unless: a performance termination criteria is satisfied, wherein the performance termination criteria comprises: a standard error termination value and a coefficient of determination termination value, and wherein satisfying the performance termination criteria comprises: the standard error termination value is greater than the difference between the first and second standard error, and the coefficient of determination termination value is greater than the difference between the first and second coefficient of determination; and storing the set of new model predicted values in a computer data medium.
Another embodiment includes a computer implemented method for reducing outlier bias comprising the steps of: selecting an error criteria; selecting a data set; selecting a set of actual values; selecting an initial set of model predicted values; determining a set of errors based on the set of model predicted values and the set of actual values; (1) determining a set of error threshold values based on the complete set of errors and the error criteria; (2) generating an outlier removed data set, wherein the filtering is based on the data set and the set of error threshold values; (3) generating a set of outlier bias reduced model predicted values based on the outlier removed data set and the previous model predicted values, wherein the generation of the set of outlier bias reduced model predicted values is performed by a computer processor; (4) determining a set of errors based on the set of new model predicted values and the set of actual values; repeating steps (1)-(4), while substituting the set of new model predicted values for the set of model predicted values from the previous iteration, unless: a performance termination criteria is satisfied; and storing the set of outlier bias reduced model predicted values in a computer data medium.
Another embodiment includes a computer implemented method for reducing outlier bias comprising the steps of: determining a target variable for a facility; identifying a plurality of variables for the facility, wherein the plurality of variables comprises: a plurality of direct variables for the facility that influence the target variable; and a set of transformed variables for the facility, each transformed variable being a function of at least one direct facility variable that influences the target variable; selecting an error criteria comprising: an absolute error, and a relative error; obtaining a data set, wherein the data set comprises values for the plurality of variables, and selecting a set of actual values of the target variable; selecting an initial set of model coefficients; generating a set of model predicted values by applying a set of model coefficients to the data set; determining a set of performance values based on the set of model predicted values and the set of actual values, wherein the set of performance values comprises: a first standard error, and a first coefficient of determination; (1) generating a set of errors based on the set of model predicted values and the set of actual values for the complete dataset, wherein the relative error is calculated using the formula: Relative Errorm=((Predicted Valuem−Actual Valuem)/Actual Valuem)2, wherein ‘m’ is a reference number, and wherein the absolute error is calculated using the formula: Absolute Errorm=(Predicted Valuem−Actual Valuem)2) (2) generating a set of error threshold values based on the complete set of errors and the error criteria for the complete data set; (3) generating an outlier removed data set by removing data with error values greater than or equal to the set of error threshold values, wherein the filtering is based on the data set and the set of error threshold values; (4) generating a set of new coefficients based on the outlier removed data set and the set of previous coefficients (5) generating a set of outlier bias reduced model predicted values based on the outlier removed data set and the set of new model coefficient by minimizing the error between the set of predicted values and the set of actual values using at least one of: a linear optimization model, and a nonlinear optimization model, wherein the generation of the model predicted values is performed by a computer processor; (6) generating a set of updated performance values based on the set of outlier bias reduced model predicted values and the set of actual values, wherein the set of updated performance values comprises: a second standard error, and a second coefficient of determination; repeating steps (1)-(6), while substituting the set of new coefficients for the set of coefficients from the previous iteration, unless: a performance termination criteria is satisfied, wherein the performance termination criteria comprises: a standard error termination value, and a coefficient of determination termination value, and wherein satisfying the performance termination criteria comprises the standard error termination value is greater than the difference between the first and second standard error, and the coefficient of determination termination value is greater than the difference between the first and second coefficient of determination; and storing the set of outlier bias reduction factors in a computer data medium.
Another embodiment includes a computer implemented method for assessing the viability of a data set as used in developing a model comprising the steps of: providing a target data set comprising a plurality of data values; generating a random target data set based on the target dataset; selecting a set of bias criteria values; generating, by a processor, an outlier bias reduced target data set based on the data set and each of the selected bias criteria values; generating, by the processor, an outlier bias reduced random data set based on the random data set and each of the selected bias criteria values; calculating a set of error values for the outlier bias reduced data set and the outlier bias reduced random data set; calculating a set of correlation coefficients for the outlier bias reduced data set and the outlier bias reduced random data set; generating bias criteria curves for the data set and the random data set based on the selected bias criteria values and the corresponding error value and correlation coefficient; and comparing the bias criteria curve for the data set to the bias criteria curve for the random data set. The outlier bias reduced target data set and the outlier bias reduced random target data set are generated using the Dynamic Outlier Bias Removal methodology. The random target data set can comprise of randomized data values developed from values within the range of the plurality of data values. Also, the set of error values can comprise a set of standard errors, and wherein the set of correlation coefficients comprises a set of coefficient of determination values. Another embodiment can further comprise the step of generating automated advice regarding the viability of the target data set to support the developed model, and vice versa, based on comparing the bias criteria curve for the target data set to the bias criteria curve for the random target data set. Advice can be generated based on parameters selected by analysts, such as a correlation coefficient threshold and/or an error threshold. Yet another embodiment further comprises the steps of: providing an actual data set comprising a plurality of actual data values corresponding to the model predicted values; generating a random actual data set based on the actual data set; generating, by a processor, an outlier bias reduced actual data set based on the actual data set and each of the selected bias criteria values; generating, by the processor, an outlier bias reduced random actual data set based on the random actual data set and each of the selected bias criteria values; generating, for each selected bias criteria, a random data plot based on the outlier bias reduced random target data set and the outlier bias reduced random actual data; generating, for each selected bias criteria, a realistic data plot based on the outlier bias reduced target data set and the outlier bias reduced actual target data set; and comparing the random data plot with the realistic data plot corresponding to each of the selected bias criteria.
A preferred embodiment includes a system comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a data set; and a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: select a bias criteria; provide a set of model coefficients; select a set of target values; (1) generate a set of predicted values for the data set; (2) generate an error set for the dataset; (3) generate a set of error threshold values based on the error set and the bias criteria; (4) generate a censored data set based on the error set and the set of error threshold values; (5) generate a set of new model coefficients; and (6) using the set of new model coefficients, repeat steps (1)-(5), unless a censoring performance termination criteria is satisfied. In a preferred embodiment, the set of predicted values may be generated based on the data set and the set of model coefficients. In a preferred embodiment, the error set may comprise a set of absolute errors and a set of relative errors, generated based on the set of predicted values and the set of target values. In another embodiment, the error set may comprise values calculated as the difference between the set of predicted values and the set of target values. In another embodiment, the step of generating the set of new coefficients may further comprise the step of minimizing the set of errors between the set of predicted values and the set of actual values, which can be accomplished using a linear, or a non-linear optimization model. In a preferred embodiment, the censoring performance termination criteria may be based on a standard error and a coefficient of determination.
Another embodiment of the present invention includes a system comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a data set; and a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: select an error criteria; select a set of actual values; select an initial set of coefficients; generate a complete set of model predicted values from the data set and the initial set of coefficients; (1) generate a set of errors based on the model predicted values and the set of actual values for the complete dataset; (2) generate a set of error threshold values based on the complete set of errors and the error criteria for the complete data set; (3) generate an outlier removed data set, wherein the filtering is based on the complete data set and the set of error threshold values; (4) generate a set of outlier bias reduced model predicted values based on the outlier removed data set and the set of coefficients, wherein the generation of the set of outlier bias reduced model predicted values is performed by a computer processor; (5) generate a set of new coefficients based on the outlier removed data set and the set of previous coefficients, wherein the generation of the set of new coefficients is performed by the computer processor; (6) generate a set of model performance values based on the outlier bias reduced model predicted values and the set of actual values; repeat steps (1)-(6), while substituting the set of new coefficients for the set of coefficients from the previous iteration, unless: a performance termination criteria is satisfied; and store the set of overall outlier bias reduction model predicted values in a computer data medium.
Yet another embodiment includes a system comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a target variable for a facility; a set of actual values of the target variable; a plurality of variables for the facility that are related to the target variable; a data set for the facility, the data set comprising values for the plurality of variables; and a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: select a bias criteria; select a set of model coefficients; (1) generate a set of predicted values based on the data set and the set of model coefficients; (2) generate a set of censoring model performance values based on the set of predicted values and the set of actual values; (3) generate an error set based on the set of predicted values and the set of actual values for the target variable; (4) generate a set of error threshold values based on the error set and the bias criteria; (5) generate a censored data set based on the data set and the set of error thresholds; (6) generate a set of new model coefficients based on the censored data set and the set of model coefficients; (7) generate a set of new predicted values based on the data set and the set of new model coefficients; (8) generate a set of new censoring model performance values based on the set of new predicted values and the set of actual values; using the set of new coefficients, repeat steps (1)-(8) unless a censoring performance termination criteria is satisfied; and storing the set of new model predicted values in the storage subsystem.
Another embodiment includes a system comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a data set for a facility; and a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: determine a target variable; identify a plurality of variables, wherein the plurality of variables comprises: a plurality of direct variables for the facility that influence the target variable; and a set of transformed variables for the facility, each transformed variables being a function of at least one direct variable that influences the target variable; select an error criteria comprising: an absolute error, and a relative error; select a set of actual values of the target variable; select an initial set of coefficients; generate a set of model predicted values based on the data set and the initial set of coefficients; determine a set of errors based on the set of model predicted values and the set of actual values, wherein the relative error is calculated using the formula: Relative Errorm=((Predicted Valuem−Actual Valuem)/Actual Valuem)2, wherein ‘m’ is a reference number, and wherein the absolute error is calculated using the formula: Absolute Errorm=(Predicted Valuem−Actual Valuem)2; determine a set of performance values based on the set of model predicted values and the set of actual values; wherein the set of performance values comprises: a first standard error, and a first coefficient of determination; (1) generate a set of errors based on the model predicted values and the set of actual values; (2) generating a set of error threshold values based on the complete set of errors and the error criteria for the complete data set; (3) generate an outlier removed data set by filtering data with error values outside the set of error threshold values, wherein the filtering is based on the data set and the set of error threshold values; (4) generate a set of new model predicted values based on the outlier removed data set and the set of coefficients by minimizing an error between the set of model predicted values and the set of actual values using at least one of: a linear optimization model, and a nonlinear optimization model, wherein the generation of the outlier bias reduced model predicted values is performed by a computer processor; (5) generate a set of new coefficients based on the outlier removed data set and the set of previous coefficients, wherein the generation of the set of new coefficients is performed by the computer processor; (6) generate a set of performance values based on the set of new model predicted values and the set of actual values; wherein the set of model performance values comprises: a second standard error, and a second coefficient of determination; repeat steps (1)-(6), while substituting the set of new coefficients for the set of coefficients from the previous iteration, unless: a performance termination criteria is satisfied, wherein the performance termination criteria comprises: a standard error, and a coefficient of determination, and wherein satisfying the performance termination criteria comprises: the standard error termination value is greater than the difference between the first and second standard error, and the coefficient of determination termination value is greater than the difference between the first and second coefficient of determination; and store the set of new model predicted values in a computer data medium.
Another embodiment of the present invention includes a system comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a data set, a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: select an error criteria; select a data set; select a set of actual values; select an initial set of model predicted values; determine a set of errors based on the set of model predicted values and the set of actual values; (1) determine a set of error threshold values based on the complete set of errors and the error criteria; (2) generate an outlier removed data set, wherein the filtering is based on the data set and the set of error threshold values; (3) generate a set of outlier bias reduced model predicted values based on the outlier removed data set and the complete set of model predicted values, wherein the generation of the set of outlier bias reduced model predicted values is performed by a computer processor; (4) determine a set of errors based on the set of outlier bias reduction model predicted values and the corresponding set of actual values; repeat steps (1)-(4), while substituting the set of outlier bias reduction model predicted values for the set of model predicted values unless: a performance termination criteria is satisfied; and store the set of outlier bias reduction factors in a computer data medium.
Another embodiment of the present invention includes a system comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a data set, a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: determine a target variable; identify a plurality of variables for the facility, wherein the plurality of variables comprises: a plurality of direct variables for the facility that influence the target variable; and a set of transformed variables for the facility, each transformed variable is a function of at least one primary facility variable that influences the target variable; select an error criteria comprising: an absolute error, and a relative error; obtain a data set, wherein the data set comprises values for the plurality of variables, and select a set of actual values of the target variable; select an initial set of coefficients; generate a set of model predicted values by applying the set of model coefficients to the data set; determine a set of performance values based on the set of model predicted values and the set of actual values, wherein the set of performance values comprises: a first standard error, and a first coefficient of determination; (1) determine a set of errors based on the set of model predicted values and the set of actual values, wherein the relative error is calculated using the formula: Relative Errork=((Predicted Valuek−Actual Valuek)/Actual Valuek)2, wherein ‘k’ is a reference number, and wherein the absolute error is calculated using the formula: Absolute Errork=(Predicted Valuek−Actual Valuek)2; (2) determine a set of error threshold values based on the set of errors and the error criteria for the complete data set; (3) generate an outlier removed data set by removing data with error values greater than or equal to the error threshold values, wherein the filtering is based on the data set and the set of error threshold values; (4) generate a set of new coefficients based on the outlier removed dataset and the set of previous coefficients; (5) generate a set of outlier bias reduced model values based on the outlier removed data set and the set of coefficients and minimizing an error between the set of predicted values and the set of actual values using at least one of: a linear optimization model, and a nonlinear optimization model; (5) determine a set of updated performance values based on the set of outlier bias reduced model predicted values and the set of actual values, wherein the set of updated performance values comprises: a second standard error, and a second coefficient of determination; repeat steps (1)-(5), while substituting the set of new coefficients for the set of coefficients from the previous iteration, unless: a performance termination criteria is satisfied, wherein the performance termination criteria comprises: a standard error termination value, and a coefficient of determination termination value, and wherein satisfying the performance termination criteria comprises the standard error termination value is greater than the difference between the first and second standard error, and the coefficient of determination termination value is greater than the difference between the first and second coefficient of determination; and storing the set of outlier bias reduction factors in a computer data medium.
Yet another embodiment includes a system for assessing the viability of a data set as used in developing a model comprising: a server, comprising: a processor, and a storage subsystem; a database stored by the storage subsystem comprising: a target data set comprising a plurality of model predicted values; a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to: generate a random target data set; select a set of bias criteria values; generate outlier bias reduced data sets based on the target data set and each of the selected bias criteria values; generate an outlier bias reduced random target data set based on the random target data set and each of the selected bias criteria values; calculate a set of error values for the outlier bias reduced target data set and the outlier bias reduced random target data set; calculate a set of correlation coefficients for the outlier bias reduced target data set and the outlier bias reduced random target data set; generate bias criteria curves for the target data set and the random target data set based on the corresponding error value and correlation coefficient for each selected bias criteria; and compare the bias criteria curve for the target data set to the bias criteria curve for the random target data set. The processor generates the outlier bias reduced target data set and the outlier bias reduced random target data set using the Dynamic Outlier Bias Removal methodology. The random target data set can comprise of randomized data values developed from values within the range of the plurality of data values. Also, the set of error values can comprise a set of standard errors, and the set of correlation coefficients comprises a set of coefficient of determination values. In another embodiment, the program further comprises instructions that, when executed, cause the processor to generate automated advice based on comparing the bias criteria curve for the target data set to the bias criteria curve for the random target data set. Advice can be generated based on parameters selected by analysts, such as a correlation coefficient threshold and/or an error threshold. In yet another embodiment, the system's database further comprises an actual data set comprising a plurality of actual data values corresponding to the model predicted values, and the program further comprises instructions that, when executed, cause the processor to: generate a random actual data set based on the actual data set; generate an outlier bias reduced actual data set based on the actual data set and each of the selected bias criteria values; generate an outlier bias reduced random actual data set based on the random actual data set and each of the selected bias criteria values; generate, for each selected bias criteria, a random data plot based on the outlier bias reduced random target data set and the outlier bias reduced random actual data; generate, for each selected bias criteria, a realistic data plot based on the outlier bias reduced target data set and the outlier bias reduced actual target data set; and compare the random data plot with the realistic data plot corresponding to each of the selected bias criteria.
Other embodiments include a system for reducing outlier bias in target variables measured for a facility comprising a computing unit for processing a data set, the computing unit comprising a processor and a storage subsystem, an input unit for inputting the data set to be processed, the input unit comprising a measuring device for measuring a given target variable and for providing a corresponding data set, an output unit for outputting a processed data set, a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to execute following steps: selecting the target variable for a facility; identifying a plurality of variables for the facility that are related to the target variable; obtaining a data set for the facility, the data set comprising values for the plurality of variables; selecting a bias criteria; selecting a set of model coefficients; (1) generate a set of predicted values for the data set; (2) generate an error set for the data set; (3) generate a set of error threshold values based on the error set and the bias criteria; (4) generate a censored data set based on the error set and the set of error threshold values; (5) generate a set of new model coefficients; and (6) using the set of new model coefficients, repeat steps (1)-(5), unless a censoring performance termination criteria is satisfied.
Still, other embodiment include a system for reducing outlier bias in target variables measured for a financial instrument, such as equity security (e.g., common stock) or derivative contract (e.g., forwards, futures, options, and swaps, etc.), comprising a computing unit for processing a data set, the computing unit comprising a processor and a storage subsystem, an input unit for receiving the data set to be processed, the input unit comprising a storage device for storing data on a target variable (e.g., stock price) and for providing a corresponding data set, an output unit for outputting a processed data set, a computer program stored by the storage subsystem comprising instructions that, when executed, cause the processor to execute following steps: selecting the target variable for the financial instrument; identifying a plurality of variables for the instrument that are related to the target variable (e.g., dividends, earnings, cash flow, etc.); obtaining a data set for the financial instrument, the data set comprising values for the plurality of variables; selecting a bias criteria; selecting a set of model coefficients; (1) generate a set of predicted values for the data set; (2) generate an error set for the data set; (3) generate a set of error threshold values based on the error set and the bias criteria; (4) generate a censored data set based on the error set and the set of error threshold values; (5) generate a set of new model coefficients; and (6) using the set of new model coefficients, repeat steps (1)-(5), unless a censoring performance termination criteria is satisfied.
The following disclosure provides many different embodiments, or examples, for implementing different features of a system and method for accessing and managing structured content. Specific examples of components, processes, and implementations are described to help clarify the invention. These are merely examples and are not intended to limit the invention from that described in the claims. Well-known elements are presented without detailed description so as not to obscure the preferred embodiments of the present invention with unnecessary detail. For the most part, details unnecessary to obtain a complete understanding of the preferred embodiments of the present invention have been omitted inasmuch as such details are within the skills of persons of ordinary skill in the relevant art.
A mathematical description of one embodiment of Dynamic Outlier Bias Reduction is shown as follows:
{circumflex over (Q)}
1
=M({circumflex over (X)}:{circumflex over (β)}0→1)
Initial Step 2: Compute initial model performance results:
{circumflex over (Ω)}1=f({circumflex over (Q)}1,Â,k=0,r2, standard error, etc.)
Initial Step 3: Compute model error threshold value(s):
E
1
=F(Ψ,,C)
Initial Step 4: Filter the data records to remove outliers:
={∀x∈{circumflex over (X)}|Ψ({circumflex over (Q)}1,<E1}
Iterative Computations, k>0
Iteration Step 1: Compute predicted values by applying the model to the accepted data set:
{circumflex over (Q)}
k+1
=M(:{circumflex over (β)}k→k+1)
Iteration Step 2: Compute model performance results:
Ωk+1=f({circumflex over (Q)}k+1,Â,k,r2, standard error, etc.)
If termination criteria are achieved, stop, otherwise proceed to Step 3:
Iteration Step 3: Compute results for removed data, Ck={∀x∈{circumflex over (X)}|x∉} using current model:
Ck+1
=M(Ck:{circumflex over (β)}k→k+1)
Iteration Step 4: Compute model error threshold values:
E
k+1
=F(Ψ(k+1+Ck+1,),C)
Iteration Step 5: Filter the data records to remove outliers:
k+1
={∀x∈{circumflex over (X)}|Ψ(k+1+Ck+1,<Ek+1}
Another mathematical description of one embodiment of Dynamic Outlier Bias Reduction is shown as follows:
P
RE
=Percentile(RE({circumflex over (Q)}+{circumflex over (Q)}Ck,Â),CRE)
P
AE
=Percentile(AE({circumflex over (Q)}+{circumflex over (Q)}Ck,Â),CAE)
{circumflex over (Q)}
1
=M({circumflex over (X)}:{circumflex over (β)}0→1)
{circumflex over (Ω)}1=f({circumflex over (Q)}1,Â,k=0,r2, standard error, etc.)
P
RE
=Percentile(RE({circumflex over (Q)}1,Â),CRE)
P
AE
=Percentile(AE({circumflex over (Q)}1,Â),CAE)
Iterative Computations, k>0
{circumflex over (Q)}
k+1
=M({circumflex over (X)}k:{circumflex over (β)}k→k+1)
Ωk+1=f({circumflex over (Q)}k+1,Â,k,r2, standard error, etc.)
If termination criteria are achieved, stop, otherwise proceed to Step 3:
{circumflex over (Q)}
k+1
=M({circumflex over (X)}Ck:{circumflex over (β)}k→k+1)
P
RE
=Percentile(RE({circumflex over (Q)}k+1+{circumflex over (Q)}Ck+1,Â),CRE)
P
AE
=Percentile(AE({circumflex over (Q)}k+1+{circumflex over (Q)}Ck+1,Â),CAE)
Increment k and proceed to Iteration Step 1.
After each iteration where new model coefficients are computed from the current censored dataset, the removed data from the previous iteration plus the current censored data are recombined. This combination encompasses all data values in the complete dataset. The current model coefficients are then applied to the complete dataset to compute a complete set of predicted values. The absolute and relative errors are computed for the complete set of predicted values and new bias criteria percentile threshold values are computed. A new censored dataset is created by removing all data values where the absolute or relative errors are greater than the threshold values and the nonlinear optimization model is then applied to the newly censored dataset computing new model coefficients. This process enables all data values to be reviewed every iteration for their possible inclusion in the model dataset. It is possible that some data values that were excluded in previous iterations will be included in subsequent iterations as the model coefficients converge on values that best fit the data.
In one embodiment, variations in GHG emissions can result in overestimation or underestimation of emission results leading to bias in model predicted values. These non-industrial influences, such as environmental conditions and errors in calculation procedures, can cause the results for a particular facility to be radically different from similar facilities, unless the bias in the model predicted values is removed. The bias in the model predicted values may also exist due to unique operating conditions.
The bias can be removed manually by simply removing a facility's data from the calculation if analysts are confident that a facility's calculations are in error or possess unique, extenuating characteristics. Yet, when measuring a facility performance from many different companies, regions, and countries, precise a priori knowledge of the data details is not realistic. Therefore any analyst-based data removal procedure has the potential for adding undocumented, non-data supported biases to the model results.
In one embodiment, Dynamic Outlier Bias Reduction is applied to a procedure that uses the data and a prescribed overall error criteria to determine statistical outliers that are removed from the model coefficient calculations. This is a data-driven process that identifies outliers using a data produced global error criteria using for example, the percentile function. The use of Dynamic Outlier Bias Reduction is not limited to the reduction of bias in model predicted values, and its use in this embodiment is illustrative and exemplary only. Dynamic Outlier Bias Reduction may also be used, for example, to remove outliers from any statistical data set, including use in calculation of, but not limited to, arithmetic averages, linear regressions, and trend lines. The outlier facilities are still ranked from the calculation results, but the outliers are not used in the filtered data set applied to compute model coefficients or statistical results.
A standard procedure, commonly used to remove outliers, is to compute the standard deviation (σ) of the data set and simply define all data outside a 2σ interval of the mean, for example, as outliers. This procedure has statistical assumptions that, in general, cannot be tested in practice. The Dynamic Outlier Bias Reduction method description applied in an embodiment of this invention, is outlined in
Relative Errorm=((Predicted Valuem−Actual Valuem)/Actual Valuem)2 (1)
Absolute Errorm=(Predicted Valuem−Actual Valuem)2 (2)
In Step 110, the analyst specifies the error threshold criteria that will define outliers to be removed from the calculations. For example using the percentile operation as the error function, a percentile value of 80 percent for relative and absolute errors could be set. This means that data values less than the 80th percentile value for a relative error and less than the 80th percentile value for absolute error calculation will be included and the remaining values are removed or considered as outliers. In this example, for a data value to avoid being removed, the data value must be less than both the relative and absolute error 80th percentile values. However, the percentile thresholds for relative and absolute error may be varied independently, and, in another embodiment, only one of the percentile thresholds may be used.
In Step 120, the model standard error and coefficient of determination (r2) percent change criteria are specified. While the values of these statistics will vary from model to model, the percent change in the preceding iteration procedure can be preset, for example, at 5 percent. These values can be used to terminate the iteration procedure. Another termination criteria could be the simple iteration count.
In Step 130, the optimization calculation is performed, which produces the model coefficients and predicted values for each facility.
In Step 140, the relative and absolute errors for all facilities are computed using Eqns. (1) and (2).
In Step 150, the error function with the threshold criteria specified in Step 110 is applied to the data computed in Step 140 to determine outlier threshold values.
In Step 160, the data is filtered to include only facilities where the relative error, absolute error, or both errors, depending on the chosen configuration, are less than the error threshold values computed in Step 150.
In Step 170, the optimization calculation is performed using only the outlier removed data set.
In Step 180, the percent change of the standard error and r2 are compared with the criteria specified in Step 120. If the percent change is greater than the criteria, the process is repeated by returning to Step 140. Otherwise, the iteration procedure is terminated in step 190 and the resultant model computed from this Dynamic Outlier Bias Reduction criteria procedure is completed. The model results are applied to all facilities regardless of their current iterative past removed or admitted data status.
In another embodiment, the process begins with the selection of certain iterative parameters, specifically:
The process begins with an original data set, a set of actual data, and either at least one coefficient or a factor used to calculate predicted values based on the original data set. A coefficient or set of coefficients will be applied to the original data set to create a set of predicted values. The set of coefficients may include, but is not limited to, scalars, exponents, parameters, and periodic functions. The set of predicted data is then compared to the set of actual data. A standard error and a coefficient of determination are calculated based on the differences between the predicted and actual data. The absolute and relative error associated with each one of the data points is used to remove data outliers based on the user-selected absolute and relative error percentile values. Ranking the data is not necessary, as all data falling outside the range associated with the percentile values for absolute and/or relative error are removed from the original data set. The use of absolute and relative errors to filter data is illustrative and for exemplary purposes only, as the method may be performed with only absolute or relative error or with another function.
The data associated with the absolute and relative error within a user-selected percentile range is the outlier removed data set, and each iteration of the process will have its own filtered data set. This first outlier removed data set is used to determine predicted values that will be compared with actual values. At least one coefficient is determined by optimizing the errors, and then the coefficient is used to generate predicted values based on the first outlier removed data set. The outlier bias reduced coefficients serve as the mechanism by which knowledge is passed from one iteration to the next.
After the first outlier removed data set is created, the standard error and coefficient of determination are calculated and compared with the standard error and coefficient of determination of the original data set. If the difference in standard error and the difference in coefficient of determination are both below their respective improvement values, then the process stops. However, if at least one of the improvement criteria is not met, then the process continues with another iteration. The use of standard error and coefficient of determination as checks for the iterative process is illustrative and exemplary only, as the check can be performed using only the standard error or only the coefficient of determination, a different statistical check, or some other performance termination criteria (such as number of iterations).
Assuming that the first iteration fails to meet the improvement criteria, the second iteration begins by applying the first outlier bias reduced data coefficients to the original data to determine a new set of predicted values. The original data is then processed again, establishing absolute and relative error for the data points as well as the standard error and coefficient of determination values for the original data set while using the first outlier removed data set coefficients. The data is then filtered to form a second outlier removed data set and to determine coefficients based on the second outlier removed data set.
The second outlier removed data set, however, is not necessarily a subset of the first outlier removed data set and it is associated with second set of outlier bias reduced model coefficients, a second standard error, and a second coefficient of determination. Once those values are determined, the second standard error will be compared with the first standard error and the second coefficient of determination will be compared against the first coefficient of determination.
If the improvement value (for standard error and coefficient of determination) exceeds the difference in these parameters, then the process will end. If not, then another iteration will begin by processing the original data yet again; this time using the second outlier bias reduced coefficients to process the original data set and generate a new set of predicted values. Filtering based on the user-selected percentile value for absolute and relative error will create a third outlier removed data set that will be optimized to determine a set of third outlier bias reduced coefficients. The process will continue until the error improvement or other termination criteria are met (such as a convergence criteria or a specified number of iterations).
The output of this process will be a set of coefficients or model parameters, wherein a coefficient or model parameter is a mathematical value (or set of values), such as, but not limited to, a model predicted value for comparing data, slope and intercept values of a linear equation, exponents, or the coefficients of a polynomial. The output of Dynamic Outlier Bias Reduction will not be an output value of its own right, but rather the coefficients that will modify data to determine an output value.
In another embodiment, illustrated in
In Step 210 the initial data is listed in any order.
Step 220 constitutes the function or operation that is performed on the dataset. In this embodiment example, the function and operation is the ascending ranking of the data followed by successive arithmetic average calculations where each line corresponds to the average of all data at and above the line.
Step 230 computes the relative and absolute errors from the data using successive values from the results of Step 220.
Step 240 allows the analyst to enter the desired outlier removal error criteria (%). The Quality Criteria Value is the resultant value from the error calculations in Step 230 based on the data in Step 220.
Step 250 shows the data quality outlier filtered dataset. Specific values are removed if the relative and absolute errors exceed the specified error criteria given in Step 240.
Step 260 shows the arithmetic average calculation comparison between the complete and outlier removed datasets. The analyst is the final step as in all applied mathematical or statistical calculations judging if the identified outlier removed data elements are actually poor quality or not. The Dynamic Outlier Bias Reduction system and method eliminates the analyst from directly removing data but best practice guidelines suggest the analyst review and check the results for practical relevance.
In another embodiment illustrated in
In Step 310, the paired data is listed in any order.
Step 320 computes the relative and absolute errors for each ordered pair in the dataset.
Step 330 allows the analyst to enter the desired data validation criteria. In the example, both 90% relative and absolute error thresholds are selected. The Quality Criteria Value entries in Step 330 are the resultant absolute and relative error percentile values for the data shown in Step 320.
Step 340 shows the outlier removal process where data that may be invalid is removed from the dataset using the criteria that the relative and absolute error values both exceed the values corresponding to the user selected percentile values entered in Step 330. In practice other error criteria may be used and when multiple criteria are applied as shown in this example, any combination of error values may be applied to determine the outlier removal rules.
Step 350 computes the data validated and original data values statistical results. In this case, the Pearson Correlation Coefficient. These results are then reviewed for practical relevance by the analyst.
In another embodiment, Dynamic Outlier Bias Reduction is used to perform a validation of an entire data set. Standard error improvement value, coefficient of determination improvement value, and absolute and relative error thresholds are selected, and then the data set is filtered according to the error criteria. Even if the original data set is of high quality, there will still be some data that will have error values that fall outside the absolute and relative error thresholds. Therefore, it is important to determine if any removal of data is necessary. If the outlier removed data set passes the standard error improvement and coefficient of determination improvement criteria after the first iteration, then the original data set has been validated, since the filtered data set produced a standard error and coefficient of determination that too small to be considered significant (e.g. below the selected improvement values).
In another embodiment, Dynamic Outlier Bias Reduction is used to provide insight into how the iterations of data outlier removal are influencing the calculation. Graphs or data tables are provided to allow the user to observe the progression in the data outlier removal calculations as each iteration is performed. This stepwise approach enables analysts to observe unique properties of the calculation that can add value and knowledge to the result. For example, the speed and nature of convergence can indicate the influence of Dynamic Outlier Bias Reduction on computing representative factors for a multi-dimensional data set.
As an illustration, consider a linear regression calculation over a poor quality data set of 87 records. The form of the equation being regressed is y=mx+b. Table 1 shows the results of the iterative process for 5 iterations. Notice that using relative and absolute error criteria of 95%, convergence is achieved in 3 iterations. Changes in the regression coefficients can be observed and the Dynamic Outlier Bias Reduction method reduced the calculation data set based on 79 records. The relatively low coefficient of determination (r2=39%) suggests that a lower (<95%) criteria should be tested to study the additional outlier removal effects on the r2 statistic and on the computed regression coefficients.
In Table 2 the results of applying Dynamic Outlier Bias Reduction are shown using the relative and absolute error criteria of 80%. Notice that a 15 percentage point (95% to 80%) change in outlier error criteria produced 35 percentage point (39% to 74%) increase in r2 with a 35% additional decrease in admitted data (79 to 51 records included). The analyst can use a graphical view of the changes in the regression lines with the outlier removed data and the numerical results of Tables 1 and 2 in the analysis process to communicate the outlier removed results to a wider audience and to provide more insights regarding the effects of data variability on the analysis results.
As illustrated in
As illustrated in
As illustrated in
As
As illustrated in
In addition to the above-described quantitative analysis facilitated by the illustrative graph of
Various embodiments include a system for reducing outlier bias in target variables measured for a facility.
In one embodiment, the system 1010 initiates the sensor 1022 which in turn detect and quantifies a given compound, e.g. carbon dioxide. The detection and quantification can be done continuously or within discrete time steps. Each time a measurement is completed, a data set is generated, is stored on the storage subsystem 1016, and inputted into the computing unit 1012. The data set is processed by the Dynamic Outlier Bias Removal computer program stored by the storage subsystem 1016 whereby it is censored according to the various embodiments of the methods disclosed herein. Once the computer program has processed the data, the processed data is outputted by the output unit 1024. In an embodiment wherein the output unit 1024 is a monitor or a printer, the results may be visualized in a diagram. In an embodiment wherein the output unit 1024 comprises a transmission device, the processed data is sent to a central database or a control center where the data can be further processed (not shown). Accordingly, the system according to the various disclosed embodiments provides a powerful tool to compare different facilities within one company or within one technical field with each other in an automated way wherein outlier bias is reduced.
In a preferred embodiment the measuring device 1020 comprises one or more sensors for detecting and quantifying a chemical compound. Due to the global warming, greenhouse gasses emitted by a facility are becoming an increasingly important target variable. Facilities that emit small amounts of greenhouse gasses may be better ranked than those emitting higher amounts although the overall productivity of the latter may be better. Examples of greenhouse gases are carbon dioxide (CO2), ozone (O3), water vapor (H2O), hydrofluorocarbons (HFCs), perfluorocarbons (PFCs), chlorofluorocarbons (CFCs), sulphur hexafluoride (SF6), methane (CH4), nitrous oxide (N2O), carbon monoxide (CO), nitrogen oxides (NOx), and non-methane volatile organic compounds (NMVOCs). The automated detection and quantification of these compounds may be used to develop industrial standards regarding certain allowable emissions of the greenhouse gasses. However, applying the Dynamic Outlier Bias Removal leads to removing outliers that may be caused by extraordinary circumstances in the production such as operating errors or even accidents. Thus, using various embodiments disclosed herein results in developing more accurate and meaningful standards. Once the industrial standards are developed, the system can be used to compare the emissions with the standards.
One of ordinary skill in the art would further appreciate that the scope of the present invention includes application of the various disclosed embodiments for reducing outlier bias in target variables relating to financial instruments, such as equity securities (e.g., common stock) or derivative contracts (e.g., forwards, futures, options, and swaps, etc.). For example, in one embodiment, the system 1010 comprises an input unit 1018 that receives data relating to a financial instrument, such as a common stock, and provides a corresponding data set. The target variable can be the stock price. Further, variables that relate to the target variable can be determined using various known methods of evaluating financial instruments, such as, for example, discounted cash flow analysis. Such related variables may include the relevant dividends, earnings, or cash flows, earnings per share, price-to-earnings ratio, or growth rate, etc. Once the database of target values and related variable values is formed, various embodiments of the Dynamic Outlier Bias Removal disclosed herein can be applied to the database, resulting in a more accurate model to evaluate the financial instrument.
The foregoing disclosure and description of the preferred embodiments of the invention are illustrative and explanatory thereof and it will be understood by those skilled in the art that various changes in the details of the illustrated system and method may be made without departing from the scope of the invention.
This application is a continuation application and claims the benefit, and priority benefit, of U.S. patent application Ser. No. 16/151,925, filed Oct. 4, 2018, which is a continuation of and claims the benefit and priority benefit of U.S. patent application Ser. No. 14/792,379, filed Jul. 6, 2015, which is a continuation of and claims the benefit and priority benefit of U.S. patent application Ser. No. 13/772,212, filed Feb. 20, 2013, now issued as U.S. Pat. No. 9,111,212, which is a continuation of and claims the benefit and priority benefit of U.S. patent application Ser. No. 13/213,780, filed Aug. 19, 2011, now issued as U.S. Pat. No. 9,069,725.
Number | Date | Country | |
---|---|---|---|
Parent | 16151925 | Oct 2018 | US |
Child | 16786723 | US | |
Parent | 14792379 | Jul 2015 | US |
Child | 16151925 | US | |
Parent | 13772212 | Feb 2013 | US |
Child | 14792379 | US | |
Parent | 13213780 | Aug 2011 | US |
Child | 13772212 | US |