Creates a new EWMA instance with the provided weighting factor.
Creates a new EWMA instance with the provided weighting factor. If the provided weighting factor is not between 0 and 1 (exclusive) then it will be ignored and the default factor of 0.9 will be used.
Creates a new EWMA instance with a weighting factor of 0.9.