A study published on Friday appears to confirm what news reports suggested long ago: President Trump’s campaign rallies were associated with a rise in violence when they came to town.

A city that hosted a Trump rally saw an average of 2.3 more assaults reported on the day of the event than on a typical day, according to the study, led by researchers at the University of Pennsylvania and published in the journal Epidemiology. The authors found no corresponding link between assaults and rallies for Mr. Trump’s Democratic rival, Hillary Clinton.

“It appeared to be a phenomenon that’s unique to Donald Trump’s rally,” said Christopher Morrison, a postdoctoral fellow at the University of Pennsylvania and the lead author of the study.

Video

New York Times reporters have covered Donald J. Trump's rallies for more than a year. His supporters at these events often express their views in angry and provocative ways. Here are some examples.Published OnAug. 3, 2016

It may come as little surprise that the rallies were associated with increased violence, as the often volcanic clashes between Mr. Trump’s supporters and opponents were widely covered at the time.

The supporters also often aimed offensive and violent rhetoric at Mrs. Clinton, suggesting she be killed.

To determine whether those words and news reports corresponded with an actual shift in violence, the researchers compiled a list of 31 Trump rallies and 38 Clinton rallies held in cities with assault data available online.

They compared the number of assaults reported on the day of the rally to the number reported on the corresponding day of the week, for each of the four weeks before and after the event.

On a typical day, cities saw an average of 19.4 assaults, they found. On the day of a Trump rally, that number rose to 21.7.

The pattern held even when the researchers controlled for the influence of factors like population size, data sources and the day used for the comparison.

The researchers offered two explanations for the increase in assaults. Either they were the result of clashes at or near the rallies, or they occurred elsewhere in the cities after the aggressive mood on display by Mr. Trump, his supporters or his opponents had spread through “social contagion.”

There were some limitations to the findings, the authors noted. They may not apply to the rallies or cities that weren’t studied, and a greater police presence during the rallies may have made it more likely for an assault to be reported.

A version of this article appears in print on , on Page A13 of the New York edition with the headline: Violence Increased When Cities Hosted Trump Rallies. Order Reprints | Today’s Paper | Subscribe