Normal vs. Fat-tailed Distributions
vudlab.com
vudlab.com
Sliding the kurtosis indicator changes the left distribution, which makes sense. However, it also changes the appearance of the right, normal distribution, which is misleading. Normal distributions have [EDIT: constant] kurtosis. I realize that the appearance is changing because the scale is changing so that the max is always pegged. However, it might be less confusing if the scale remained static and the height of the left distribution simply changed, since that would be a more accurate representation of what's actually happening. That would obscure some details, but I don't think the precise details of the heights of each bar in the distribution are really the point of this page.
EDIT: to the original question, I'm not suggesting the distributions should have different scales, but rather that the scale of both should be static.
The scales on the walks should be synchronized to the extremes across both images. I was trying to compare the two walks visually and realized that the scaled didn't match.
The way the scales adjust on-the-fly means that once each graph (inevitably) either hits the near-top or near-bottom of the graph, the line stays there, and doesn't appear to move as the scale adjusts around it - the scale adjusts to keep the line close to the "adjustment point" near the edge of the graph.
The thing that can't be easily seen in pictures is that exponential distributions move differently than gaussian distributions. When the variance increases for a gaussian, it flattens out. When the variance increases for an exponential, the whole thing spikes out to the right, and the area under the tail actually increases. It really screwed things up until I started treating it for what it really was.
I thought fat tailed distributions don't have a variance. But apparently I'm using the term in a stricter sense than other people. See http://en.wikipedia.org/wiki/Fat-tailed_distribution#Definit... for details if you were wondering, too.
But the variance of your probability distribution of where you'll be at time t is linear in t. So say that your variance is v(t)=t. Then at t=1, there is a 32% chance that you'll be outside of the range (-1,1). As you can see, as t increases, you expected to drift further than further.
So while the expectation of x(t) may be 0 for all time, the expectation of |x(t)| scales like sqrt(t) (the standard deviation of the distribution).
P.S. sometimes people overlook how a well-drawn illustration may be superior to photos or video; think anatomical drawings, for instance. In this case I feel the lack of two simple curves superimposed to illustrate the point about the variance.
There is a term for dealing with actual distributions that differ from the one you put as basis in your theory. http://en.wikipedia.org/wiki/Robust_statistics
Regression analysis and particulary ANOVA are sensitive to http://en.wikipedia.org/wiki/Heteroscedasticity but may be less sensitive to fat tails as long as the standard deviation is independent from the mean.
Could I ask what you've used to make the animation repeat? From a quick search I noticed you aren't using setInterval() or d3.timer().
Are you just calling redraw as quickly as the CPU runs the code or am I missing something?
.transition()
.duration(dur)
.ease("linear")
.attr("transform", "translate(" + x2(-1) + ",0)")
.each('end', plot1Anim);
the thing gets called when the transition ends.Actually, in practice, it's generally difficult to know with much accuracy what a distribution is. Then, for the OP, in practice it's much more difficult to know much about the tails or when they are fat or not or if fat how fat.
The OP wants to claim that the normal distribution applies to heights of people. I can believe that this is only roughly true!
Actually, the usual way we come to a normal distribution is from the central limit theorem (CLT); in practice we want something like the mechanism of the CLT to apply.
When do we get the CLT? Sure: If for some positive integer n our random variable Y is the sum, divided by the square root of n, of n independent, identically distributed (i.i.d.) samples of some distribution with, say, a mean and a finite variance.
If n is 12, then can start to entertain normality if don't want accuracy in the tails. If want high accuracy in the tails of the normal distribution from the CLT, then I'd recommend some careful work and otherwise not trust the accuracy.
A place where have a better shot at getting accuracy in a tail is the exponential distribution. The leading case is: Suppose we have a Geiger counter that goes "click" when it detects a radioactive decay. If the click rate is low so that the chances of two or more decays giving only one click are low, and real random variable T is the time until the next click, then under usual situations in practice T will have quite accurately exponential distribution.
More generally, the stochastic process of such clicks is a Poisson process and an example of an arrival process. Well with weak assumptions, for positive integer n, the sum of n independent arrival processes approaches a Poisson process as n approaches infinity. This result is the renewal theorem with a proof in W. Feller's volume II.
An example of a use of the renewal theorem is arrivals at a Web site. So, for each person on the planet there is an arrival process for that person at that site. If assume that the people are independent, then the Web site sees the sum of those arrivals and should see, over intervals of time much shorter than one day, a good approximation to a Poisson process.
So, that's some 'applied probability' where we might work with tails.
Mostly in applied probability, just f'get about accuracy in the tails!
Is this a typo, or is teacher.js a cute way of saying JavaScript teacher?