3.2. Outcome Variables and Sample Refinement
The outcome variables considered in this study included visits, loans, and borrowers per m
2; the corresponding indicators were calculated by dividing the annual number of visits, loans, and borrowers by the library’s gross floor area, respectively. These area-normalized indicators were used to mitigate the advantage of larger libraries in terms of absolute use volume and to facilitate comparisons of use intensity relative to facility size [
6]. However, as the gross floor area did not distinguish among service, shared, and administrative spaces, it did not fully represent the demand relative to the area actually available for library users. This limitation is discussed separately in
Section 5.7 (Limitations).
The sample refinement process for the final analytical datasets is summarized in
Table 2. From the 485 libraries in the original dataset, 132 were excluded because of missing or invalid data on gross floor area and outcome-related use data. An additional 18 libraries were excluded from the “visits per m
2” analysis because of missing derived outcome values; furthermore, 33 additional libraries were excluded from the analyses of loans and borrowers per m
2 because of missing use data or the lack of derived outcome values. Thus, the final analytical samples comprised 335 libraries for visits per m
2 and 320 libraries for each of loans and borrowers per m
2.
3.3. Analytical Framework and Model Specification
The predictor variables comprised the number of urban facilities located within 1- and 2-km catchments surrounding each library. Candidate variables included academies, cafés, cinemas, subway stations, bus stops, parks, schools (elementary, middle, and high schools), and supermarkets. The final models for each outcome variable included a subset of these catchment-specific variables based on diagnostic results and the variable selection procedure.
The candidate predictor set was narrowed once, before estimating any of the reported models, based on two preliminary diagnostics: severe multicollinearity between the 1- and 2-km versions of school-count variables (variance inflation factor [VIF] as high as 84 for elementary schools at 2 km), and weak or inconsistent agreement between independently sourced computations of the park and 2-km bus-stop variables. Elementary, middle, and high schools and parks were accordingly retained at 1 km only, while cafés, cinemas, supermarkets, subway stations, bus stops, and academies retained both 1- and 2-km versions. This resulting 17-variable candidate set, together with city fixed effects, was then applied identically to all three outcome variables (visits, loans, and borrowers per m2) and all three model families (OLS, SAR, and SEM); no further outcome-specific variable elimination occurred at the estimation stage.
The rationale for selecting each predictor is as follows. Academies represent major destinations for students and parents engaged in recurring education-related travel and may therefore generate usage patterns that complement those of nearby public libraries [
20]. Cafés were included as proxies for complementary use because, according to Ray Oldenburg’s Third Place theory [
21], they function as venues for leisure, learning, and extended stays within individuals’ routine activity spaces in ways similar to public libraries. Cinemas were included as potentially competing leisure facilities that may substitute for library use during discretionary leisure time. Subway stations and bus stops were included as indicators of public transportation accessibility, reflecting high-density commercial characteristics typically associated with transportation hubs. Consequently, the direction of their associations with library use was expected to be ambiguous. Parks, schools, and supermarkets were included as background variables to control for the general density of public, educational, and commercial facilities within the surrounding urban environment. Variables representing 1- and 2-km catchments for the same facility type were initially constructed to distinguish between walkable neighborhoods and broader activity areas.
The academy variable was constructed using education office records of registered private academies. The addresses in the official dataset were geocoded using the Kakao Local API, and the resulting coordinates were used to calculate the number of officially registered academies within 1- and 2-km catchments of each library.
The reference dates of the datasets were not completely aligned. The library use statistics represented the annual usage for 2024, while the official bus-stop dataset corresponded to the version dated 31 October 2025. Kakao geocoding was performed on 8 June 2026. Accordingly, the urban facility variables should be interpreted as cross-sectional proxies for the recent urban environment and not as exposure measures that correspond exactly to the same year as the library use statistics for 2024.
Socioeconomic variables, such as population, income, and age structure, were not included in the final models. Rather than estimating a causal model that fully controlled for demographic and socioeconomic characteristics, the present study focuses on exploring the spatial associations between urban facility POI variables and public library use intensity. Although city fixed effects were included to account for average differences across metropolitan cities, the socioeconomic heterogeneity within the cities was not fully controlled. Therefore, the estimated relationships should be interpreted as conditional associations rather than as independent causal effects of urban facility variables. This issue is discussed further in
Section 5.7.
Table 3 presents the data sources and final datasets used in this study.
3.4. Analytical Procedure
The analytical procedure comprised several sequential steps. First, the analytical sample was determined for each outcome variable. Next, spatial autocorrelation was assessed using Moran’s I computed from the observed outcome values. An OLS model with city fixed effects was then estimated, and Moran’s I tests were conducted on the residuals. Subsequently, Anselin–Florax and robust LM diagnostics were applied, followed by comparisons of the OLS, SAR, and SEM specifications. For outcome variables for which the SAR model was selected, the direct, indirect, and total impacts were estimated. Finally, local spatial heterogeneity was explored using GWR.
The OLS, SAR, and SEM specifications can be expressed as shown below in Equations (1)–(3), respectively:
In the current study, KNN-8 was used as the primary algorithm. The robustness of this model was evaluated through sensitivity analyses using KNN-5, KNN-6, and KNN-10. The choice of
k in a KNN spatial weights matrix has no universally correct value: as Gerkman and Ahlgren [
30] note in their review of practices in the applied spatial econometrics literature, “the number
k is usually unknown, and must be inferred from the data” (cf. [
22], p. 162). It is generally established through sensitivity analysis across a plausible range rather than a fixed rule of thumb, which is the approach followed here. For bus stops within the 2-km catchment, the maximum VIF was 8.88. The VIF values for academy density were 3.11 and 3.72 for the 1- and 2-km catchments, respectively, while those for café density were 3.53 and 4.36, respectively. Although café density was significant in some models, it was not included in the main interpretation because of potential multicollinearity and its role as a general proxy for urban amenities. Neighbor relationships under KNN-8 were computed on unprojected coordinates without imposing city-level constraints. In practice, only 4 of 2680 directed neighbor edges (0.15%) for the visits per m
2 sample crossed metropolitan city boundaries. Although the resulting spatial weights matrix ensured that each library had eight neighbors, it did not form a single connected graph; instead, it was partitioned into five weakly connected components corresponding to geographically distinct metro-area clusters. As a robustness check, the SAR models for visits and loans per m
2 were re-estimated under a Voronoi-tessellation rook-contiguity matrix and a 2-km distance-band matrix (projected to EPSG:32652). The academy-density association within 1 km remained positive and significant under both alternative specifications (
p ≤ 0.022 in all cases;
Table S4). However, the estimated SAR parameter ρ varied across spatial weights matrixes, taking values of 0.48, 0.36, and 0.15 under the KNN-8, Voronoi, and the distance-band specifications, respectively. This pattern is consistent with ρ being scaled by the connectivity density of the spatial weights matrix and therefore does not represent an absolute, specification-invariant quantity.
For borrowers per m
2, the Moran’s
I test on the residuals of the OLS model with city fixed effects and the robust LM diagnostic results were both nonsignificant. Accordingly, the final interpretation was based on the OLS model and not an SAR specification. As GWR served a different analytical purpose from SAR, we considered it a separate exploratory analysis. City fixed effects were not included in the GWR models because city dummy variables could absorb most location-based variations captured by local regression or reduce the stability of local design matrixes in cities with relatively small sample sizes. This design choice follows general guidance on GWR specification, which cautions against including spatially clustered categorical or grouping variables in GWR models because of the risk of local multicollinearity in the local design matrixes [
31]. Therefore, the GWR results were interpreted as supplementary evidence of spatial heterogeneity rather than being considered as confirmatory results supporting the SAR and OLS models. The GWR models further used a reduced six-variable specification consisting of academy (1 km), café (1 km), cinema (2 km), bus-stop (1 km), subway-station (2 km), and high-school (1 km) densities, rather than the full 17-variable SAR/OLS specification. This reduced specification retained one representative predictor from each of the education, culture, transportation, and commerce categories used in our earlier physical-factor study of Busan public libraries [
6], thereby preserving degrees of freedom given the local bandwidths (128–266 neighboring observations). However, this set does not precisely reproduce the variable and radius choices of that earlier study. Consequently, GWR and SAR/OLS coefficients differed in both the inclusion of city fixed effects and the predictor set used and should not be compared directly in magnitude.
The statistical significance of Moran’s I was evaluated using 999 permutations. The SAR and SEM models were estimated using maximum likelihood with spreg.ML_Lag and spreg.ML_Error, respectively. The GWR analyses were conducted using the UTM Zone 52N (EPSG:32652) projected coordinate system, an adaptive bisquare kernel, and bandwidth selection based on the corrected Akaike Information Criterion (AICc). The analytical environment comprised Python 3.13.9 with libpysal 4.14.1, esda 2.9.0, spreg 1.9.0, and mgwr 2.2.1 (Python Software Foundation, Wilmington, DE, USA).