Click here to Login

LiveZilla Live Help
LiveZilla Live Help
Trading Software Trading objects Features How-to Blog Search



Z-Score (Standard Score)

by QuantShare, 719 days ago
Share |

If you want to compare a certain value of a time-series for a particular security to the value of other securities for the same date, then you should use the z-score. You will need to standardize data in order to use the z-score or the standard score.

The standard score, which is commonly referred to as the z-score, represents the distance between the score or the value and the observation or indicator mean for all the population (U.S. stocks) in units of the standard deviation. The population does not have to be normally distributed.

For each date, you will need to get every security time-series value (The time-series could be the share price, the volume or any indicator), and then calculate the mean and the standard deviation of these values. The end result should be two time-series, one that contains the standard deviation values and the other that contains the mean values.

This can be easily done using the composite plug-in. Mean and Standard deviation - Z-Score is an example on how to do that. This item calculates the one-day rate of return mean and standard deviation of all securities and for every trading bar.

The final step will be to use the following formula to calculate the standard score (z-score):
z = (x - mean) / (standard deviation)

Where z is the z-score for a particular bar and for a specific security and x is the security indicator's value for that bar.

The formula is named "zscore"; it accepts two parameters. The first one is the indicator or time-series for which you want to get the z-score values, and the second parameter is the composite symbol name.
Example:
score = zscore(roc(close, 1), "_RETURN SDV");

Let us take Google (GOOG) and the 25/01/2010 bar for example; a negative z-score value means that the one-bar rate of return of Google on 25/01/2010 was lower than the average one-bar rate of return of all U.S. stocks. A z-score value higher than two means that the one-bar rate of return of Google on 25/01/2010 was two standard deviations above the average one-bar rate of return of all U.S. stocks.

In case the indicator values follow a normal distribution, you can use the standard score and the statistical tables to calculate the percentile rank.


Share This ->
Share |


You have to log in to bookmark this object
What is this?
Additional Information



>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.

>>>> To get this item and hundreds of other items, click here to join and download the Best Trading Software for Free .



No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 6 downloads Notes Report an item


Type: Trading Indicator

Object ID: 382


Country:
All

Market: All

Style:
Technical Analysis




Related Trading Objects



Country
Page 1
Trading the Equity Curve
by QuantShare, uploaded several months ago


No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Opening Range Breakout Indicator
by QuantShare, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 3 Notes Report an item
Wilder's Smoothing - Moving Average
by QuantShare, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 9 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object









Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
Ratio of open-close to high-low range (by Caleb, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 5 Notes Report an item
Geometric Moving Average Indicator (by Brian Brown, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 8 Notes Report an item
Ratio of S&P 500 Index to Equity Put-Call Volume (by The trader, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 3 Notes Report an item
Coefficient of Determination - R Squared - Time-Series Prediction (by The trader, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Coefficient of Variation - Relative Standard Deviation (by The trader, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Index of dispersion - Variance-to-Mean Ratio - VMR (by The trader, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Standard Deviation Ratio (by Caleb, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Trend Following and Moving Averages

Put-Call Ratio for Individual Stocks

Historical Market Data

What's new in this trading software?

Historical volatility estimators

Short Selling Stocks

Stock split & dividend

Survivorship bias

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items