Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu Show menu

TESTNORM function

Description

TESTNORM(normalitytest,range) returns the P-value of a test for normal distribution on the data in range.

Normalitytest may be

  • KOLSMIR for the Kolmogorov-Smirnov test
  • SHAPWILK for the Shapiro-Wilk test
  • SHAPFRANC for Shapiro-Francia test
  • DAGPEAR for the D'Agostino-Pearson test

See Tests for normal distribution for details.

The argument range can be a list of numbers, cell addresses, cell ranges (such as A1:A10).

Range can also be a matrix. In that case the function returns a matrix with one row and the same number of columns, with each element the TESTNORM of the corresponding column. If range is a row matrix, it is converted to a column matrix first.

Example

TESTNORM(SHAPWILK,2,5,6,8,4,4,2,6) returns 0.62154, the P-value for the Shapiro-Wilk test on the data.

Related functions