A huge data set has confirmed a long-theorized relationship between the size of stock trades and the impact on prices.