Adaptive Fractional Differencing: Theory and Methodology