선정목록으로
A Hierarchical and Geographically Weighted Regression Model and Its Backfitting Maximum Likelihood Estimator (Short Paper)
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.4230/lipics.giscience.2023.39
- 저널
- Leibniz-Zentrum für Informatik (Schloss Dagstuhl)
- 발행년도
- 2023
- 발행기관
- Schloss Dagstuhl – Leibniz Center for Informatics
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.GIScience.2023.39
- 토픽
- Laser Material Processing Techniques
- OpenAlex ID
- W6928987695
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Spatial heterogeneity is a typical and common form of spatial effect. Geographically weighted regression (GWR) and its extensions are important local modeling techniques for exploring spatial heterogeneity. However, when dealing with spatial data sampled at a micro-level but the geographical locations of them are only known at a higher level, GWR-based models encounter several problems, such as difficulty in establishing the bandwidth. Because data with this characteristic exhibit spatial hierarchical structures, such data can be suitably handled using hierarchical linear modeling (HLM). This model calibrates random effects for sample-level variables in each group to address spatial heterogeneity. However, it does not work when exploring spatial heterogeneity in some group-level variables when there is insufficient variance in each group. In this study, we therefore propose a hierarchical and geographically weighted regression (HGWR) model, together with a back-fitting maximum likelihood estimator, that can be applied to examine spatial heterogeneity in the regression relationships of data where observations nest into high-order groupings and share the same or very close coordinates within those groups. The HGWR model divides coefficients into three types: local fixed effects, global fixed effects, and random effects. Results of a simulation experiment show that HGWR distinguishes local fixed effects from others and also global effects from random effects. Spatial heterogeneity is reflected in the estimates of local fixed effects, along with the spatial hierarchical structure. Compared with GWR and HLM, HGWR produces estimates with the lowest deviations of coefficient estimates. Thus, the ability of HGWR to tackle both spatial and group-level heterogeneity simultaneously suggests its potential as a promising data modeling tool for handling the increasingly common occurrence where data, in secure settings for example, remove the specific geographic identifiers of individuals and release their locations only at a group level.
본문 19,065자
본문 펼치기
# A Hierarchical and Geographically Weighted Regression Model and Its Backfitting Maximum Likelihood Estimator
Yigong Hu <sup>1</sup> [�](mailto:yigong.hu@bristol.ac.uk)
School of Geographical Sciences, University of Bristol, UK
Richard Harris [�](mailto:rich.harris@bristol.ac.uk)
School of Geographical Sciences, University of Bristol, UK
Richard Timmerman [�](mailto:richard.timmerman@bristol.ac.uk)
School of Geographical Sciences, University of Bristol, UK
Binbin Lu [�](mailto:binbinlu@whu.edu.cn)
School of Remote Sensing and Information Engineering, Wuhan University, Hubei, China
~~Abstract~~
Spatial heterogeneity is a typical and common form of spatial effect. Geographically weighted
regression (GWR) and its extensions are important local modeling techniques for exploring spatial
heterogeneity. However, when dealing with spatial data sampled at a micro-level but the geographical
locations of them are only known at a higher level, GWR-based models encounter several problems,
such as difficulty in establishing the bandwidth. Because data with this characteristic exhibit spatial
hierarchical structures, such data can be suitably handled using hierarchical linear modeling (HLM).
This model calibrates random effects for sample-level variables in each group to address spatial
heterogeneity. However, it does not work when exploring spatial heterogeneity in some group-level
variables when there is insufficient variance in each group. In this study, we therefore propose a
hierarchical and geographically weighted regression (HGWR) model, together with a back-fitting
maximum likelihood estimator, that can be applied to examine spatial heterogeneity in the regression
relationships of data where observations nest into high-order groupings and share the same or very
close coordinates within those groups. The HGWR model divides coefficients into three types:
local fixed effects, global fixed effects, and random effects. Results of a simulation experiment
show that HGWR distinguishes local fixed effects from others and also global effects from random
effects. Spatial heterogeneity is reflected in the estimates of local fixed effects, along with the spatial
hierarchical structure. Compared with GWR and HLM, HGWR produces estimates with the lowest
deviations of coefficient estimates. Thus, the ability of HGWR to tackle both spatial and group-level
heterogeneity simultaneously suggests its potential as a promising data modeling tool for handling
the increasingly common occurrence where data, in secure settings for example, remove the specific
geographic identifiers of individuals and release their locations only at a group level.
2012 ACM Subject Classification Information systems _→_ Geographic information systems
Keywords and phrases spatial modelling, hierarchical data, spatial heterogeneity, geographically
weighted regression
Digital Object Identifier [10.4230/LIPIcs.GIScience.2023.39](https://doi.org/10.4230/LIPIcs.GIScience.2023.39)
Category Short Paper
Supplementary Material _Software_ _(Source_ _code)_ : `[https://github.com/hpdell/hgwr](https://github.com/hpdell/hgwr)`
archived at `[swh:1:dir:c9c2bab2a6428b8d3b6d25a3da472653018a7fae](https://archive.softwareheritage.org/swh:1:dir:c9c2bab2a6428b8d3b6d25a3da472653018a7fae;origin=https://github.com/hpdell/hgwr;visit=swh:1:snp:ac6152effc869b50452be7146fa3c2f22be3c832;anchor=swh:1:rev:5cf813fe785f8c86b821acf9a930f6a1d15d79e9)`
_Text_ _(Blog_ _post)_ : `[https://hpdell.github.io/GIScience-Materials/posts/HGWR/](https://hpdell.github.io/GIScience-Materials/posts/HGWR/)`
Funding _Yigong_ _Hu_ : Yigong Hu was sponsored by the China Scholarship Council with the University
of Bristol (No. 202106270029).
1 Corresponding author.
© Yigong Hu, Richard Harris, Richard Timmerman, and Binbin Lu;
licensed under Creative Commons License CC-BY 4.0
12th International Conference on Geographic Information Science (GIScience 2023).
Editors: Roger Beecham, Jed A. Long, Dianna Smith, Qunshan Zhao, and Sarah Wise; Article No. 39; pp. 39:1–39:6
Leibniz International [Proceedings](https://www.dagstuhl.de/lipics/) in Informatics
Schloss Dagstuhl - Leibniz-Zentrum für [Informatik,](https://www.dagstuhl.de) Dagstuhl Publishing, Germany
39:2 A HGWR Model and Its BFML Estimator
<mark>1</mark> Introduction
In statistics and data analysis, regression models are powerful tools in examining relationships
in data. However, the ordinary linear regression, as a model of global relationships, holds many
limitations in dealing with spatial data [5] because the relationship between variables may not
keep constant across the whole area. In spatial statistics, this phenomenon is called “spatial
heterogeneity” [2]. To uncover such an effect, many local-form spatial statistic methods are
proposed to discover underlying spatial heterogeneity in data [5]. The geographically weighted
regression (GWR) [3] model and its extensions are popular ones. These methods calibrate a
unique model at each location to produce spatially varying coefficients by borrowing samples
from its geographical neighbors defined by spatial distances. Shorter distance gives rise to
higher weighting. Among its extensions, the multiscale GWR (MGWR) [6, 9] has many
attractive features. MGWR specifics a unique bandwidth for each coefficient to improve the
goodness of fit and prediction accuracy [9]. The hierarchical linear model [10], is also an
important method for finding spatial heterogeneity in data of hierarchical structure. When
samples are grouped by their locations, HLM calibrates some effects for samples in each
group (called “random effects”) to fit for spatially varying relationships, whereas other effects
are treated as “fixed effects” that are constant for all groups [8].
In recent years, spatially hierarchical data have become increasingly popular in real world
analysis since samples can be naturally nested in different spatial scales. For example, in the
Biobank database [1] which consists of health information from 0.5 million UK participants,
their addresses are nested into 1km-by-1km grid cells to protect their privacy. With the
development of spatial big data and improved access to administrative data through secure
data settings, it is increasingly common to find data sets where the attributes of the sample
are available at a different geographic scale to their geographical identifiers. In spatial data
of hierarchical structures, effects of variables may work in different ways. For example, grouplevel variables - that keep constant within groups - may have global or local effects, and
sample-level variables are the same. No matter which variables, the basic GWR model always
treat their effects as local ones, and estimate them by data borrowing from geographical
neighbors. When dealing with group-level variables, the repeated values increase the risk of
singular matrix. MGWR works similarly, only that it assigns variable-specified bandwidth
settings and variables of global effects will be assigned a huge bandwidth up to infinity to
estimate global effects. Fixed effects and random effects in HLM can be used to discover
global and local effects, respectively. Fixed effects can be estimated for both group-level
variables and sample-level variables. However, random effects only work for sample-level
variables, which vary among individuals as opposed to the group-level ones. Because values of
group-level variables are determined by their locations. Thus, there is no sufficient variation
to calibrate random effects for them within each group. We need a special method to properly
estimate effects of the variables with spatial heterogeneity.
In this article, we propose a hierarchical and geographically weighted regression (HGWR)
model and its estimator based on backfitting and maximum likelihood (BFML) algorithms to
solve the above-mentioned issues. This model calibrates two types of fixed effects – local fixed
effects and global fixed effects - and random effects. We conducted a simulation experiment
to ascertain whether HGWR could successfully distinguish local effects from other effects.
We also compared its performance with GWR, MGWR, and HLM.
<mark>2</mark> Model
The HGWR model is designed for data with a spatially hierarchical structure. In a data set
with _n_ samples divided in _m_ groups according to their locations, the variance of dependent
variable _y_ can be explained with the following three parts: local-fixed effects _γ_ for variables
Y. Hu, R. Harris, R. Timmerman, and B. Lu 39:3
_G_ that vary with location; global-fixed effects _β_ for variables _X_ that are constant across the
whole area; and random effects _µ_ for variables _Z_ that vary from group to group. The model
for sample _j_ in group _i_ can be expressed as Equation 1,
_yij_ = _G_ _i_ _γ_ _i_ + _X_ _i_ _β_ + _Z_ _ij_ _µ_ _i_ + _ϵij_ (1)
where _γ_ _i_, _β_ _i_ and _µ_ _i_ are coefficients of local fixed effects, global fixed effects, and random
effects respectively; _ϵ_ _ij_ is the remaining random error. Then this model can be written in a
matrix from as Equation 2,
_y_ = diag _{_ _Gγ_ _}_ + _Xβ_ + _Zµ_ + _ϵ_ (2)
where _γ_ = ( _γ_ 1 _,_ _γ_ 2 _, · · ·_ _,_ _γ_ _m_ ),
_X_ 1
_X_ 2
...
_X_ _m_
_Z_ 1
...
_µ_ _m_
<sup>_,_</sup> <sup>_X_</sup> <sup>=</sup>
<sup>_,_</sup> <sup>_Z_</sup> <sup>=</sup>
<sup>_,_</sup>
_µ_ 1
_µ_ 2
_Z_ 2
_G_ =
...
_G_ _m_
_G_ 1
_G_ 2
...
<sup>_µ_</sup> <sup>=</sup>
_Z_ _m_
_µ_ _∼_ _N_ (0 _, σ_ <sup>2</sup> _D_ ), and _ϵ_ _∼_ _N_ (0 _, σ_ <sup>2</sup> _I_ ), and _Gγ_ here is regarded as a product of block matrices,
such that
_G_ 1 _γ_ 1
_G_ 2 _γ_ 2
...
_G_ _m_ _γ_ _m_
<sup>_._</sup>
<sup>_,_</sup> <sup>diag</sup> <sup>_{_</sup> <sup>_Gγ_</sup> <sup>_}_</sup> <sup>=</sup>
_Gγ_ =
_G_ 1 _γ_ 1 _G_ 1 _γ_ 2 _· · ·_ _G_ 1 _γ_ _m_
_G_ 2 _γ_ 1 _G_ 2 _γ_ 2 _· · ·_ _G_ 2 _γ_ _m_
... ... ... ...
_G_ _m_ _γ_ 1 _G_ _m_ _γ_ 2 _· · ·_ _G_ _m_ _γ_ _m_
In this model, coefficients _γ_ 1 _,_ _γ_ 2 _, · · ·_ _,_ _γ_ _m_ are estimated group-by-group as for other GWR
models using weighted least squared estimation [3] with a uniform bandwidth.
A back-fitting procedure, shown in Figure 1, can be applied to estimate parameters in
this model following a similar methodical approach to [4]. In this workflow, when calibrating
local fixed effects _γ_ ˆ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> in each iteration, the algorithm can optimize the bandwidth value
via golden-selection [7] according to the CV criterion. This algorithm is very efficient and
effective in minimizing univariate functions.
<mark>3</mark> Simulation Experiments
To evaluate the performance of HGWR and compare this model with HLM, GWR and
MGWR, some simulation experiments <sup>2</sup> are designed. In particular, the performance was
measured regarding the ability to properly distinguish local fixed effects from global fixed
effects under the circumstance that random effects exist.
A spatial data set of 21,434 random samples was generated that were unevenly spread
across 625 locations. The data generating process was inspired by [6]. For each data
point, four independent variables ( _g_ 1 _,_ _g_ 2 _,_ _x_ 1 _,_ _z_ 1) were generated according to the standard
multivariate normal distribution. To simulate group-level spatial-related variables, the mean
of _g_ 1 and _g_ 2 at each location were substituted for the original values. Samples located
together share coefficient values. Values of the generated coefficients are shown in the first
row of Figure 2. Results of the for models are shown in other rows.
2 Please turn to `[https://hpdell.github.io/GIScience-Materials/posts/HGWR/](https://hpdell.github.io/GIScience-Materials/posts/HGWR/)` for more details.
GIScience 2023
39:4 A HGWR Model and Its BFML Estimator
Start
Read independent variables,
dependent variables and coordinates
Init global fixed effects
and variance matrix
Set terminate threshold
and maximum iteration
Set,
Calculate with
For each u, calculate
local fixed effects
and combine them into
Calculate
Use GLS to estimate
Check terminate criterion
and ?
Calcuate terminate criterion
which is RSS
Calculate random effects
Estimate by maximising likelihood
global fixed effects
Output
End
Figure 1 Diagram of the BFML estimator for HGWR, where RSS = ( _y_ _−_ _y_ ˆ) <sup>T</sup> ( _y_ _−_ _y_ ˆ) and
_y_ ˆ = _Gγ_ ˆ + _Xβ_ <sup>ˆ</sup> + _Z_ ˆ _µ_ .
In the results of GWR, spatial heterogeneity is revealed in estimates for all variables.
Although _β_ <sup>ˆ</sup> 1 should be constant across the study area, GWR still generate spatially varying
estimates for it. This is a kind of over-fitting from the spatial perspective. However, for
estimates of _µ_ 1, they are smoothed compared with actual values, even though the bandwidth
selected is small enough. Because the bandwidth is small, estimates for _γ_ 1 and _γ_ 2 are too
local. Consequently, there are quite a few outliers disrupting the spatial trend.
MGWR partly gets over issues of GWR by adopting parameter-specified bandwidths,
instead of a uniform bandwidth. It performs better when estimating _γ_ 1 and _γ_ 2. For global
fixed effects, MGWR still generates spatially varying estimates, but they vary more slightly
than estimates from GWR. For random effects, the results are slightly smoothed as well.
Besides, MGWR it requires a lot of computing time and memory.
In the results of HLM, there is only one estimate for _β_ 1 across the whole area as well as
estimates for _µ_ 1, the problem lies in estimates for _γ_ 1 and _γ_ 2. As they are fixed effects in
HLM, their estimates are also constant for all samples. However, spatial heterogeneity is
expected in them.
Y. Hu, R. Harris, R. Timmerman, and B. Lu 39:5
α0 γ1 γ2 β1 μ1
20
15
10
5
0
20
15
10
5
0
20
15
10
5
0
20
15
10
5
0
20
15
10
5
0
0 5 10 15 20 0 5 10 15 20 0 5 10 15 20 0 5 10 15 20 0 5 10 15 20
u
Value 0 1 2 3 4
Figure 2 Real values and estimated values.
HGWR is the final solution. For global fixed effects, it generates globally constant
estimates for all samples. For random effects, it does not smooth the estimates because they
are not obtained by borrowing points. And for local fixed effects, we can discover spatial
heterogeneity from their estimates. And it does not repeat computation for samples at each
location. Computationally, it is more efficient because it does not repeat geographically
weighted fitting at every sample within a higher-level group where models are the same. On
the dataset used in the experiment, calibrating the HGWR model only took 6.06 seconds,
which reduced the calculation time by 4 minutes compared to GWR (3.55 mins); and reduced
it by nearly 4.4 hours compared to MGWR (4.41 hours) paralleled by 48 threads. These
findings have been double-checked via repeating the experiment 100 times.
GIScience 2023
39:6 A HGWR Model and Its BFML Estimator
<mark>4</mark> Conclusion
In this article we proposed a BFML estimator for a HGWR model. Compared with HLM,
this method divides fixed effects into global and local effects. For local fixed effects, this
model applies a spatial heterogeneity assumption and estimates the effects using the GWR
method. For global fixed effects and random effects, this model adopts a similar method as
in HLM, i.e., maximum likelihood. To facilitate cooperation between the two methods, a
back-fitting procedure was developed. It is demonstrated that HGWR can properly estimate
local fixed effects, global fixed effects, and random effects simultaneously. HGWR can
successfully distinguish local fixed effects from other effect types. For local fixed effects,
spatial heterogeneity is considered as with GWR; moreover, global fixed effects and random
effects are estimated as accurately as when using HLM. Thus, HGWR can be regarded as a
successful combination of GWR and HLM. In this stage, there are some limitations remaining
to be solved, such as convergence conditions and statistical inferences. Nevertheless, with
the popularity of spatiotemporal big data, situations wherein the specific parameters for
which HGWR was optimized are becoming more prevalent, suggesting that HGWR holds
considerable promise as a useful tool for analyzing such data sets.
~~References~~
1 Naomi E. Allen, Cathie Sudlow, Tim Peakman, and Rory Collins. Uk biobank data: Come and
get it. _Science Translational Medicine_, 6(224):1–4, February 2014. `[doi:10.1126/scitranslmed.](https://doi.org/10.1126/scitranslmed.3008601)`
`[3008601](https://doi.org/10.1126/scitranslmed.3008601)` .
2 Luc Anselin. _Spatial_ _Econometrics:_ _Methods_ _and_ _Models_ . Number 4 in Studies in operational
regional science. Kluwer Academic Publishers, Dordrecht, Boston, 1988.
3 Chris Brunsdon, A. Stewart Fotheringham, and Martin E. Charlton. Geographically weighted
regression: A method for exploring spatial nonstationarity. _Geographical_ _Analysis_, 28(4):281–
298, February 1996. `[doi:10.1111/j.1538-4632.1996.tb00936.x](https://doi.org/10.1111/j.1538-4632.1996.tb00936.x)` .
4 Feng Chen, Yee Leung, Chang-Lin Mei, and Tung Fung. Backfitting estimation for geograph
ically weighted regression models with spatial autocorrelation in the response. _Geographical_
_Analysis_, 54(2):357–381, April 2022. `[doi:10.1111/gean.12289](https://doi.org/10.1111/gean.12289)` .
5 A. Stewart Fotheringham and Chris Brunsdon. Local forms of spatial analysis. _Geographical_
_Analysis_, 31(4):340–358, September 2010. `[doi:10.1111/j.1538-4632.1999.tb00989.x](https://doi.org/10.1111/j.1538-4632.1999.tb00989.x)` .
6 A. Stewart Fotheringham, Wenbai Yang, and Wei Kang. Multiscale geographically weighted
regression (mgwr). _Annals_ _of_ _the_ _American_ _Association_ _of_ _Geographers_, 107(6):1247–1265,
November 2017. `[doi:10.1080/24694452.2017.1352480](https://doi.org/10.1080/24694452.2017.1352480)` .
7 Dorothy Margaret Greig. _Optimisation_ . Longman Publishing Group, 1980.
8 A. M. Latimer, S. Banerjee, H. Sang Jr, E. S. Mosher, and J. A. Silander Jr. Hierarchical
models facilitate spatial analysis of large data sets: a case study on invasive plant species
in the northeastern united states. _Ecology_ _Letters_, 12(2):144–154, February 2009. `[doi:](https://doi.org/10.1111/j.1461-0248.2008.01270.x)`
`[10.1111/j.1461-0248.2008.01270.x](https://doi.org/10.1111/j.1461-0248.2008.01270.x)` .
9 Binbin Lu, Chris Brunsdon, Martin Charlton, and Paul Harris. Geographically weighted
regression with parameter-specific distance metrics. _International_ _Journal_ _of_ _Geographical_
_Information_ _Science_, 31(5):982–998, May 2017. `[doi:10.1080/13658816.2016.1263731](https://doi.org/10.1080/13658816.2016.1263731)` .
10 Stephen W. Raudenbush. Hierarchical linear models and experimental design. In _Applied_
_Analysis_ _of_ _Variance_ _in_ _Behavioral_ _Science_, pages 459–496. L. K. Edwards, 1993.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.