3
$\begingroup$

I am having difficulty in exactly understanding several statistical tests, such as the t-test and ANOVA test. These tests require that the data we use be normally distributed.

However, whilst sharing my experience in analyzing data a bit, I have analyzed several data from numerous sources online (web scraping, open-accessed data sources online, etc.), with considerably high number of samples (hundreds, thousands). An example of the data in question is the amount of donation given to certain campaigns in a fixed periods of time (day 1 at 1pm, day 2 at 1pm, etc.).

And when I tested whether the normality distribution of the data, using visual aids (histograms, Q-Q plots) and Shapiro-Wilks test, they all showed me that the data is not normal. For example, Shapiro-Wilks test gave a p-value of so small (less than 0.00000000000000022), of course the null hypothesis has to be rejected, i.e. the data is nor normally distributed.

Because I read in articles like in this link, it says

However, even if the distribution of the individual observations is not normal, the distribution of the sample means will be normally distributed if your sample size is about 30 or larger

So naturally, I am confused, is my data normally distributed or not? How often do you encounter normal and not-normal distribution, in real-life data?

EDIT

Many posts and forums also agree that normality in the data is quite rare. But if that is the case, then are parametric tests such as Chi-Square, ANOVA, t-tests, etc., by nature rarely applicable, and therefore useless? An example of this discussion that supports this is here.

$\endgroup$
9

2 Answers 2

1
$\begingroup$

How often do you encounter normal and not-normal distribution, in real-life data?

Honestly, you almost never encounter normal data in real-life cases. There are several tests like Shapiro-Wilks, and yes, with real data you are more likely to reject, even with big samples. (Almost always with time series data for example).

Often it is better to be a little less strict, for example by looking at the QQ-plot (and not at the p-value). Is the distribution of the points close to what is expected in the normal case? If yes (and you define how close) then you can assume that the data are somewhat normal (ie: unimodal, not heavy tails ecc).

However, even if the distribution of the individual observations is not normal, the distribution of the sample means will be normally distributed if your sample size is about 30 or larger

This doesn't mean that if your sample is big the data is normally distributed. This refers to the Central Limit Theorem and the Law of large Numbers.

$\endgroup$
2
  • $\begingroup$ Regarding your very last point the bit you quote is about the distributions of sample means, not the distributions of your data. $\endgroup$
    – Alexis
    Commented Aug 23, 2018 at 5:37
  • $\begingroup$ Yes, I really thought to point that out just to avoid confusion, should have been more clear probably. $\endgroup$
    – RLave
    Commented Aug 23, 2018 at 6:32
0
$\begingroup$

There are, as the comments show, various questions that are similar to this one, but none that exactly match it, so I think it is valuable to answer this question.

First, OLS regression makes assumptions about the shape of the errors, not the data. The errors are estimated by the residuals. It is entirely possible to have very non-normal data that yields nearly-normal residuals.

Second, almost no data is perfectly normal. Sometimes the residuals will be close enough to normal for the parametric tests to be fine. There's literature on which types of violations are problematic vs. not.

Third, there are several reasons to use parametric tests:

  • When the assumptions are met, they are somewhat more powerful than non-parametric tests. This mostly matters with small data sets.
  • They are faster to run than a lot of nonparametric tests. With modern computers, this only matters for large data sets and complex models (where "large" and "complex" depend in part on your computer).
  • They are familiar. A journal editor, dissertation committee member, or boss may object to unfamiliar statistical methods.
  • Ronald Fisher was born before Alan Turing; a lot of statistical methods were developed when calculations had to be done by hand.
  • At least some nonparametric tests are harder to interpret.

Third, I am assuming "donations to campaigns" is a monetary amount. Such amounts are very rarely even close to normal. It often makes sense to take logs of such variables.

Finally, despite all the above, I think that other methods are often useful. For instance, quantile regression makes no assumptions about the distribution of errors. It also lets you look at more aspects of the relationship between the variables.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.