Understanding Variance, Co-Variance, and Correlation
11–20 of 20 posts
Re: Understanding Variance, Co-Variance, and Correlation
#12This is a horrible explanation of variance. And it's missing WHY we need variance, or, what is the usefulness of variance vs. other measures like mean and range. Say you want to buy a car and want to choose a brand and model based on user ratings of quality and value online. Cars A, B, and C all have the same average rating - let's say 8 out of 10. How to choose? You need more information, but all you have are the ra…
But why take the square and not just the absolute value of the differences? Is the idea to emphasize outliers and hence give higher variance to skewed datasets?
A normal distribution is a good implicit model to choose - the central limit theorem and similar laws suggest that lots of other distributions will asymptotically approach it. But it's not always the right choice - e.g., it's a disaster when you have power law tails, or low frequency high amplitude noise.
Re: Understanding Variance, Co-Variance, and Correlation
#13This is a horrible explanation of variance. And it's missing WHY we need variance, or, what is the usefulness of variance vs. other measures like mean and range. Say you want to buy a car and want to choose a brand and model based on user ratings of quality and value online. Cars A, B, and C all have the same average rating - let's say 8 out of 10. How to choose? You need more information, but all you have are the ra…
But why take the square and not just the absolute value of the differences? Is the idea to emphasize outliers and hence give higher variance to skewed datasets?
Yeah, you've invented the 'mean absolute deviation' (or 'average absolute deviation'), which might be better than variance or standard deviation (the square root of variance) in some circumstances. It's been debated for 100 years: http://www.leeds.ac.uk/educol/documents/00003759.htm
Part of the reason for using variance might be like you said, to give more weight to outliers.
Part of the reason variance and standard deviation might be more popular is because usually the spread of a set of data has a normal distribution. And there are all these formulas and calculations that were invented before computers that are easier to do with variance and standard deviation apparently. Manipulating equations with absolute values is trickier.
There are also some mental shortcuts you can take if you know the standard deviation of a set of data. If a car is rated 8 on average, then about 95% of all of the ratings are within 2 standard deviations of the mean. Thus, if you want to buy a car rated 8 on average and want to be 95% sure that the particular car you buy is at least a 7, check that the standard deviation of the ratings is less than 0.5. Probably not a great example. Imagine instead you are buying oranges that are 8 out of 10 quality-wise on average, and you want to be confident that 95% of the oranges are at least a 7, so that you don't have to throw out too many. See https://en.wikipedia.org/wiki/68%E2%80%9395%E2%80%9399.7_rul...
I don't know, here are some other suggested reasons for using variance & standard deviation instead of absolute mean differences: https://stats.stackexchange.com/questions/118/why-square-the... https://www.quora.com/Why-do-we-square-instead-of-using-the-...
Re: Understanding Variance, Co-Variance, and Correlation
#14Earlier quoted context omitted.
But why take the square and not just the absolute value of the differences? Is the idea to emphasize outliers and hence give higher variance to skewed datasets?
Right, I stopped short because I reached the point at which I'd have to Google to double check anything. Yeah, you've invented the 'mean absolute deviation' (or 'average absolute deviation'), which might be better than variance or standard deviation (the square root of variance) in some circumstances. It's been debated for 100 years: http://www.leeds.ac.uk/educol/documents/00003759.htm Part of the reason for using va…
http://blog.gembaacademy.com/2007/07/16/explaining-the-centr...
Re: Understanding Variance, Co-Variance, and Correlation
#15Covariance - dot product. Variance - squared norm. Correlation - cosinus of the angle between vectors.
Re: Understanding Variance, Co-Variance, and Correlation
#16Earlier quoted context omitted.
I have to agree with you here. One problem with introducing it the way the article does is that it's hard to see why the variance is never negative, and is zero exactly when the R.V. is constant. This is a very important property, to say the least. It would be better to say you measure the "energy" with E x^2 but that this is not immune to level shifts, so you need to subtract some constant off first. And it so happe…
It looks like an enthusiastic newbie with some clipart and an equation. Fair play for trying. I would suggest adding the following. 1. What the poster above said. 2. The reason for the E[(x_{bar} - x_i)^2] choice. Why not E[|x_{bar} - x_i|]? Was it a mathematical convencience? Was it, perhaps, because Gauss had the integral of e_{t^2} from -Inf to plus Inf lying around in a letter from Laplace? 3. It is an equation w…
Re: Understanding Variance, Co-Variance, and Correlation
#17This is a horrible explanation of variance. And it's missing WHY we need variance, or, what is the usefulness of variance vs. other measures like mean and range. Say you want to buy a car and want to choose a brand and model based on user ratings of quality and value online. Cars A, B, and C all have the same average rating - let's say 8 out of 10. How to choose? You need more information, but all you have are the ra…
But why take the square and not just the absolute value of the differences? Is the idea to emphasize outliers and hence give higher variance to skewed datasets?
Re: Understanding Variance, Co-Variance, and Correlation
#18This is a horrible explanation of variance. And it's missing WHY we need variance, or, what is the usefulness of variance vs. other measures like mean and range. Say you want to buy a car and want to choose a brand and model based on user ratings of quality and value online. Cars A, B, and C all have the same average rating - let's say 8 out of 10. How to choose? You need more information, but all you have are the ra…
I may break HN code, but I LOL'd. (I think I'll never forget that variance explanation now)
Re: Understanding Variance, Co-Variance, and Correlation
#19Earlier quoted context omitted.
But why take the square and not just the absolute value of the differences? Is the idea to emphasize outliers and hence give higher variance to skewed datasets?
The real idea is that you have an implicit model, specifically a normal distribution. The variance is one of the parameters of the normal distribution (the other being the mean). A normal distribution is a good implicit model to choose - the central limit theorem and similar laws suggest that lots of other distributions will asymptotically approach it. But it's not always the right choice - e.g., it's a disaster when…
Re: Understanding Variance, Co-Variance, and Correlation
#20Earlier quoted context omitted.
The real idea is that you have an implicit model, specifically a normal distribution. The variance is one of the parameters of the normal distribution (the other being the mean). A normal distribution is a good implicit model to choose - the central limit theorem and similar laws suggest that lots of other distributions will asymptotically approach it. But it's not always the right choice - e.g., it's a disaster when…
could you give some examples or detail about power law tails?
https://en.wikipedia.org/wiki/Stable_distribution
This makes the stable distribution the right answer under some circumstances.
For different test statistics (e.g. max drawdown), you've got similar fat tailed distributions, e.g. GEV:
https://en.wikipedia.org/wiki/Generalized_extreme_value_dist...
As an example of how you might use slowly decaying distributions, consider this example of Cauchy PCA:
http://arxiv.org/pdf/1412.6506v1.pdf
I'm working on an blog post explaining the use of fat tailed distributions for linear regression in a Bayesian context.