dagostinopearson(A)
Performs the D'Agostino-Pearson normality test using the data in Array A and a confidence level of 0.05 (5%).
dagostinopearson(A, cl)
Performs the D'Agostino-Pearson normality test using the data in array A and confidence level cl.
See also linearreg_ht_nor shapirowilk
Example
A = ( 3.109 3.114 3.131 3.14 3.178 3.186 3.203 3.223 3.288 3.378 3.391 3.395 3.414 3.418 3.44 3.466 3.481 3.493 3.493 3.5 3.506 3.506 3.538 3.558 3.572 3.605 3.605 3.77 3.898 )
( 3.109 3.114 3.131 3.14 3.178 3.186 3.203 3.223 3.288 3.378 3.391 3.395 3.414 3.418 3.44 3.466 3.481 3.493 3.493 3.5 3.506 3.506 3.538 3.558 3.572 3.605 3.605 3.77 3.898 )
dagostinopearson(A)
D'Agostino-Pearson Test for normality.
Ho : Sample is normally distributed
Ha : Sample is not normally distributed
Significance level : 0.05 (5.0%)
Results:
Do not reject the null hypothesis. (1.0)
Test statistics K2 : 0.33715886246575494
P value is : 0.8448641521523869