NexusFi: Find Your Edge


Home Menu

 





Deviation Multiple Definition


Discussion in Traders Hideout

Updated
      Top Posters
    1. looks_one Fat Tails with 5 posts (12 thanks)
    2. looks_two rdtw with 3 posts (0 thanks)
    3. looks_3 Tasker_182 with 2 posts (0 thanks)
    4. looks_4 panjm with 1 posts (2 thanks)
    1. trending_up 7,076 views
    2. thumb_up 14 thanks given
    3. group 5 followers
    1. forum 12 posts
    2. attach_file 3 attachments




 
Search this Thread

Deviation Multiple Definition

  #1 (permalink)
 rdtw 
Des Moines Iowa United States
 
Experience: Intermediate
Platform: NT Ensign MT4
Trading: drums
Posts: 120 since Sep 2010
Thanks Given: 14,996
Thanks Received: 38

I would like to know what does a Standard Deviation Multiplier represent?

For example: What exactly would a standard deviation of one (multiplier of 1) from a simple moving average of 5 represent? Does it represent a SMA 10?
Does a deviation multiplier of two from a SMA of 5 represent a SMA of 15?

I hope I'm expressing myself clearly, if not please ask me to try again.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
31 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
20 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



rdtw View Post
I would like to know what does a Standard Deviation Multiplier represent?

For example: What exactly would a standard deviation of one (multiplier of 1) from a simple moving average of 5 represent? Does it represent a SMA 10?
Does a deviation multiplier of two from a SMA of 5 represent a SMA of 15?

I hope I'm expressing myself clearly, if not please ask me to try again.


The standard deviation is a statistical measure for the dispersion of data points around an arithmetic mean. Let us take your example of 5 data points, such as 5 consecutive closes as shown on the chart. I prefer a real example, so let us look at the last five closes of yesterday's regular session for YM 09-13. The close values were

14820, 14812, 14824, 14814, 14830

The arithmetic mean of those data points - identical to a SMA(5) - is obtained by adding up the five values and dividing by 5.

arithmetic mean = SMA(5) = (14820 + 14812 + 14824 + 14814 + 14830)/5 = 14820

The arithmetic mean of 14820 does not tell us how far the single data points are away from the mean value. For example, if you had the values 13820, 12812, 15824, 13814, 17830, you would obtain the same mean value, but quite obviously the data points are further away from the mean.

The standard deviation is calculated as the square root of the variance. The variance is the sum of the squares of the distances of each data point from the mean. For your example above we calculate

variance = [(14820 - 14820)^2 + (14812 - 14820)^2 + (14824 - 14820)^2 + (14814 - 14820)^2 + (14830 - 14820)^2] / 5 = [0 + 64 + 16 + 36 + 100]/5 = 43.2

standard deviation = sqrt (43.2) = 6.57

Now this is the calculation method used for the Standard Deviation and Bollinger Band indicators. The method is not really accurate, because it systematically underestimates the expected standard deviation for a small sample size. Using a modified formula for the population variance would result int values of 54.00 for the variance and 7.35 for the standard deviation.


Meaning of 1 Standard Deviation

At least for normal (Gaussian, bell-shaped) distributions, you may expect that 68.2% of all data points can be found within the distance of 1 standard deviation from the mean. About 95.4% of all data points can be found with the distance of 2 standard deviations from the mean.

Applied to our example this means that we may expect about 3.4 out of 5 data point to lie within the interval [14820 - 7.35, 14820 + 7.35] or [14813, 14827]. In fact 3 data points can be found within this interval, while two data points are located outside the interval.

If we take the interval based on two standard deviations [14806, 14834], we would expect 95% of all data points to lie within this interval. For our example, all values can be found within that interval.

Although these estimations only apply to normal distributions, they are used for other distributions as well, not because they are correct, but because these estimations are easy to calculate.

Reply With Quote
  #4 (permalink)
 
panjm's Avatar
 panjm 
Singapore
 
Experience: Beginner
Platform: MT4
Trading: Forex
Posts: 143 since May 2012
Thanks Given: 262
Thanks Received: 468

This explanation is also good I think:

Standard Deviation and Variance

Reply With Quote
Thanked by:
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


panjm View Post
This explanation is also good I think:

Standard Deviation and Variance


The pictures of the dogs are of course much better than close values from a chart.


I have found a video for those who are too lazy to read. It comes with the dogs as well...



Reply With Quote
Thanked by:
  #6 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401


Fat Tails View Post
The pictures of the dogs are of course much better than close values from a chart.


I have found a video for those who are too lazy to read. It comes with the dogs as well...



I would understand statistics better if they used cats as clearly they are nominally more than 1 deviation from the norm...

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


Tasker_182 View Post
I would understand statistics better if they used cats as clearly they are nominally more than 1 deviation from the norm...


Also there are more interesting samples available.






Reply With Quote
  #8 (permalink)
 
Tasker_182's Avatar
 Tasker_182 
Cedar Rapids, iowa
Legendary Market Wizard
 
Experience: Intermediate
Platform: Ninjatrader
Broker: Ninjatrader - Continuum
Posts: 716 since Aug 2009
Thanks Given: 476
Thanks Received: 1,401


Fat Tails View Post
Also there are more interesting samples available.








Ahh, yes, clearly much easier to visualize, statistically i like that.

Be yourself; everyone else is already taken. Oscar Wilde
Reply With Quote
  #9 (permalink)
 
teyano's Avatar
 teyano 
Amsterdam, Europe
 
Experience: Intermediate
Platform: Various
Trading: ES
Posts: 22 since Feb 2013
Thanks Given: 67
Thanks Received: 14


Fat Tails View Post


Now this is the calculation method used for the Standard Deviation and Bollinger Band indicators. The method is not really accurate, because it systematically underestimates the expected standard deviation for a small sample size. Using a modified formula for the sample variance would result int values of 54.00 for the variance and 7.35 for the standard deviation.

@Fat Tails, could you elaborate a bit more especially about the deviation for the small sample size ?
In particular, is this related to the large standard error of the small sample size, which causes the inaccuracy ?
Much appreciated.

Reply With Quote
  #10 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102



teyano View Post
@Fat Tails, could you elaborate a bit more especially about the deviation for the small sample size ?
In particular, is this related to the large standard error of the small sample size, which causes the inaccuracy ?
Much appreciated.

If you have a small sample that stands for a larger population, then the variance of the sample is typically smaller than the variance of the population.

For example, if your sample only contains one data point, then the sample variance is zero, because the data point is identical with its mean. However, the variance of the entire population represented by that single data point would not be zero unless the population consists of identical members.

The reason that the population variance is larger than the sample variance is easy to understand:

The sample mean does not represent the exact population mean, but is just an estimator for the population mean. Mathematically the mean can be derived as the value that minimizes the quadratic function of the deviations (the value that produces the "least squares"). Also see section 5 of the attached document. Therefore the sample mean minimizes the sample variance. If the variance is calculated from the data points and the population mean, this will always produce a higher value for the variance, compared to the value obtained, when calculated from the sample mean.

The standard estimator for the population variance is obtained by multiplying the sample variance with N/(N-1), where N is the size of the sample.

Another explanation can be found here:

Sample Variance -- from Wolfram MathWorld

Attached Thumbnails
Deviation Multiple Definition-s.chartier-c.-lamontagne-n.-watier-what-does-mean-mean.pdf  
Reply With Quote
Thanked by:




Last Updated on September 15, 2013


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts