Print Page  
FORMULA FUNCTIONS / CROSS SECTIONAL
ZScore("formula" [, scope, outlier_trim , na_value, max_zscore])
Full Description
Calculates how many standard deviations the value from the formula is from the mean for each group specified by the 'scope' parameter. The output is bounded by default to values from -3.5 to +3.5, with N/A values being assigned to 0.

Parameters

scope: determines how stocks are grouped (see below)
outlier_trim: outlier trim percent from each side. Defaults to 7.5%
na_value: value assigned to NA's. Defaults to 0.
max_zscore: maximum value returned (+/- max). Defaults to +/- 3.5
 
Scope Parameter

Values Stocks ETFs Description
#AllYYOperates on current universe
#Previous1YYOperates on the results from previous rules
#GroupVar1YYOperates on groups based on value of variable @Group
--------------------------- For Stocks Only ---------------------------
#SectorYOperates within each Sector of current universe
#SubSectorYOperates within each SubSector of current universe
#IndustryYOperates within each Industry of current universe
#SubIndustryYOperates within each SubIndustry of current universe
--------------------------- For ETFs Only ------------------------------
#FamilyYOperates within each ETF Family
#AssetClassYOperates within each ETF Class
#RegionYOperates within each ETF Region
#CountryYOperates within each ETF Country
#MethodYOperates within each ETF Method
#StyleYOperates within each ETF Style
#SizeYOperates within each ETF Size
#ETFSectorYOperates within each ETF Sector
1Available only in the Screener and Custom Universe