SAN FRANCISCO — Drivers for ride-hailing services such as Uber, Lyft, and HopSkipDrive are generally safer than the average American driver, according to a new study by automotive analytics firm Zendrive and research firm Aite Group.

The research compared data collected anonymously from the smartphones of about 12,000 ride-hailing drivers across the U.S. to millions of data points from trips taken by average American drivers and found that ride-hailing drivers were less likely to speed, drive aggressively or fumble with their phones during a trip.

Zendrive uses a smartphone’s sensors to detect movement such as speeding, sharp turns and hard braking. The company doesn’t work directly with services such as Uber and Lyft, but a number of apps, such as Sherpashare (which is primarily used by ride-hailing drivers for services like Uber and Lyft), HopSkipDrive, eDriving and a variety of navigation apps use Zendrive’s technology to monitor ride safety.

Data from a million trips completed by ride-hailing drivers from June to August 2015 showed that 30 percent involved speeding, compared with 41 percent for other drivers. Ride-hailing drivers were recorded fumbling with their phones for 23 seconds during a typical 15-minute trip, compared with 35 seconds for other drivers.

Ride-hailing drivers didn’t fare as well when it came to hard braking, though, with 33 percent of ride-hailing trips involving at least one hard brake, compared with 29 percent for ordinary motorists.

Factors that may have influenced driver behavior, according to the researchers, include the fact that ride-hailing drivers are rated after every trip and that, because they depend on their vehicles for their livelihood, they may have incentive to drive more cautiously to reduce wear-and-tear on their automobiles.