| 研究生: |
葉瀚元 Yeh, Han-Yuan |
|---|---|
| 論文名稱: |
空間干擾下之價格彈性估計:一種去偏學習方法 Price Elasticity Estimation under Spatial Confounding: A Debiased Learning Approach |
| 指導教授: |
莊皓鈞
Chuang, Howard Hao-Chun 周彥君 Chou,Yen-Chun |
| 口試委員: |
周平
Chou, Ping |
| 學位類別: |
碩士
Master |
| 系所名稱: |
商學院 - 資訊管理學系 Department of Management Information System |
| 論文出版年: | 2026 |
| 畢業學年度: | 114 |
| 語文別: | 中文 |
| 論文頁數: | 81 |
| 中文關鍵詞: | 價格彈性 、雙重機器學習 、空間混淆 、莫蘭特徵向量映射 、地理加權迴歸 、雲端發票價格彈性估計 |
| 外文關鍵詞: | Price Elasticity, Double Machine Learning, Spatial Confounding, Moran's Eigenvector Maps, Geographically Weighted Regression, Price Elasticity estimation with cloud invoice data |
| 相關次數: | 點閱:14 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
價格彈性是數位平台與零售市場制定定價策略的重要依據,但其估計本質上是一個因果推論問題。若價格與需求同時受到未觀測因素影響,傳統迴歸或純預測模型便可能將混淆相關誤認為價格效果。雙重機器學習(Double Machine Learning, DML)因能處理高維度可觀測混淆,已逐漸成為估計價格因果效果的重要工具。實務上,Alibaba 旗下天貓超市的促銷定價系統即透過 DML 控制行銷活動、節慶與天氣等混淆因素,以估計價格對銷量的因果效應 (Deng et al. 2023),這顯示價格彈性估計與 DML 方法已同時具有學術與業界應用價值。然而在真實資料中,商圈群聚、區域消費習慣等未觀測地理背景,往往會同時牽動價格與需求,形成空間混淆(spatial confounding)。若忽略此類共同空間結構,價格彈性估計可能產生偏誤,局部係數模型也可能將殘留空間背景誤讀為真實異質性。
為處理上述問題,本文提出一套結合 DML、莫蘭特徵向量映射(Moran’s eigenvector maps, MEM)與地理加權迴歸(geographically weighted regression, GWR)的兩階段估計流程。第一階段將 MEM 作為由座標資訊建構的空間代理變數,納入 DML 正交化模型,以降低價格殘差與需求殘差中的共同空間結構。第二階段則在正交化後的殘差上估計價格彈性,並依研究目的使用全域 OLS 或 GWR 還原局部價格彈性表面。由於真實資料中無法觀測真實價格彈性與空間混淆樣態,本文進一步貼合真實零售情境設計模擬實驗,比較 MEM 核函數、MEM 保留數量、交叉配適切分方式與第一階段正交化模型,並以偏誤、空間混淆殘留、local coefficient RMSE 與空間相關係數評估方法表現。
模擬結果顯示,在空間共享同一價格彈性且存在空間混淆的情境中,未加入空間代理變數的 Naive DML 與僅控制線性座標的 DML 仍保留明顯偏誤,加入 MEM 後則能將全域價格彈性估計拉回真值附近。進一步在有空間異質性係數情境下的模擬顯示,若直接使用原始價格與需求進行 Naive GWR,局部係數容易受到空間混淆污染。相對地,DML-MEM-GWR 先降低共同空間混淆,再估計局部係數,因而能降低 local coefficient RMSE 並重建真實係數表面的空間起伏。當真實效果接近同質時,GWR 會透過留一交叉驗證(leave-one-out cross-validation, LOO-CV)選擇接近全域的帶寬,使各位置的係數估計趨近同質,並接近 DML-MEM-OLS 的估計結果,未呈現明顯的假異質性。
本文最後將此流程應用於台灣雲端發票瓶裝水品項資料。實證結果顯示,在第一階段同時控制時間、交易行為、供給結構與水品類固定差異後,加入 MEM 仍能使五個水品類的價量殘差共同空間結構下降,五品類價量殘差雙變數莫蘭指數方均根(\mathrm{RMS}\left(I_{PD}\right))相對 DML baseline 約降低 79.4%。第二階段先以交互 OLS 估計各水品類的全域價格彈性,再以逐品類 GWR 估計各鄉鎮的局部係數。結果顯示,鹼性水與氣泡水的需求對價格較敏感,純水與礦泉水則較不敏感。五個水品類的 GWR 均選擇涵蓋該品類全部鄉鎮的帶寬,逐品類局部係數以各品類的全域水準為中心呈現平緩變化。整體而言,本研究提出的 DML-MEM-GWR 框架提供一套具體的實作流程,可為數位平台、零售市場與區域定價決策提供更具因果可信度的實證基礎。
Price elasticity is a key input for pricing decisions in digital platforms and retail markets, but its estimation is fundamentally a causal inference problem. When price and demand are jointly affected by unobserved factors, conventional regression or purely predictive models may mistake confounded association for a price effect. Double Machine Learning (DML) has become an important tool for estimating causal price effects because it can adjust for high-dimensional observed confounders. In practice, Alibaba’s Tmall Supermarket promotion pricing system uses DML to control for marketing campaigns, holidays, weather, and other confounders when estimating the causal effect of price on sales (Deng et al. 2023), showing that price elasticity estimation with DML has both academic and industrial relevance. However, in real-world data, unobserved geographic backgrounds such as business-district clustering and regional consumption habits may jointly affect price and demand, creating spatial confounding. If such shared spatial structure is ignored, price elasticity estimates may be biased, and local coefficient models may mistake residual spatial background for genuine heterogeneity.
To address this problem, this study proposes a two-stage framework that combines DML, Moran’s eigenvector maps (MEM), and geographically weighted regression (GWR). In the first stage, MEM is used as a coordinate-based spatial proxy in the DML orthogonalization model to reduce shared spatial structure in price and demand residuals. In the second stage, price elasticity is estimated from the orthogonalized residuals using either global OLS or GWR, depending on the research objective. Because true elasticity and spatial confounding patterns are unobservable in real data, this study designs simulation experiments that reflect realistic retail settings and compares MEM kernels, MEM counts, cross-fitting splits, and first-stage orthogonalization learners using bias, spatial confounder leakage, local coefficient RMSE, and spatial correlation.
The simulation results show that, when price elasticity is spatially shared and spatial confounding is present, Naive DML and DML with only linear coordinate controls remain substantially biased, whereas adding MEM brings the global elasticity estimate close to the true value. Further simulations with spatially heterogeneous coefficients show that Naive GWR applied directly to raw price and demand is easily contaminated by spatial confounding. By contrast, DML-MEM-GWR first reduces shared spatial confounding and then estimates local coefficients, thereby lowering local coefficient RMSE and recovering the spatial variation of the true coefficient surface. When the true effect is close to homogeneous, GWR selects a near-global bandwidth through leave-one-out cross-validation (LOO-CV), causing the location-specific coefficient estimates to converge toward a homogeneous pattern and approach the DML-MEM-OLS estimate without exhibiting substantial false heterogeneity.
Finally, the framework is applied to Taiwan cloud invoice data for bottled water products. The empirical results show that, after controlling for time composition, transaction behavior, basic supply structure, and water-type fixed differences in the first stage, adding MEM still reduces the shared spatial structure in price and demand residuals. The root mean square of the five water-type price-demand bivariate Moran’s I values (\mathrm{RMS}\left(I_{PD}\right)) falls by about 79.4% relative to the DML baseline. In the second stage, interaction OLS estimates global elasticities by water type, and water-type-specific GWR estimates township-level local coefficients. The estimates show that alkaline water and sparkling water are more price-sensitive, whereas purified water and mineral water are less price-sensitive. GWR selects a bandwidth covering all available townships within each water type, and the local coefficients vary smoothly around the corresponding water-type-level elasticities. Overall, the proposed DML-MEM-GWR framework provides a concrete workflow for producing more causally credible empirical evidence for digital platforms, retail markets, and regional pricing decisions.
摘要 i
Abstract iii
目錄 vi
圖目錄 viii
表目錄 x
第一章 緒論 1
第二章 文獻探討 4
第一節 價格彈性 4
第二節 因果機器學習 5
第三章 方法背景 8
第一節 雙重機器學習 8
第二節 莫蘭特徵向量映射(MEM) 13
第三節 空間權重矩陣 15
第四節 地理加權迴歸與局部價格彈性 17
第四章 同質價格彈性的 DML-MEM 空間去混淆 20
第一節 同質價格彈性情境與空間混淆設計 20
第二節 模擬資料合理性與空間混淆強度檢查 24
第三節 DML-MEM 實驗設計與全域係數還原 26
第四節 完整配置的配對比較與全域空間混淆殘留診斷 29
第五節 隨機切分條件下的配置維度分析 30
第六節 無空間混淆情境的穩健性檢查 33
第五章 異質價格彈性的 DML-MEM-GWR 局部估計 35
第一節 異質價格彈性資料生成 35
第二節 GWR 局部係數估計與機制診斷 38
第三節 DML-MEM-GWR 實驗設計與局部係數還原 42
第四節 完整配置比較與局部混淆診斷 48
第五節 隨機切分條件下的配置維度分析 50
第六節 係數異質性與空間背景的穩健性檢查 57
第六章 雲端發票瓶裝水的空間去混淆實證研究 63
第一節 資料來源與交易還原流程 63
第二節 分析單元與價量變數定義 65
第三節 第一階段正交化特徵設計 66
第四節 正交化後的殘差診斷 68
第五節 全域與局部價格彈性估計 70
第七章 結論與未來展望 74
第一節 研究總結 74
第二節 研究限制 76
第三節 未來展望 77
參考文獻 79
Belloni, A., V. Chernozhukov, and C. Hansen (2014). “Inference on Treatment Effects after Selection among High-Dimensional Controls”. In: The Review of Economic Studies 81.2, pp. 608–650. DOI: 10.1093/restud/rdt044.
Brunsdon, C., A. S. Fotheringham, and M. Charlton (2002). “Geographically Weighted Summary Statistics—A Framework for Localised Exploratory Data Analysis”. In: Computers, Environment and Urban Systems 26.6, pp. 501–524. DOI: 10.1016/S0198-9715(01)00009-6.
Brunsdon, C., A. S. Fotheringham, and M. E. Charlton (1996). “Geographically Weighted Regression: A Method for Exploring Spatial Nonstationarity”. In: Geographical Analysis 28.4, pp. 281–298. DOI: 10.1111/j.1538-4632.1996.tb00936.x.
Chernozhukov, V., D. Chetverikov, M. Demirer, E. Duflo, C. Hansen, W. Newey, and J. Robins (2018). “Double/debiased machine learning for treatment and structural parameters”. In: The Econometrics Journal 21.1, pp. C1–C68. DOI: 10.1111/ectj.12097.
Deng, Y., X. Zhang, T. Wang, L. Wang, Y. Zhang, X. Wang, S. Zhao, Y. Qi, G. Yang, and X. Peng (2023). “Alibaba Realizes Millions in Cost Savings Through Integrated Demand Forecasting, Inventory Management, Price Optimization, and Product Recommendations”. In: INFORMS Journal on Applied Analytics 53.1, pp. 32–46. DOI: 10.1287/inte.2022.1145.
Dray, S., P. Legendre, and P. R. Peres-Neto (2006). “Spatial modelling: A comprehensive framework for principal coordinate analysis of neighbour matrices (PCNM)”. In: Ecological Modelling 196.3–4, pp. 483–493. DOI: 10.1016/j.ecolmodel.2006.02.015.
Fuhr, J. and D. Papies (2024). “Double Machine Learning meets Panel Data—Promises, Pitfalls, and Potential Solutions”. In: arXiv preprint arXiv:2409.01266. DOI: 10.48550/arXiv.2409.01266.
Gelfand, A. E., H.-J. Kim, C. F. Sirmans, and S. Banerjee (2003). “Spatial Modeling With Spatially Varying Coefficient Processes”. In: Journal of the American Statistical Association 98.462, pp. 387–396. DOI: 10.1198/016214503000170.
Gilbert, B., A. Datta, J. A. Casey, and E. L. Ogburn (2024). “A causal inference framework for spatial confounding”. In: arXiv preprint arXiv:2112.14946. DOI: 10.48550/arXiv.2112.14946.
Haschka, R. E. and H. Herwartz (2025). “Utilizing managerial beliefs for set identification of price elasticities of demand”. In: Journal of the Academy of Marketing Science 53.5, pp. 1482–1505. DOI: 10.1007/s11747-025-01090-9.
Hoang, N.-D. (2025). “Machine Learning Approaches for Geospatial Modeling of Urban Land Surface Temperature: Assessing Geographical Compactness, Interpretability, and Causal Inference”. In: Sensors 25.17, p. 5380. DOI: 10.3390/s25175380.
Huang, W. (2025). “Real-Time Price Elasticity Online Learning for Multi-Store Margin Lift”. In: Applied and Computational Engineering 197.1, pp. 199–204. DOI: 10.54254/2755-2721/2025.29684.
Moran, P. A. P. (1950). “Notes on Continuous Stochastic Phenomena”. In: Biometrika 37.1/2, pp. 17–23. DOI: 10.1093/biomet/37.1-2.17.
Mulomba, C. M., V. M. Kiketa, D. M. Kutangila, P. H. K. Mampuya, J. N. Mukenze, L. M. Kasunzi, K. Kyamakya, T. Tashev, and S. K. Kasereka (2025). “Applying Causal Machine Learning to Spatiotemporal Data Analysis: An Investigation of Opportunities and Challenges”. In: IEEE Access 13, pp. 141832–141857. DOI: 10.1109/ACCESS.2025.3596680.
Nie, X. and S. Wager (2021). “Quasi-Oracle Estimation of Heterogeneous Treatment Effects”. In: Biometrika 108.2, pp. 299–319. DOI: 10.1093/biomet/asaa076.
Plant, R. (2023). Moran Eigenvector Spatial Filtering. Spatial Data Analysis in Ecology and Agriculture Using R, Second Edition. URL: http://psfaculty.plantsciences.ucdavis.edu/plant/sda2.htm.
Purwaningsih, T., Erfiani, and A. Djuraidah (2015). “Comparison of Uniform and Kernel Gaussian Weight Matrix in Generalized Spatial Panel Data Model”. In: Open Journal of Statistics 5.1, pp. 90–95. DOI: 10.4236/ojs.2015.51011.
Rafizadeh, N. (2025). Targeted Interpretability for Causal Accuracy: Evidence from the Price Elasticity of Gasoline Demand. SSRN Scholarly Paper No. 4771121, revised June 7, 2025. DOI: 10.2139/ssrn.4771121. URL: https://ssrn.com/abstract=4771121.
Rey, S., L. J. Wolf, J. Gaboardi, D. Arribas-Bel, L. Hachadoorian, M. Fleischmann, W. Kang, E. Knaap, mhwang4, J. Laura, P. Stephens, C. Schmidt, S. Lumnitz, D. C. Folch, J. C. Duque, L. Anselin, N. Malizia, Filipe, T. Louf, G. Barcelos, J. Parry, M. Rariden, matthewborish, J. Sauer, JasonSteelmanCoder, L. Morales, mlyons-tcc, M. Seth, and N. M. Beaver (Mar. 2026). pysal/esda: v2.9.0. Version v2.9.0. DOI: 10.5281/zenodo.19140557. URL: https://doi.org/10.5281/zenodo.19140557.
Semenova, V. and V. Chernozhukov (2021). “Debiased Machine Learning of Conditional Average Treatment Effects and Other Causal Functions”. In: The Econometrics Journal 24.2, pp. 264–289. DOI: 10.1093/ectj/utaa027.
Shorrocks, A. F. (1982). “Inequality Decomposition by Factor Components”. In: Econometrica 50.1, pp. 193–211. DOI: 10.2307/1912537.
Tiedemann, S., R. Sgarlato, and L. Hirth (2023). “Price elasticity of electricity demand: Using instrumental variable regressions to address endogeneity and autocorrelation of high-frequency time series”. In: arXiv preprint arXiv:2306.12863. DOI: 10.48550/arXiv.2306.12863.
Wang, Y. and Q. Liu (2025). “Estimation of High-Dimensional Contextual Pricing Models with Nonparametric Price Confounders”. In: Operations Research 73.6, pp. 3065–3084. DOI: 10.1287/opre.2024.1002.
Xiao, Z., C. Li, S. Pan, G. Wei, M. Tian, and R. Hu (2022). “Exploring the Spatial Impact of Multisource Data on Urban Vitality: A Causal Machine Learning Method”. In: Wireless Communications and Mobile Computing 2022.1, p. 5263376. DOI: 10.1155/2022/5263376.
全文公開日期 2031/08/17