Log in to see Cloud of Tags

Wealth-Lab Wiki

Syntax

public ZScore(DataSeries ds, int period, WealthLab.Indicators.StdDevCalculation type, string description) public static ZScore Series(DataSeries ds, int period, WealthLab.Indicators.StdDevCalculation type)

Parameter Description

dsDataSeries
period1Lookback period
typeStdDevCalculation.Population or StdDevCalculation.Sample

Description

Z-Score is a statistical measurement of a DataSeries' relationship to the mean (average) of a group of values, measured in terms of standard deviations from the mean. If a Z-Score is 0, it indicates that the data point's score is identical to the mean score. A Z-Score of 1.0 would indicate a value that is one standard deviation from the mean. Z-Scores may be positive or negative, with a positive value indicating the score is above the mean and a negative score indicating it is below the mean.

Calculation


Interpretation


Example

Please refer to article in S&C May 2019 issue, "Backtesting A Mean-Reversion Strategy In Python (Garner)"

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.


ScrewTurn Wiki. Some of the icons created by FamFamFam.