That's why I keep repeating the phrase "all things considered equal".
For example, speed is a multi-variable function of the form:
y = f(a[1],a[2],a[3],...a[n]), where ...
a[1] = motor wattage (bike spec)
a[2] = motor type (bike spec)
a[3] = rider bodyweight (bike payload)
a[4] = terrain type...