4.8

4.8 | 5 ratings Rate this file 32 downloads (last 30 days) File Size: 2.75 KB File ID: #3954

DagosPtest

by Antonio Trujillo-Ortiz

 

12 Sep 2003 (Updated 21 Dec 2006)

Code covered by BSD License  

D'Agostino-Pearson's K2 test for assessing normality of a data vector.

Download Now | Watch this File

File Information
Description

The D'Agostino-Pearson's K2 test is used to assessing normality of data using skewness and kurtosis. It approximates to the chi-squared distribution.

File needs to input the data vector and significance level (default = 0.05).
It outputs whether or not the normality is met.

MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (6)
05 May 2004 Faraaz Yusufi

I read about this test in Zar's book and wanted to use it in matlab. Thanks for implementing this in matlab, it works fine and is very useful.

05 Aug 2004 C Lynam

Works perfectly. nb, Calls on a few other files such as chi2cdf, distchck and chi2test.

28 Nov 2006 enrique buendia

is x2=2.284957205
not x2=3.1397
in your example code.

18 Jul 2008 Leandro Navarro Pablo

Thanks a lot. I have implemented it in my scripts and works nicely.

04 Dec 2008 Bahriye Basturk Akay

Thanks for implementing this function. it helped me a lot.

03 Nov 2009 Joseph Boomer

Downloaded and ran it today. Many thanks.

Please login to add a comment or rating.
Updates
16 Sep 2003

It was added an appropriate format to cite this file.

19 Sep 2003

In case of, it was added the warning: significance level must be between 0 and 1.

02 Oct 2003

Updating was made to reduce the record of data in a frequency form on only 3 lines.

21 Dec 2006

Text was improved.

Tag Activity for this File
Tag Applied By Date/Time
statistics Antonio Trujillo-Ortiz 22 Oct 2008 07:07:31
probability Antonio Trujillo-Ortiz 22 Oct 2008 07:07:31
normality test Antonio Trujillo-Ortiz 22 Oct 2008 07:07:31
dagostinopearson test Antonio Trujillo-Ortiz 22 Oct 2008 07:07:31
assessing normality Antonio Trujillo-Ortiz 22 Oct 2008 07:07:31
 

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