Unless you do cross-market arbitrage, you should not include transportation fees.
Correlation coefficient: β
Set spot = x;; Futures =Y
n∑xy -∑x∑y
- = β
Square root (n∑x*x-∑x*∑x) × square root (n ∑ y * y-∑ y * ∑ y)