{'fraction_non_alphanumeric': 0.03224447469051785, 'fraction_numerical': 0.007485903169356407, 'mean_word_length': 4.758350438514649, 'pattern_counts': {'":': 0, '<': 2, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Novel Connectivity-Based LEACH-MEEC Routing Protocol for Mobile Wireless Sensor Network

In mobile wireless sensor network (MWSN), the lifetime of the network largely depends on energy efficient routing protocol. In the literature, cluster leader (CL) is selected based on remaining energy of mobile sensor nodes to enhance sensor network lifetime. In this study, a novel connectivity-based Low-Energy Adaptive Clustering Hierarchy-Mobile Energy Efficient and Connected (LEACH-MEEC) routing protocol was proposed, where CL is selected based on connectivity among neighboring nodes and the remaining energy of mobile sensor nodes. Consequently, it improves data delivery, network lifetime and balances the energy consumption. We studied various performance metrics including the number of alive nodes (NAN), remaining energy (RE) and packet delivery ratio (PDR). Our proposed LEACH-MEEC outperforms all other algorithms due to the connectivity metric. Moreover, the performance of mobility models was investigated through graphical and statistically tabulated results. The results show that Reference Point Group Mobility model (RPGM) is better than other mobility models.


Introduction
The Internet of Things (IoT) is a dynamic wide-ranging network that includes varieties of mobile and static sensors, data gathering devices such as global positioning system (GPS) sensors, radio frequency identification (RFID) sensors, and laser and infrared sensing scanners that are connected through the Internet and exchange information with each other based on an agreement [1,2]. Wireless sensor network (WSN) is a group of static sensor nodes which gather information and deliver to the base station. The data gathered by some static sensor nodes can be imprecise and it may suffer network failure, which affects connectivity and reliability of the network. Hence, it has limited applications. Due to fast development in IoT and mobile Internet technology, mobile wireless sensor network (MWSN) has become a popular field of research and replacement of static WSN. MWSN is a collection of tiny mobile sensor motes that aim to sense data from the environment and effectively deliver the base station. These mobile motes maintain the communication links among the neighboring nodes while collecting and processing the data for efficient communication, enhancing the network performance [3]. MWSN can be classified into three types [4], which are as follows.
• Mobile base station and mobile sensor nodes • Mobile base station and static sensor nodes • Static base station and mobile sensor nodes The main difference between MWSN and WSN is sensor node mobility, which enhances the connectivity, network adaptability, and the reliability of the sensor networks. Simultaneously, coverage factors are interrelated. An ensured connectivity with a dynamic coverage is required for efficient sensing of any event. Connectivity depends upon several aspects such as sensor node distribution, communication energy, mobility, distance between sensor nodes, signal dissemination medium, signal dissemination loss, etc. [27].
Due to mobility, sensor nodes alter their positions after initial distribution. Sensor node mobility and node failure affect the transmission path, which impacts connectivity in MWSN [28]. Unplanned mobility can create coverage problem [29], whereas planned mobility (mobility models) can be applied to improving connectivity and enhancing lifetime of network [30]. To best of our knowledge [31], only two connectivity based LEACH algorithms have been proposed thus far: LEACH based on Density of node distribution (LEACH-D) [32] and Orphan-LEACH (O-LEACH) [33]. However, both studies are proposed for static sensor nodes.
In this paper, a novel connectivity based LEACH-Mobile Energy Efficient and Connected (LEACH-MEEC) algorithm is proposed. The binary disk sensing model is used to calculate neighborhood density. We propose a probabilistic connectivity model to compute connectivity among neighboring nodes. The main contributions of this paper are given as below.
• We propose LEACH-MEEC, where the connectivity and remaining energy of mobile sensor nodes are used as metrics for CL selection after the first round and onwards. This proposed metric significantly improves the performance as compared with the existing schemes. • The proposed LEACH-MEEC is analyzed under different mobility models, using eight datasets with two different speed levels.
The rest of paper is organized as follows. Section 2 includes the related work. Section 3 discusses the proposed framework of LEACH-MEEC. Section 4 presents the simulation and results. Section 5 concludes the paper.

Related Work
A heterogeneous mobile LEACH protocol is proposed in [34]. It contains static sensor nodes with mobile base stations where CL is selected based on probability function and data are transferred to base station based on energy function. A mobility factor parameter is introduced for the CL election by initial mobile LEACH-Mobile-Enhanced (LEACH-ME) routing protocol [16]. However, this protocol increases complexity and energy depletion but performs well at a high mobility. Another mobility-based clustering (MBC) protocol was proposed by Deng et al. [35], who used two metrics for the selection of CL, i.e., remaining energy and node speed. It has applications for large-scale networks but there is a rapid change in distance between nodes due to the high mobility. CL node may select a member node that has maximum remaining energy and mobility factor, but it may have a maximum distance from the CL node as well. Consequently, it drains CL energy. A mobile LEACH algorithm for large-scale networks was proposed by Souid et al. [36], where energy is considered as the main component, defining three levels of energies with round time length. However, it has applications for only small scale static sensor network. A energy efficient LEACH-1R was proposed by Khushbu and Khunteta [37], where the CL selection is performed after the first round, only if the remaining energy is less than the threshold value. However, the author did not specify the mobility model. Similarly, LEACH-Centered Cluster-head (LEACH-CCH) was proposed by Corn and Bruce [38], where the energy utilization is reduced by predicting the positions of mobile sensor nodes and reconstructing clusters accordingly. However, the nodes distribution is performed randomly and the mobility model is not mentioned. A LEACH-Mobile Average Energy (LEACH-MAE) based routing protocol is proposed in [39], which selects CL based on remaining energy metric. Here, a CL can add member nodes in a cluster that may have maximum remaining energy, but their distance from the CL node may also be maximum. Hence, CL node may lose a lot of energy to aggregate data from member nodes. LEACHDistance-M [40] is proposed for MWSN, where the selection of CL is based on remaining energy, lower-upper threshold distance and minimum mobility. However, it only assumes 30% of sensors nodes are mobile, while remaining sensor nodes are static.
Those above-mentioned approaches [35][36][37][38][39] elect CL based on residual energy. The importance of energy metric in MWSN is vital, however, relative position, radio coverage and spatial density of mobile sensors are also important metrics for stability, consistency, and reliability of the CL, respectively. Connectivity in MWSN is a function of three important factors: transmission range, sensor speed and spatial density [41,42]. Therefore, connectivity among nodes achieves robust communication, energy efficiency, reduced communication overhead and network scalability. The concept of connectivity in WSN is used in different perspectives. In [43], Abdel-Mageid et al. improved connectivity using potential field theory and local virtual force to calculate mobility and location among mobile neighbor nodes. The conditional connectivity based algorithms were discussed in survey article [44], where the radio range were considered larger than twice of sensing range, consequently they achieved high connectivity at the cost of energy efficiency. To the best of our knowledge, connectivity as a metric for CL selection in mobile LEACH is unexplored, however, connectivity is discussed in MWSN in different perspectives. Hence, the motivation of this work is to combine connectivity with remaining energy in CL selection.

Proposed Framework
This section highlights preliminaries, node distribution, energy model and connectivity model for LEACH-MEEC routing protocol. In LEACH-MEEC, we consider: • Location of base station is anchored and positioned outside the area of sensors distribution.
• The N sensor nodes are distributed randomly.
• All sensors are homogeneous in nature, having similar specification.
• Mobile sensor nodes can move randomly with a specified speed following a certain mobility model pattern. • Mobile sensor nodes can communicate directly with base station.

Mobile Sensor Distribution
We consider that the N sensor nodes are deployed randomly in a square field (100 × 100 m 2 ) following Gaussian distribution method. Equation (1) defines the probability density function (PDF) of node distribution.
where N xj and N yj are the positioning point, and σ N xi and σ N yi are the standard deviations for N xi and N yi dimension, respectively [45]. Each sensor node follows a normal distribution with different means and variances, due to different locations and random movement dependent upon mobility models, as shown in Figure 1. Let N xj , N yj deployment point be (0,0). Then, Equation (1) can be re-written as,

Energy Model
In this paper, three levels of energy consumption model are considered for mobile sensor node, i.e., wireless radio antenna's transmission energy E Tran , receiver energy E Recv [2,46] and mobility energy E mob . Equation (3) calculates transmission energy E Tran to transmit s bit message over a specific distance d is .
where E Tran_elec is a radio dissipation energy and E Tran_amp energy is transmission circuitry energy constant (their values are defined in simulation parametric Table 1). ϕ is a path loss exponent and it depends on d is , which is the distance between the transmitting and receiving nodes. The distance d is is compared to distance d m . In Equation (4), d m is calculated, where h r and h t are the height of antennas, SL is the loss of system, pi val is known as Archimedes' constant (that is approximately equal to 3.14) and λ is wavelength of the signal. If d is < d m , then the free space model is ideal (φ = 2, E Trans_amp = f riss). If d is >d m , then the multipath model is selected (φ = 4, E Trans_amp = two_ray_amp = multipath). The receiver energy E Recv (s) is defined as the energy requires to receive s bit message by receiving node. It requires sE Recv e lec , which is the energy spent by electric circuit of antenna to receive s bit message, and E (idle+error) idle nature of receiver and error term are assumed as constant value of energy loss (due to obstacle blocking line of sight between two sensor nodes). It is given as follows: The energy dissipation due to the mobility of sensor nodes is denoted by E Mob . A mobile sensor node movement between two points cost E Comp (N i ) computational energy and E mov (N i ) energy loss due to mobility for each round. It can be decomposed as follows.
where E Comp (N i ) is the dissipation of computational energy due to transmission of one bit in T m seconds [47]. E mov (N i ) is the depletion of energy due to mobility of nodes in T m seconds. ∆Ic T m (N i ) and ∆Vt T m (N i ) are given as follows: where T m =0, 10, 20, 30. . . ..1000, showing that each round consists of 10 s. Equations (7) and (8)  Cur shows the value of voltage after (T m + 10) seconds. The energy consumption E mov (N i ) due to mobility can be rewritten as [48].
where d Mob (N i ) shows the mobility of node N i that is calculated using Euclidean distance after T m seconds. q Mob shows the coefficient of the energy consumption rate. Hence, Equation (6) is derived by merging Equations (7) and (10).
where E Wt_rd is the energy weight, which is assumed as the energy cost of every node after every single round. Hence, E Rem (N i ) is calculated based on Equation (12). E Ini (N i ) is the initial energy of Node(N i ) and E Wt_rd(i) is the energy weight of node N i .

Connectivity
Two mobile sensors nodes N i and N j are connected if they are at R max radio range. Here, a binary disc model is considered [44]. It is the simplest sensing model that is capable of sensing from any point that is located within its sensing radio range and not from any point beyond it. The sensing ability of the mobile sensor node N i is with respect to neighboring node N j within transmission radio range R max . The distance D(N i , N j ) between two sensor nodes N i and N j is given by Euclidean . Hence, using above equation, the sensing ability is given by.
where Γ and Z are mobile sensor technology-dependent parameters. The parameter Γ is energy emitted by a target mobile sensor, and Z is an energy releasing factor, which ranges from 2 to 5 [49]. The sensor node will transmit "HELLO" packet [50], in a circular area of R radius. Using a binary disc sensing model, the node which reply to a "HELLO" packet is accumulated to NeighN i neighboring nodes.
Here, we assume a mobile sensor node N j is in R max radio range to sensor node N i . If S(N i , N j ) = 1, then accumulate NeighN i to NeighN i + 1; otherwise, NeighN i value remains same. This process will continue until N i calculates all its neighbors. Algorithm 1 further explains this process.

Algorithm 1. Connectivity algorithm.
Result: Declare: The density of mobile sensor node N i with respect to its neighboring nodes in R max radio range is given by Equation (14) [51], where Dn(N i ) is density of sensor node N i and N πR 2 is the number of nodes located within circular area radio range, which represents the spatial density.
A node is set to be k connected if the removal of k − 1 nodes does not disturb its connectivity. Using Equation (15), the probabilistic connectivity of mobile sensor nodes is given by [52].
The probabilistic connectivity PC(N ki ) includes a set of all connected nodes that have at least ki connected sensor nodes in R max radio range. Connectivity is further explained in Figure 2, where circular region is assumed on R max radial range of N i mobile sensor node. Mobile nodes located within R max radial range are considered as neighboring nodes.  Algorithm 1 further presents the steps followed by a mobile sensor nodes to determine connectivity for the selection of CL.

Cluster-Leader Election
In our proposed algorithm, the CL selection process starts with setup phase, where in previous studies CL selection for the first round is carried out as described in [13,16,34,35,39]. During the first round, a mobile sensor node selects a random value between 0 and 1. The selected value should be less than the defined threshold value O thr (x) calculated by Equation (16).
where p replicates the required percentage of CLs, n reflects the number of nodes, u is the present round and G is the set comprising certain nodes that have not been nominated as CL from last 1/p rounds. After the election of CL, it broadcasts announcement messages to all sensor nodes in neighborhood to become member of its cluster. From second phase onwards, the CL selection is carried out based on two metrics, remaining energy and connectivity. If a mobile sensor node N i has maximum remaining energy and maximum connectivity within neighboring nodes, it will be elevated for CL selection process. In this paper, we consider connectivity of neighboring nodes within R max radio range for mobile LEACH routing protocol, which, to the best of our knowledge, is a novel approach for mobile LEACH, where CL is selected based on CV i value. All nodes within R max radio range are compared by their CV i values. The one node with maximum value of CV i is selected as CL. CV i is calculated by Equation (17).
Hence, the proposed CL selection process is energy efficient, since nodes located outside radio range cannot become part of cluster. The new CL then creates TDMA schedules to accommodate all new sensor nodes and broadcasts it to all cluster nodes in the neighborhood. In steady-state phase, mobile member sensor nodes in a cluster transmit data to CL by turning on their radios in respective time slots. CL transmits the collected data from cluster nodes to the BS. This procedure is repeated until all nodes are dead. Steady-state phase is beyond the scope of this paper. Figure 3 explains a flow diagram of the proposed work. It includes mobile sensor nodes distribution, dataset generation, setup phase (CL selection phase) and steady state phase. This process will repeat until all nodes are dead.

Simulation Results and Discussion
In this section, simulation environment and datasets, experiments nature, performance parametric and results are discussed in detail. The discussion is based on connectivity feature and its impact on our work. Here, prospect and usefulness is inspected in various simulation environments.

Environment and Datasets
The simulation was carried out assuming a square field that is an obstacle free target area. All simulation experiments were performed in MATLAB (R 2013a) and IBM SPSS (Version-23) was used for statistical analysis. Table 1 shows parametric characteristics that were used for simulation and experimentation. Eight datasets were generated by using four mobility models (RPGM, RWP, GM, and MH). The datasets include one hundred nodes. For individual mobility model, two ranges of speeds were considered: 0.5-1.5 m/s and 5-7.5 m/s. The simulation time duration was 1000 s. Please note that the source code of the simulator is not public yet, but we will share it at request for research purposes under a non-disclosure agreement.

Experiments
This section explains the three types of experiments that were performed to analyze the performance of proposed LEACH-MEEC against three algorithms in the literature, namely, LEACH-MAE, Mobile-LEACH and LEACHDistance-M.

1.
Time: The impact of different time duration ranging from 0 to 1000 s over the performance of LEACH-MEEC was studied.

2.
Number of Nodes: The impact of different numbers of nodes from 0 to 100 measuring the significance of packet delivery ratio over LEACH-MEEC was studied.

3.
Sensitivity Analysis: Different statistical estimation techniques were applied on results to measure the significance of connectivity feature over the performance of our algorithm to strengthen our claim.

Performance Metric
The following three performance metrics were considered for results comparison.

Number of Alive Nodes (NAN):
The number of remaining alive mobile sensor nodes after t seconds of simulation time was measured.

2.
Remaining Energy (RE): The average remaining energy (RE) of mobile sensor node at the end of each round was measured.

3.
Packet Delivery Ratio (PDR): Packet delivery ratio (PDR) is defined as the ratio between successful delivery of transmitted packets by a source (mobile sensor node) to a destination. The source mobile sensor node receives acknowledgment reply after successful delivery of packets at destination. The performance of protocol is considered better when PDR is high.Thus, we calculated the PDR with Equation (18).
where PDR is packet delivery ratio, PRD is amount of packets received at destination, and PTS is amount of packets transmitted by source.

Results Discussion
The results of LEACH-MEEC were compared with LEACH-MAE, Mobile-LEACH and LEACHDistance-M using the parameters mentioned above.

Number of Alive Nodes (NAN)
One of the main benefits of hierarchical clustering is that it improves network lifetime by efficient utilization of energy. The number of alive nodes (NAN) is an important performance parameter for calculating network life time [36]. Figures 4a-d and 5a-d refer to RPGM, RWP, GM and MH datasets with two different speeds, respectively. They show the results comparison of our proposed algorithm with existing routing protocols LEACH-MAE, Mobile-LEACH and LEACHDistance-M based on number of alive nodes. In Figure 4, LEACH-MEEC using RPGM mobility model outperformed LEACH-MAE, Mobile-LEACH and LEACHDistance-M using four mobility models. Our proposed algorithm's first node die (FND) and last node die (LND) performance is better than all other algorithms. This is primarily because of communication cost of LEACH-MAE, Mobile-LEACH and LEACHDistance-M is much higher as compared to our proposed algorithm. Since LEACH-MAE, Mobile-LEACH selects CL only based on remaining energy, whereas LEACHDistance-M considers distance from base station (base station is located outside area of sensor distribution) and energy to select the CL [40]. In LEACHDistance-M, sensor nodes have high overhead, which reduces network lifetime. In Figure 5, increasing the speed of mobile sensor nodes, the proposed algorithm network lifetime is better than LEACH-MAE, Mobile-LEACH and LEACHDistance-M. The proposed algorithm introduces connectivity feature among the sensor nodes, therefore CL requires less energy consumption to communicate with member nodes, which results in maximum number of remaining alive nodes. RPGM outperforms other mobility models, which can be seen graphically in Figure 5.

Remaining Energy (RE)
In MWSN, energy dissipation rate is higher compared to the static sensor network. In this study, the CL selection was carried out based on connectivity and RE. This criterion prohibits nodes to become CL having maximum remaining energy, but they are far from their member nodes and are not connected, resulting in a long network lifetime. Therefore, RE is an important performance parametric to evaluate the energy efficiency of routing protocols. Our results show that the proposed LEACH-MEEC outperforms LEACH-MAE, Mobile-LEACH and LEACHDistance-M regarding RE. Figures 6a-d and 7a-d refer to RPGM, RWP, GM and MH datasets with two different speeds, respectively. The graphs further explain that RPGM mobility model has maximum RE, since the mobile nodes that are a part of that RPGM have uniform and reflective velocities to the velocity of the group leader similar such as CL. Inter node distance among nodes remain uniform, hence nodes are well connected. It is also pertinent to mention that increases in speed have reduced the energy efficiency, which can be seen in Figure 7a-d.

Packet Delivery Ratio (PDR)
MWSN nodes suffer packet loss due to mobility that may result in link collapse. There is an inverse association between speed and packet delivery ratio (PDR) [53]. In RPGM, the mobile sensor nodes are grouped firmly together. Hence, the average inter-node distance among group members is much less than other mobility models. A CL in RPGM can easily receive and deliver messages to member nodes and base station, which reduces the chance of link collapse. Other mobility models have random movement may result in link collapse. Figures 8a-d and 9a-d refer to RPGM, RWP, GM and MH datasets with two different speeds, respectively. Figure 8 shows that LEACH-MEEC PDR is comparatively high as compared to LEACH-MAE, Mobile-LEACH and LEACHDistance-M. The high PDR of LEACH-MEECH is due to an optimal selection of CL. It is also observed that the PDR values fluctuates as transmission distance and speed increase. However, the optimal selection of CL helps the mobile sensor nodes to stay connected due to radio radial connectivity, therefore increasing the sensor network availability and minimizing the packet dropped rate. A comparison for PDR in Figure 9 shows LEACH-MEEC outperforms LEACH-MAE, Mobile-LEACH and LEACHDistance-M using four mobility models datasets.

Sensitivity Analysis
Our simulation results show that the proposed algorithm outperforms existing LEACH-MAE, Mobile-LEACH and LEACHDistanc-M using three performance parameters for four mobility models. To further strengthen our claim, statistical analysis was performed.
(a) To find the statistically significant mobility model with respect to the performance parameter of our proposed work. Table 2 reports the difference of mean calculated from performance parameter results of our proposed work with respect to four mobility models with average speeds of 1.5 and 7.5 meter per second. Column 1 of Table 2 reports the difference of mean of RPGM with RWP, GM and MH, concerning Average Number of Alive Nodes (ANAN). The result shows that average alive nodes of RPGM are higher than other mobility models and that is statistically significant. Column 2 reports the difference of mean of RPGM with RWP, GM and MH, with respect to average remaining energy. It was found that Average Remaining Energy (ARE) of RPGM based dataset is higher than other mobility models and that is highly significant. Column 3 shows the difference of mean of RPGM with RWP, GM and MH, with respect to average packet delivery ratio (APDR). The result shows that APDR of RPGM mobility model is much higher than other mobility model and that is statistically significant. Similarly, Column 4 compares connectivity metric difference of mean. Here, again, simulation results show that average connectivity (AC) of RPGM mobility model has a high mean difference with comparison to RWP and MH mobility models, whereas it has slightly less mean difference in comparison with GM mobility model, which is still significant. Hence, our proposed algorithm shows better performance with respect to RPGM mobility model dataset than other mobility models that supports our argument. (b) To verify the significant difference of independent variable within the group.

One-way Anova and post hoc tests:
We used one-way variance analysis (ANOVA) to check whether RPGM mean is statistically different from other mobility models with respect to four performance parameters. Here, we stated a null hypothesis that "means of all mobility models are equal with respect to four performance parameters". An alternate hypothesis that at least one of the mobility model's mean in a group differs. Table 3 reports that all mobility models are different based on four performance parameters. However, it does not tell us individual effect of mobility models and how much one mobility model mean is significantly different from others. Therefore, we conducted two post hoc test (PHT), i.e., Tukey's test and least square difference (LSD) test. Table 4 shows that the RPGM differs significantly at p < 0.05 and it is stronger than other mobility models. Similarly, we further investigated our results by using LSD PHT. It also shows that the effect of RPGM mobility model estimated mean is significantly different. The reason is that RPGM nodes moves in the form of a group. Consequently, it has higher neighborhood connectivity and it balances the remaining energy. Figure 10 shows the performance of mobility models on estimated means of four parameters. RPGM outperforms all other mobility models. It further strengthens our claim that RPGM mobility model performs better with LEACH-MEEC.   Heckman's two-stage statistical test: There is a chance that our results are driven by selection biasness. Mostly, selection biasness stems from model or sample biasness. Model biasness is due to leaving out important variable which may have an impact on the dependent variable, whereas sample bias means that our sampling selection procedure may lead to biasness in the model. To address this issue, we use Heckman's two-stage model [54]. In the first step, we can use probit or logistic regression where RPGM is regressed against ARE and the ANAN with respect to time (seconds). We also add one instrumental variable. That instrumental variable must be correlated to RPGM mobility model but not correlated to connectivity feature. Therefore, we use speed as an instrumental variable. Khan et al. [52] stated there is a direct association between RPGM mobility model and speed. There is no association between speed and connectivity [55,56]. As shown in Table 5, first the probit model was applied to get the value of correction factor inverse mill ratio (λmr), and then the value of (λmr) was added to our main regression model. After adding, it was found that t-value of (λmr) is insignificant and the coefficient of RPGM remains positive and significant. Therefore, it shows that connectivity has an impact on the performance of our proposed work.

Conclusions
The mobility of nodes have many constraints in a WSN, energy efficiency being one of them. This study proposed an improvement in energy efficient LEACH-MAE and Mobile-LEACH. We proposed that the selection of CL is based on two parameters, i.e., remaining energy and probabilistic connectivity among neighboring nodes. We calculated neighborhood connectivity for mobile sensor nodes based on radio radial range. Hence, the improved selection of CL enhance remaining energy of mobile sensor nodes and it improved the life time of network. This study analyzed the proposed algorithm with LEACH-MAE, Mobile-LEACH and LEACHDistance-M using three performance parameters (NAN, RE and PDR). The proposed work outperformed other algorithms while using datasets from four mobility models with respect to different speeds.
Another contribution of this paper is selection of mobility model that is suitable for our proposed work. The results show that the performance of RPGM mobility model is better than that of other mobility models since it has higher connectivity and all the nodes move in the form of group.
To further strengthen our claim, we performed four statistical tests (difference of mean, one-way ANOVA, post hoc (Tukey's test and LSD) and Heckman's two-stage test. It was found that the difference of means of RPGM (considering ANAN, ARE, APDR and AC) is statistically significant in comparison with other mobility models. We verified significant difference within and between the groups of mobility models with respect to all performance parameters by applying one-way ANOVA and post hoc (Tukey's test and LSD). It is proved through both tests that RPGM is more statistically significant within and between the groups as compared to other mobility models. Lastly, we verified through Heckman's two-stage test that our proposed connectivity parameter is not selection biased. In addition, we found that there is no impact of another instrumental variable. Simulation results and statistical analyses suggest that RPGM mobility model is better for hierarchal clustering in MWSN. In the future, this research work can be extended by increasing the number of mobile sensor nodes and their speeds in a multi-hop environment. We are also working to make the full source code publicly available.