This study highlighted the influence of the subjective perception of citizens about housing development projects, rather than traditional real estate criteria such as construction quality, architectural design, size, and number of rooms. To evaluate how perceived risks and benefits influence individual attitudes and their willingness to purchase or rent, advanced analytical techniques such as structural equation modeling (SEM) and random forest were applied. Machine learning algorithms can model intricate patterns and interactions that traditional statistical methods might overlook, while SEM facilitates the examination of theoretical relationships among unobserved constructs, providing a robust framework for testing hypotheses about causal pathways. The integration of these approaches enables a more thorough exploration of the factors influencing housing decisions, accounting for both direct and indirect effects within the data. The SEM method enables the analysis of interactions among perceived benefits, risks, and beliefs, as well as their associations with citizens’ attitudes [
54,
55]. The result reveals an interesting relationship between perceived risks and benefits and attitudes toward housing development in consideration of local sustainability beliefs.
Machine learning (random forest) was applied to understand the impact and influence of each perceived risk and benefit on citizens’ willingness and intention to buy or rent a house from this development project. The provided feature ranking illustrates the importance of different features or variables within a predictive model generated using the random forest algorithm. These features comprise six (6) factors representing benefits and five (5) factors representing risks, as explained in the preceding section.
4.1. The SEM Model
As previously mentioned, the structural equation modeling (SEM) model comprises two main components: the construct model and the path model. The outputs of the construct model indicate the key factors shaping the latent variables of the model: perceived risks, perceived benefits, sustainability beliefs, and attitude.
In the construct model, factors such as “increase public infrastructure”, “increase walkability”, and “boost job opportunities” were identified as significant contributors to shaping perceived benefits.
Regarding the loading factors of perceived risks, “overcrowding/social issues” and “loss of historical character” had more of an influence than the other negative factors. Among the different factors of sustainability beliefs, the “need for housing” had the most important association with shaping the latent variable of sustainability beliefs. The factors “social well-being” and “quality of life” had the highest load factors for attitudes toward the housing project.
The path model indicates the important output of this SEM model, which is the relationship between latent variables through three main hypotheses. The result reveals an interesting relationship of perceived risks and benefits with attitudes toward the housing project by considering sustainability beliefs. The perceived benefits have a stronger impact on the attitudes of citizens in Norwalk toward housing development than the perceived risk factors. Moreover, the impact of sustainability is stronger than the perceived risks. The overall results of the SEM show that, because of the strong role of sustainability beliefs, the perceived benefits of the project have a stronger influence on perceived risk factors in shaping the attitudes and general feelings of residents on housing development in Norwalk.
The overall interaction and associations of all factors together reveal the high potential for development project support due to its perceived benefits if the project supports the citizens’ sustainability beliefs; thereby shaping their positive attitudes and feelings toward new housing development. Therefore, the results strongly recommend effective campaigns and public opinion projects to introduce and highlight the more positive aspects of housing development with a focus on its sustainability aspects (environment, social well-being and equity, and urban economy).
The comparative fit index (CFI), Tucker–Lewis index (TLI), and root mean square error of approximation (RMSEA) are commonly used to evaluate how well a model fits data [
56,
57]. The CFI measures the difference between the observed data and the hypothesized model, ranging from 0 to 1, with values closer to 1 indicating a better fit. In this model, the CFI was 0.959, which was above 0.9 and indicated an acceptable fit. The TLI, another measure of model fit, considers values greater than 0.90 to be acceptable [
54]. For this model, the TLI was 0.952, which also suggests a good fit. The RMSEA assesses how well the model, with optimally chosen parameters, fits the population’s covariance matrix. Values below 0.08 indicate a good fit, and in this model, the RMSEA was 0.064, confirming a good fit. Together, these measures demonstrate that the model fits the data well [
58].
4.2. Machine Learning—Random Forrest
Willingness to purchase from the housing development: In this section, we describe the random forest model targeting the variable representing individuals’ willingness to purchase an apartment from the housing development in Norwalk. This was assessed through the following statement: “If I were buying an apartment in Norwalk, I would purchase it from this type of housing development”. The model incorporated six benefit-related factors and five risk-related factors, as detailed previously. Each feature was assigned a numerical importance score, reflecting its contribution to the model’s predictive accuracy. A higher importance score indicates a greater influence on the prediction process. Understanding these scores is essential for interpreting which factors most significantly affect the willingness to purchase within the example housing development project. The analysis of feature importance within the random forest model reveals key factors influencing individual intentions to purchase from the housing development in Norwalk.
Availability of affordable housing: The feature “As a result of this development, more affordable houses/apartments will be available” achieved the highest importance score of 0.1276, indicating that the prospect of affordable housing was the most significant predictor of purchasing intent. This underscores the critical role of affordability in attracting potential buyers.
Economic opportunities: The feature “Housing development will boost job opportunities and business appeal in the area” had an importance score of 0.1071, ranking second. This suggests that anticipated economic benefits, such as job creation and enhanced business attractiveness, are substantial motivators for prospective buyers.
Concerns about rising housing costs: The feature “Rising housing costs may require me to leave Norwalk and find another place” scored 0.1012, placing third in importance. This reflects significant apprehension regarding escalating housing expenses and potential displacement, influencing purchasing decisions.
Enhancement of public infrastructure: The feature “As a result of this housing development, the city’s public infrastructure, including transit, parks, pedestrians, etc., will be renewed and expanded alongside residential buildings” achieved an importance score of 0.0944, ranking fourth. This highlights the perceived value of improvements in public infrastructure accompanying the development.
Improved walkability: The feature “This development improves the walkability of the district, enabling pedestrian access to shopping and service centers” achieved an importance score of 0.0917, ranking fifth. This indicates that enhanced walkability and pedestrian access are influential factors in the decision-making process of potential buyers.
These findings provide valuable insights into the priorities and concerns of individuals considering purchasing in the Norwalk housing project, emphasizing the importance of affordability, economic prospects, housing cost stability, infrastructure development, and walkability in shaping purchasing intentions.
Willingness to rent from the housing development: Analyzing the feature importance scores from the random forest model provided valuable insights into the factors influencing individuals’ willingness to rent from the housing development project. A higher importance score indicates a greater influence of the feature on the prediction process. The feature “As a result of this development, more affordable houses/apartments will be available” achieved the highest importance score of 0.1271, suggesting that affordability is the most influential factor in determining the likelihood of renting from the development and highlighting renters’ prioritization of cost-effective housing options. The feature “Housing development will boost job opportunities and business appeal in the area” achieved an importance score of 0.1043, indicating that the potential for increased employment and business prospects significantly influences renters’ decisions and underscoring the role of economic benefits in housing choices. The feature “This development improves the walkability of the district, enabling pedestrian access to shopping and service centers” scored 0.1021, reflecting that enhanced walkability and accessibility to amenities are important considerations for renters, who value convenience and ease of access in their living environment. The feature “Rising housing costs may require me to leave Norwalk and find another place” achieved an importance score of 0.0975, suggesting that apprehensions regarding escalating housing expenses and potential displacement notably impact renters’ decisions, emphasizing the importance of housing cost stability. The feature “As a result of this development, the district’s population density will increase, leading to the establishment of additional services, retail centers, and business opportunities” achieved an importance score of 0.0941, indicating that the anticipated rise in population density and the consequent expansion of services and businesses are influential factors in renter considerations. The feature “This development will increase the accessibility and availability of public transportation” achieved an importance score of 0.0923, reflecting that improved access to public transportation is a significant factor for renters, who value proximity to transit options for convenience and mobility. These findings underscore the multifaceted considerations that potential renters evaluate, including affordability, economic opportunities, walkability, housing cost stability, population density, and public transportation accessibility. Understanding these priorities can inform the development of housing to better align with renters’ preferences and needs.
The standardization of the housing supply has led to a relatively uniform approach in housing development worldwide, which impacts affordability and influences consumer preferences. The predominance of mass-produced housing units, driven by cost efficiency and ease of construction, has resulted in a market where financial considerations often outweigh qualitative housing aspects. This trend is evident in Norwalk, where affordability is a dominant concern. The financial weaknesses and constraints on infrastructure and transport services further shape residential choices. Given the increasing importance of urban connectivity and mobility, housing demand is now closely linked to accessibility, proximity to employment hubs, and service availability. These factors must be considered when evaluating housing perceptions and attitudes, as they significantly shape purchasing and rental decisions.
The findings of this study highlight the importance of affordability, job opportunities, and mobility, reflecting Norwalk’s housing landscape and socioeconomic conditions. According to recent data, homeownership in Norwalk has declined from 65% in 2012 to 55% in 2022, with 47% of renters struggling with housing costs, which makes affordability a key factor in housing decisions. Likewise, mobility factors [
32], such as walkability and access to public transportation, are essential for low- and middle-income residents, particularly those who rely on transit for work and daily needs. While construction quality and architectural aesthetics play a role in real estate markets, their significance could be lower due to economic constraints, where immediate affordability often takes priority over long-term housing attributes.