Here is paired t test results
> t.test(data$feed, data$bid, paired=TRUE)
Paired t-test
data: data$feed and data$bid
t = 39.863, df = 588, p-value < 2.2e-16
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
2.752576 3.037864
sample estimates:
mean of the differences
2.89522
> t.test(data$feed, data$ask, paired=TRUE)
Paired t-test
data: data$feed and data$ask
t = 1.6808, df = 588, p-value = 0.09333
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
-0.03797046 0.48868061
sample estimates:
mean of the differences
0.2253551
According to the results, feed price and ask price shows no statistical difference, that is pegging greatly works for bitUSD buyers.
However, between bid and feed price, there is a significant difference (2.895) at 1% level. This implies we need improvements for bitUSD sellers.