## 5 STCDRR Protocol
### Eliminating Temporal Data Redundancy at Source Level
Correlation Coefficient threshold value is taken for the sink level data aggregation where we have used the Pearson's Correlation Coefficient technique to reduce the spatial data redundancy. #### 6.1.2 Data Measures \((\alpha)\)

The number of data measures recorded in the timestamp \"\(T\)\" can give the comparative result of our proposed protocol STCDRR with KAB and ED. ### Performance Metrics

The performance metrics for our work are as follows. The aggregation ratio can be defined as the total number of data packets generated to the total number of data measurements sent. Each sensor node finds the similarity between the data measurements collected for each time period during the local aggregation process. The data measurements are assigned with a weight dependent on the threshold value chosen for the experiment. With the increase or decrease of the threshold the data redundancy among data increases or decreases, respectively, after applying the similarity match function during the local aggregation process. The poundage of the input estimate is given in Table 1 as numerical values. Energy Consumption

It is defined as total energy spent for executing the process of data packets consequently in the network. As the data aggregation is divided into two phases, namely data aggregation at source level and data aggregation at sink level so energy spent on these levels need to be calculated and reduced for an enhanced network lifetime. Data accuracy is the representation of data loss measurement. It can be obtained by dividing the total number of data packets measured by the sensor nodes which are similar in nature and do not get forwarded to sink over the whole data measure taken by the sensor for a particular time period, after applying the local data aggregation. Evaluation of data accuracy is based on the percentage of data loss measures collected at the cluster head. Time Complexity

The accuracy of an efficient algorithm is based on the measurement of the time taken to execute the whole process. The execution time on an algorithm is dependent on the threshold value taken for the experiment. ## 7 Experimental Results

Considering the above performance measures and key parameters we have calculated and compared our proposed protocol STCDRR with two existing algorithms, KAB and ED in terms of energy consumption, aggregation ratio, data accuracy, and time complexity. Experimental results show that the STCDRR protocol performs well against to KAB and ED and reduces the energy consumption carried out for forwarding data packets from \begin{table}
\begin{tabular}{c l c c} \hline \hline
**Sl.No.** & **Parameter** & **Notation** & **Value** \\ \hline
1 & No. of Data & \(\alpha\) & 50, 100, 200 \\  & Measurements & & \\
2 & Threshold of Distance & \(t_{d}\) & 0.3, 0.4, 0.5, 0.7 \\  & Function & & \\  & Threshold of & & \\
3 & Correlation & \(\tau\) & 0.3, 0.4, 0.45, 0.5 \\  & Coefficient & & \\
4 & Threshold of Match & \(\delta\) & 0.02, 0.04, 0.06, 0.1 \\  & Function & & \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Parameters table. the source level to the destination level in the network resulting in an enhanced network lifetime. Table 1 summarizes the key parameters taken for our experiment. 1. The number of sensors calculated by individual sensor node for a period has some values. Here we have taken 3 values 50, 100, 200. It is denoted by \(\alpha\). 2. The threshold value for the distance function is denoted by \(t_{d}\). We have taken 4 different values 0.3, 0.4, 0.5, 0.7 to check the difference in results for each value. 3. To compare at the aggregator level the threshold values are taken to be 0.3, 0.4, 0.45, 0.5. 4. The thresholds for the match function are 0.02, 0.04, 0.06, 0.1. ### Source Level Experiment

Aggregated data after source level aggregation is forwarded to the sink. From Figure 1, we can observe that the percentage of the aggregated data is on an increasing trend with respect to the increase in the threshold value.