## 4 Methodology  
To have a better relationship prediction within the variables, this study utilized the Partial Least Squares-Structural Equation Model (PLS-SEM) approach in obtaining the values of latent variables for the purpose of prediction and, thus, used only a quantitative research approach [46; 47; 48; 49]. The research analysis was based on Structural Equation Modelling (SEM) and the research model was ascertained using the Smart PLS 3 software [50; 51]. Partial Least Squares (PLS) path models consist of two groups of linear equations, which include the outer and inner models. Furthermore, the outer model identifies the relationship between the observed variables and their construct. Observed variables can describe as indicators, while a factor is known as the latent variable.  
Moreover, the structural model identified the relations among the constructs [50; 51]. Additionally, the structural model is made up of endogenous and exogenous constructs with connections between them. In general, the relationships between the constructs can be linear. Sometimes the links of the model can be more composite with the mediation or moderation relationships. Once a third construct intercedes between two relating variables, it is named as mediation effect. The direct effects (related variable) show one single arrow that joined them while the mediating effects are linked to sequences of two or more indicators (indirect effects). The mediating effects occurred when the independent variable alters the capacity of two related variables in the model. This study adopted the mediating effects of continuance commitment between on-the-job embeddedness, off-the-job embeddedness and intention to stay.  
A quantitative approach was utilized in a recent study in fulfilling the objectives of this research. A cross-sectional quantitative survey was referred to as the appropriate approach and study design adopted in this study. This study's primary objective was to test a theoretical model and predict future behavior [52]. This study focused on the hypothesis testing of a conceptual model that covers the relationship within different variables. This study aimed to evaluate the association within the continuance commitment, mediating variable (MV), off-the-job and on-the-job embeddedness dimension; independent variables (IV) with employee intention to stay; dependent variables (DV). Therefore, a quantitative approach was best suited in this scenario.  
Data was collected from Malaysia's construction companies. The workers employed in the Malaysian construction companies were then chosen as the respondents to answer each questionnaire study question. Descriptive concerns were raised on their views on the intention to remain among the workers of construction firms in Malaysia. The Likert scale was used to measure the tasks, with the scale varying from very low to very high. The scale point was mapped to 1, 2, 3, 4, 5 and 6 numerical scales in this analysis to measure workers' desire to stay in construction firms. The scale correspondingly reflects respondents' attitudes from (1) very low to (6) very high, depending on the dramatic effect of the simple random factor used for the study under the probability sampling methodology. Of the overall sample of 280, 243 participated and in the study, completed versions of the questionnaire were used, rendering the response rate 86.8%. Data for this study was gathered by using a questionnaire survey targeting architects, project managers, contractors, engineers and members of their team in Malaysian construction firms. Nine weeks was the length of the data set. Besides, the present study used a form of a survey that was carried out using a questionnaire written in both Malay and English languages to allow respondents to respond more efficiently. Although the English language is Malaysia's second language, many construction workers do not possess English language proficiency due to their educational history. If we use the English language, those respondents could have been missed.