Thread Subject: Histogram and Normality test

Subject: Histogram and Normality test

From: Mastaneh

Date: 6 Aug, 2008 17:18:02

Message: 1 of 2

Dear all,

I have a 2^18-length data, sampled at 48 kHz with a 16-bit
ADC. The histogram is very close to the normal
distribution, but the data always fails the normality
hypothesis tests.
When plotting the histogram with 1000 bins, there are
various spikes in the figure. I know reducing the number of
bins help get a smoother curve, but am I correct in
assuming that these spikes are the reason the tests fail? I
mean, the test needs to average the spike amplitudes to get
the estimated distribution, so the result doesn't have the
same moments as the original sample.

Thanks for any explanation,
Mastaneh

Subject: Histogram and Normality test

From: Paul

Date: 6 Aug, 2008 23:41:02

Message: 2 of 2

"Mastaneh " <mtorkama@iupui.edu> wrote in message
<g7cmca$a2c$1@fred.mathworks.com>...
> Dear all,
>
> I have a 2^18-length data, sampled at 48 kHz with a 16-bit
> ADC. The histogram is very close to the normal
> distribution, but the data always fails the normality
> hypothesis tests.
> When plotting the histogram with 1000 bins, there are
> various spikes in the figure. I know reducing the number of
> bins help get a smoother curve, but am I correct in
> assuming that these spikes are the reason the tests fail? I
> mean, the test needs to average the spike amplitudes to get
> the estimated distribution, so the result doesn't have the
> same moments as the original sample.


I would investigate the source of the spikes in the original
data and not in the histogram bins. There are some scripts
to remove outliers and this may be all you need.
>
> Thanks for any explanation,
> Mastaneh

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
histogram Mastaneh 6 Aug, 2008 13:20:25
normality Mastaneh 6 Aug, 2008 13:20:25
sampling Mastaneh 6 Aug, 2008 13:20:25
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com