No one has argued that driver attitude or harassment is not related to location.
And no one has said anything that would indicate anything contrary to a sidewalk cyclist getting less harassment than a cyclist on the road.
Again, the underlying issue is how much the factors of location and cyclist behavior play a role in determining how much a given cyclist, who is riding on the road, is harassed.