The Times Australia
Google AI
The Times World News

.

New York City or Los Angeles? Where you live says a lot about what and when you tweet

  • Written by Mayank Kejriwal, Research Assistant Professor of Industrial & Systems Engineering, University of Southern California

The Big Apple versus The Big Orange. The City of Dreams versus The City of Angels. I’m referring, of course, to the ongoing rivalry[1] between New York City and Los Angeles. Hilarious “survey” videos[2] and talk shows[3] will give you one picture of the cities. My colleagues and I decided to take a more serious look at the differences between the cities, so we studied what everyone else was talking about – on Twitter.

We set out to answer a simple research question: Are people who are located near each other likely to tweet about similar things? To do so, we analyzed millions of GPS-enabled tweets[4] across New York City and LA. This type of study – looking at huge amounts of social media traffic by location – is useful for more than tracking pop culture memes in different cities. It could be valuable for understanding many aspects of urban life, including the effects of the COVID-19 pandemic.

If we were considering the case of a single, small community that takes pride in local events, celebrities and culture, the answer to our research question would be a resounding “yes.” One challenge in comparing two large, international cities is the reality that globalization has led to unprecedented interaction[5] among multiple cultures and peoples, along with Starbucks and McDonald’s seemingly in every city on the planet.

For cities that are international but also take pride in their uniqueness, the key is teasing out the extent to which local qualities or global culture dominate tweeting behavior. We designed our methods to be precise enough to account for the fact that, contrary to the fun videos, New York City and LA are quite similar. Both have high housing costs, famous educational institutions, hospitals, museums and other cultural establishments, and residents who tend to vote Democratic.

Define ‘close’ and ‘same’

Our study tackled two problems: There’s no simple definition of “close together,” and it’s difficult to say whether two tweets are about the same topic. We combined several definitions of “close together,” ranging from people located in the same city to the distance in miles between their coordinates, using a common formula[6] from spatial sciences.

Side-by-side maps of Los Angeles and New York City covered with bright blue blobs Tweeting in Los Angeles (left) and New York City (right). Blue indicates density of tweets; the brighter the blue the greater the number of tweets. Minda Hu, CC BY-ND[7]

It’s more difficult to determine whether two tweets are talking about similar things. Looking for common hashtags might suffice, but unfortunately many people do not use hashtags or use different hashtags when talking about the same thing. To overcome this problem, we used state-of-the-art natural language processing[8] technology. Algorithms developed in this field read and interpret sentences in a manner similar to the way humans do, and they are able to deal with nuance.

We used this technology to group tweets into clusters of topics. We then studied whether tweets falling inside the same cluster were also from people who were close together based on their GPS-enabled tweets. This allowed us to determine, for example, that clusters containing art-related words and phrases tended to arise more often in New York than LA.

Health and wealth versus art and representing

Even before we looked at who tweets about what, we found tweeting across New York City to be more evenly spread, while in LA, more tweeting happens in wealthier areas, including Calabasas – home to Kim Kardashian[9] – Palos Verdes, West Hollywood and the coastal areas.

We also found that New Yorkers referred to themselves and their city far more often than Angelenos did. On a per capita basis, New Yorkers like to talk about art, while Angelenos like to talk about health care and hospitality.

LA generates more tweets than New York throughout the day, despite having a smaller population, but from 8 p.m. to 5 a.m. local time, the two have comparable numbers of tweets. Tweeting in New York City rises sharply from 8 p.m. to a peak at 9 p.m., whereas tweeting in LA rises steadily from 2 p.m. to a peak at 7 p.m.

Computational social science

Our methods are a case study in the growing field of computational social science[10], which aims to find insights in unique, often large, data sets using artificial intelligence models and algorithms. In contrast, traditional social science tends to rely on surveys and polls[11] to quantify public perception about an issue. Though surveys have some distinct statistical advantages, they can be expensive and time-consuming to use for collecting quality data with good response rates.

For example, Gallup releases new survey data every few months and currently charges US$30,000 for academic licenses[12]. Decades ago, researchers found that monetary incentives increase response rates significantly[13]. Even today, online surveys are often accompanied by lottery-based promises of receiving an Amazon gift card. Researchers are working on combining the benefits of traditional and computational social science[14].

Zooming into our data[15], we uncovered some fascinating trends that we hope future research will explore. We found, for example, that on a per capita basis, as crime increases, so do tweets, at least at the level of ZIP codes. Why do high-crime areas tweet more? We don’t know yet, but the trend is consistent across both New York City and LA.

Tweeting, place and COVID-19

Studying tweeting behavior by location could also be useful for understanding disparate outcomes of large-scale events. For example, our twitter analysis could help shed light on how the COVID-19 pandemic has affected people in different places.

New York City was hit hard by COVID-19 early on[16], showing that even major cities were affected in different ways by this terrible pandemic. New reporting[17] is now showing that even within cities, socioeconomically disadvantaged communities were disproportionately burdened.

Recently, we released a Twitter data set[18] covering 10 of the largest metropolitan areas in the United States to further study such disparities using computational social science. We are already using our methods across all of these cities to better understand how COVID-19 has affected certain groups, and the levels of expressed vaccine hesitancy among these groups.

Eventually, we hope to use our methods with a large set of international metropolises to study urban behavior.

[Get our best science, health and technology stories. Sign up for The Conversation’s science newsletter[19].]

References

  1. ^ ongoing rivalry (www.youtube.com)
  2. ^ Hilarious “survey” videos (www.youtube.com)
  3. ^ talk shows (www.youtube.com)
  4. ^ analyzed millions of GPS-enabled tweets (doi.org)
  5. ^ globalization has led to unprecedented interaction (books.google.com)
  6. ^ a common formula (www.igismap.com)
  7. ^ CC BY-ND (creativecommons.org)
  8. ^ natural language processing (doi.org)
  9. ^ home to Kim Kardashian (www.architecturaldigest.com)
  10. ^ computational social science (doi.org)
  11. ^ surveys and polls (www.pewresearch.org)
  12. ^ charges US$30,000 for academic licenses (aws.amazon.com)
  13. ^ monetary incentives increase response rates significantly (doi.org)
  14. ^ combining the benefits of traditional and computational social science (doi.org)
  15. ^ Zooming into our data (usc-isi-i2.github.io)
  16. ^ hit hard by COVID-19 early on (www.cdc.gov)
  17. ^ New reporting (www.latimes.com)
  18. ^ a Twitter data set (doi.org)
  19. ^ Sign up for The Conversation’s science newsletter (theconversation.com)

Read more https://theconversation.com/new-york-city-or-los-angeles-where-you-live-says-a-lot-about-what-and-when-you-tweet-162912

Times Magazine

AI is failing ‘Humanity’s Last Exam’. So what does that mean for machine intelligence?

How do you translate ancient Palmyrene script from a Roman tombstone? How many paired tendons ...

Does Cloud Accounting Provide Adequate Security for Australian Businesses?

Today, many Australian businesses rely on cloud accounting platforms to manage their finances. Bec...

Freak Weather Spikes ‘Allergic Disease’ and Eczema As Temperatures Dip

“Allergic disease” and eczema cases are spiking due to the current freak weather as the Bureau o...

IPECS Phone System in 2026: The Future of Smart Business Communication

By 2026, business communication is no longer just about making and receiving calls. It’s about speed...

With Nvidia’s second-best AI chips headed for China, the US shifts priorities from security to trade

This week, US President Donald Trump approved previously banned exports[1] of Nvidia’s powerful ...

Navman MiVue™ True 4K PRO Surround honest review

If you drive a car, you should have a dashcam. Need convincing? All I ask that you do is search fo...

The Times Features

What the RBA wants Australians to do next to fight inflation – or risk more rate hikes

When the Reserve Bank of Australia (RBA) board voted unanimously[1] to lift the cash rate to 3.8...

Do You Need a Building & Pest Inspection for New Homes in Melbourne?

Many buyers assume that a brand-new home does not need an inspection. After all, everything is new...

A Step-by-Step Guide to Planning Your Office Move in Perth

Planning an office relocation can be a complex task, especially when business operations need to con...

What’s behind the surge in the price of gold and silver?

Gold and silver don’t usually move like meme stocks. They grind. They trend. They react to inflati...

State of Play: Nationals vs Liberals

The State of Play with the National Party and How Things Stand with the Liberal Party Australia’s...

SMEs face growing payroll challenges one year in on wage theft reforms

A year after wage theft reforms came into effect, Australian SMEs are confronting a new reality. P...

Evil Ray declares war on the sun

Australians love the sun. The sun doesn't love them back. Melanoma takes over 1,300 Australian liv...

Resolutions for Renovations? What to do before renovating in 2026

Rolling into the New Year means many Aussies have fresh plans for their homes with renovat...

Designing an Eco Conscious Kitchen That Lasts

Sustainable kitchens are no longer a passing trend in Australia. They reflect a growing shift towa...