Analytical Pairs Trading Under Different Assumptions on the Spread and Ratio Dynamics