Visit Tutorials below:
Data Revival from the Statistics
In many cases, we do not want to store all the data. Since the measurement can be taken at every second or millisecond, storing both data and the statistic require huge amount of storage. Thus, we keep updating the statistics of the system, until certain time, we want to recover some of the previous data that we never stored before, for example to make some chart of it. How is it possible to revive the previous data, without really storing it? The task is not impossible if we know certain statistics such as time average and or time variance. Let us consider case by case.
Case-1: Store only the sampling time and time average
In the previous example, we have the following results:
Suppose we only stored all the time-average data. Can we get back the real measurement data only based on the stored time-average? Yes, we can revive the measurement data only based on the time-average, provided we know the sequence data number .
Remember that we have recursive formula (3) to compute the time-average. I write it again in here for your convenient:
Rearrange the equation (3) for we have
As before, the subscript start at 1, therefore is undefined and we can put any number for it. Using equation (5) we can compute back the measurement data based only on two consecutive time-averages.
The results of the revival measurement are the same as the real measurement data.
Case-2: Store only 2 consecutive time average and time variance
To restore data from the statistics using equation (5) above, we need to know the sequence data number . Suppose we do not know the sequence data number but we only know time average and time variance of the data, can we revive the real measurement?
Yes, we can revive the real measurement data from two consecutive time average and time variance using the following formula
Using previous example, we have the statistics (time average and time variance) and we can revive the data. Obviously, we use quadratic formula to get the data, thus two possible value are the results.
Note that the only first measurement data is revived using positive sign of equation (6), while the others revival measurement data are obtained using the negative sign. This rule is true for any measurement data.
I understand the potential that some bad people may use the Data Revival formula above to cheat their measurement data to get the statistical results that they want to but similar to any other great tools, the utilization of the tools is really depending on the moral of the person.
Preferable reference for this tutorial is
Teknomo, Kardi. (2006) Recursive Average and Variance.