IDEAS home Printed from https://ideas.repec.org/a/spr/jcsosc/v8y2025i2d10.1007_s42001-025-00365-z.html
   My bibliography  Save this article

Sentiment analysis of solar energy in U.S. Cities: a 10-year analysis using transformer-based deep learning

Author

Listed:
  • Serena Y. Kim

    (North Carolina State University)

  • Crystal Soderman

    (University of Colorado Denver)

  • Lan Sang

    (University of Colorado Boulder)

Abstract

This study examines U.S. public sentiment toward solar energy from 2013 to 2022 by analyzing 8 million social media posts using RoBERTa, a transformer-based deep learning algorithm. While sentiment has been generally positive, it has declined since 2016, driven by increasing negativity. The analysis reveals significant and widening regional disparities, with Republican-leaning and Southern U.S. regions showing more pronounced negativity. A two-way fixed-effects panel analysis at the municipality level indicates that positive sentiment is associated with high solar radiation and a larger remote-working population, while negative sentiment is linked to a greater prevalence of multifamily housing. These results highlight the complex interplay of environmental, socioeconomic, political, and technological factors in shaping solar energy sentiment and underscore the need for tailored, region-specific strategies. The computational approach, which combines natural language processing and geospatial analysis of social media data, provides a scalable framework for sentiment analysis across diverse topics and regions, extending beyond the specific case of solar energy in the United States.

Suggested Citation

  • Serena Y. Kim & Crystal Soderman & Lan Sang, 2025. "Sentiment analysis of solar energy in U.S. Cities: a 10-year analysis using transformer-based deep learning," Journal of Computational Social Science, Springer, vol. 8(2), pages 1-26, May.
  • Handle: RePEc:spr:jcsosc:v:8:y:2025:i:2:d:10.1007_s42001-025-00365-z
    DOI: 10.1007/s42001-025-00365-z
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s42001-025-00365-z
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s42001-025-00365-z?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.

    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:spr:jcsosc:v:8:y:2025:i:2:d:10.1007_s42001-025-00365-z. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.