IDEAS home Printed from https://ideas.repec.org/a/eee/transa/v192y2025ics0965856424003872.html
   My bibliography  Save this article

Investigating relationships between ridesourcing and public transit using big data analysis and nonlinear machine learning: A case study of Shanghai, China

Author

Listed:
  • Liu, Xinghua
  • Ye, Qian
  • Li, Ye
  • Yang, Kaidi
  • Shao, Xuan

Abstract

Ridesourcing has transformed the landscape of passenger transportation systems in many cities worldwide, but whether it competes with or complements public transport (PT) is still debated, and the literature is limited. Therefore, this study aims to address this knowledge gap by measuring the relationships between the two systems and examining their determinants using a multisource big data analysis and nonlinear machine learning approach, with Shanghai, China, as the study case. First, we used the observed ridesourcing data in Shanghai to compute the fastest PT alternative for each ridesourcing trip based on the Amap open platform and subsequently compared the travel patterns (i.e., distance, duration, and generalized cost) of the two systems. Second, we propose a technical framework that considers the spatiotemporal availability and generalized cost acceptability of PT services, as well as the inclusivity of ridesourcing services, to accurately classify and identify the relationship between ridesourcing and PT systems. Finally, we explored the importance of four types of determinants, namely, ridesourcing characteristics, PT service, built environment, and weather, and their nonlinear effects on different relationships based on extreme gradient boosting and Shapley additive explanations. Our results show that the fastest PT alternative involves an average travel distance, generalized travel time, and generalized cost that are 1.16, 2.13, and 1.15 times greater, respectively, than those of ridesourcing. Competitive trips account for 36% of urban areas but only 16% in the suburbs. Furthermore, more than 70% and 10% of the ridesourcing trips in suburban areas are used to complement and integrate PT, respectively. The nonlinear machine learning framework identified the top three determinants of integration as travel cost, distance to the CBD, and travel time. Notably, determinants such as the distance to the CBD and temperature have nonlinear effects on these relationships. These findings offer valuable insights for designing multimodal transportation options that integrate the benefits of ridesourcing and PT.

Suggested Citation

  • Liu, Xinghua & Ye, Qian & Li, Ye & Yang, Kaidi & Shao, Xuan, 2025. "Investigating relationships between ridesourcing and public transit using big data analysis and nonlinear machine learning: A case study of Shanghai, China," Transportation Research Part A: Policy and Practice, Elsevier, vol. 192(C).
  • Handle: RePEc:eee:transa:v:192:y:2025:i:c:s0965856424003872
    DOI: 10.1016/j.tra.2024.104339
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0965856424003872
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.tra.2024.104339?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Meredith-Karam, Patrick & Kong, Hui & Wang, Shenhao & Zhao, Jinhua, 2021. "The relationship between ridehailing and public transit in Chicago: A comparison before and after COVID-19," Journal of Transport Geography, Elsevier, vol. 97(C).
    2. Zhang, Yufeng & Khani, Alireza, 2021. "Integrating transit systems with ride-sourcing services: A study on the system users’ stochastic equilibrium problem," Transportation Research Part A: Policy and Practice, Elsevier, vol. 150(C), pages 95-123.
    3. Rayle, Lisa & Dai, Danielle & Chan, Nelson & Cervero, Robert & Shaheen, Susan PhD, 2016. "Just A Better Taxi? A Survey-Based Comparison of Taxis, Transit, and Ridesourcing Services in San Francisco," Institute of Transportation Studies, Research Reports, Working Papers, Proceedings qt60v8r346, Institute of Transportation Studies, UC Berkeley.
    4. Hu, Songhua & Chen, Mingyang & Jiang, Yuan & Sun, Wei & Xiong, Chenfeng, 2022. "Examining factors associated with bike-and-ride (BnR) activities around metro stations in large-scale dockless bikesharing systems," Journal of Transport Geography, Elsevier, vol. 98(C).
    5. Ying Ni & Jiaqi Chen, 2020. "Exploring the Effects of the Built Environment on Two Transfer Modes for Metros: Dockless Bike Sharing and Taxis," Sustainability, MDPI, vol. 12(5), pages 1-20, March.
    6. Liao, Yuan, 2021. "Ride-sourcing compared to its public-transit alternative using big trip data," Journal of Transport Geography, Elsevier, vol. 95(C).
    7. Sun, Daniel(Jian) & Ding, Xueqing, 2019. "Spatiotemporal evolution of ridesourcing markets under the new restriction policy: A case study in Shanghai," Transportation Research Part A: Policy and Practice, Elsevier, vol. 130(C), pages 227-239.
    8. Cheng, Yung-Hsiang & Tseng, Wei-Chih, 2016. "Exploring the effects of perceived values, free bus transfer, and penalties on intermodal metro–bus transfer users' intention," Transport Policy, Elsevier, vol. 47(C), pages 127-138.
    9. Ding, Chuan & Cao, Xinyu & Liu, Chao, 2019. "How does the station-area built environment influence Metrorail ridership? Using gradient boosting decision trees to identify non-linear thresholds," Journal of Transport Geography, Elsevier, vol. 77(C), pages 70-78.
    10. Rayle, Lisa & Dai, Danielle & Chan, Nelson & Cervero, Robert & Shaheen, Susan, 2016. "Just a better taxi? A survey-based comparison of taxis, transit, and ridesourcing services in San Francisco," Transport Policy, Elsevier, vol. 45(C), pages 168-178.
    11. Kong, Hui & Zhang, Xiaohu & Zhao, Jinhua, 2020. "How does ridesourcing substitute for public transit? A geospatial perspective in Chengdu, China," Journal of Transport Geography, Elsevier, vol. 86(C).
    12. Aguilera-García, Álvaro & Gomez, Juan & Velázquez, Guillermo & Vassallo, Jose Manuel, 2022. "Ridesourcing vs. traditional taxi services: Understanding users’ choices and preferences in Spain," Transportation Research Part A: Policy and Practice, Elsevier, vol. 155(C), pages 161-178.
    13. Shaheen, Susan PhD & Chan, Nelson, 2016. "Mobility and the Sharing Economy: Potential to Overcome First- and Last-Mile Public Transit Connections," Institute of Transportation Studies, Research Reports, Working Papers, Proceedings qt8042k3d7, Institute of Transportation Studies, UC Berkeley.
    14. Jiang, Yang & Christopher Zegras, P. & Mehndiratta, Shomik, 2012. "Walk the line: station context, corridor type and bus rapid transit walk access in Jinan, China," Journal of Transport Geography, Elsevier, vol. 20(1), pages 1-14.
    15. Yang, Linchuan & Ao, Yibin & Ke, Jintao & Lu, Yi & Liang, Yuan, 2021. "To walk or not to walk? Examining non-linear effects of streetscape greenery on walking propensity of older adults," Journal of Transport Geography, Elsevier, vol. 94(C).
    16. Xing, Yingying & Wang, Ke & Lu, Jian John, 2020. "Exploring travel patterns and trip purposes of dockless bike-sharing by analyzing massive bike-sharing data in Shanghai, China," Journal of Transport Geography, Elsevier, vol. 87(C).
    17. Zgheib, Najib & Abou-Zeid, Maya & Kaysi, Isam, 2020. "Modeling demand for ridesourcing as feeder for high capacity mass transit systems with an application to the planned Beirut BRT," Transportation Research Part A: Policy and Practice, Elsevier, vol. 138(C), pages 70-91.
    18. Oded Cats & Rafal Kucharski & Santosh Rao Danda & Menno Yap, 2022. "Beyond the dichotomy: How ride-hailing competes with and complements public transport," PLOS ONE, Public Library of Science, vol. 17(1), pages 1-17, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Bi, Hui & Ye, Zhirui & Hu, Liyang & Zhu, He, 2021. "Why they don't choose bus service? Understanding special online car-hailing behavior near bus stops," Transport Policy, Elsevier, vol. 114(C), pages 280-297.
    2. Soria, Jason & Stathopoulos, Amanda, 2021. "Investigating socio-spatial differences between solo ridehailing and pooled rides in diverse communities," Journal of Transport Geography, Elsevier, vol. 95(C).
    3. Li, Zhitao & Gao, Fan & Hao, Jingjing & Liang, Jian & Han, Chunyang & Tang, Jinjun, 2025. "Exploring spatiotemporal characteristics of ride-hailing ridership connecting with metro stations: A comparative analysis of holidays, weekdays, and weekends," Journal of Transport Geography, Elsevier, vol. 123(C).
    4. Qiao, Si & Yeh, Anthony Gar-On, 2021. "Is ride-hailing a valuable means of transport in newly developed areas under TOD-oriented urbanization in China? Evidence from Chengdu City," Journal of Transport Geography, Elsevier, vol. 96(C).
    5. Li, Wu & Zhao, Shengchuan & Ma, Jingwen & Nielsen, Otto Anker & Jiang, Yu, 2023. "Book-ahead ride-hailing trip and its determinants: Findings from large-scale trip records in China," Transportation Research Part A: Policy and Practice, Elsevier, vol. 178(C).
    6. Yu, Haitao & Peng, Zhong-Ren, 2019. "Exploring the spatial variation of ridesourcing demand and its relationship to built environment and socioeconomic factors with the geographically weighted Poisson regression," Journal of Transport Geography, Elsevier, vol. 75(C), pages 147-163.
    7. He, Zhengbing, 2021. "Portraying ride-hailing mobility using multi-day trip order data: A case study of Beijing, China," Transportation Research Part A: Policy and Practice, Elsevier, vol. 146(C), pages 152-169.
    8. Xiong, Ziyue & Jian Li, & Wu, Hangbin, 2021. "Understanding operation patterns of urban online ride-hailing services: A case study of Xiamen," Transport Policy, Elsevier, vol. 101(C), pages 100-118.
    9. Tu, Meiting & Li, Ye & Li, Wenxiang & Tu, Minchao & Orfila, Olivier & Gruyer, Dominique, 2019. "Improving ridesplitting services using optimization procedures on a shareability network: A case study of Chengdu," Technological Forecasting and Social Change, Elsevier, vol. 149(C).
    10. Kong, Hui & Zhang, Xiaohu & Zhao, Jinhua, 2020. "How does ridesourcing substitute for public transit? A geospatial perspective in Chengdu, China," Journal of Transport Geography, Elsevier, vol. 86(C).
    11. Xu, Yiming & Yan, Xiang & Liu, Xinyu & Zhao, Xilei, 2021. "Identifying key factors associated with ridesplitting adoption rate and modeling their nonlinear relationships," Transportation Research Part A: Policy and Practice, Elsevier, vol. 144(C), pages 170-188.
    12. Aghaabbasi, Mahdi & Shekari, Zohreh Asadi & Shah, Muhammad Zaly & Olakunle, Oloruntobi & Armaghani, Danial Jahed & Moeinaddini, Mehdi, 2020. "Predicting the use frequency of ride-sourcing by off-campus university students through random forest and Bayesian network techniques," Transportation Research Part A: Policy and Practice, Elsevier, vol. 136(C), pages 262-281.
    13. Qiao, Si & Zhang, Mengzhu & Yeh, Anthony Gar-On, 2023. "Mind the gender gap in ride-hailing from the demand side," Journal of Transport Geography, Elsevier, vol. 107(C).
    14. Ngo, Nicole S. & Götschi, Thomas & Clark, Benjamin Y., 2021. "The effects of ride-hailing services on bus ridership in a medium-sized urban area using micro-level data: Evidence from the Lane Transit District," Transport Policy, Elsevier, vol. 105(C), pages 44-53.
    15. Liao, Yuan, 2021. "Ride-sourcing compared to its public-transit alternative using big trip data," Journal of Transport Geography, Elsevier, vol. 95(C).
    16. Zgheib, Najib & Abou-Zeid, Maya & Kaysi, Isam, 2020. "Modeling demand for ridesourcing as feeder for high capacity mass transit systems with an application to the planned Beirut BRT," Transportation Research Part A: Policy and Practice, Elsevier, vol. 138(C), pages 70-91.
    17. Di, Yining & Xu, Meng & Zhu, Zheng & Yang, Hai & Chen, Xiqun, 2022. "Analysis of ride-sourcing drivers' working Pattern(s) via spatiotemporal work slices: A case study in Hangzhou," Transport Policy, Elsevier, vol. 125(C), pages 336-351.
    18. Zhang, Zhaolin & Zhai, Guocong & Xie, Kun & Xiao, Feng, 2022. "Exploring the nonlinear effects of ridesharing on public transit usage: A case study of San Diego," Journal of Transport Geography, Elsevier, vol. 104(C).
    19. Wong, Yale Z. & Hensher, David A. & Mulley, Corinne, 2020. "Mobility as a service (MaaS): Charting a future context," Transportation Research Part A: Policy and Practice, Elsevier, vol. 131(C), pages 5-19.
    20. Meredith-Karam, Patrick & Kong, Hui & Wang, Shenhao & Zhao, Jinhua, 2021. "The relationship between ridehailing and public transit in Chicago: A comparison before and after COVID-19," Journal of Transport Geography, Elsevier, vol. 97(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:transa:v:192:y:2025:i:c:s0965856424003872. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/wps/find/journaldescription.cws_home/547/description#description .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.