WLJS LogoWLJS Notebook

WatsonUSquareTest

WatsonUSquareTest[data] tests whether data is normally distributed using the Watson U² test.

WatsonUSquareTest[data,dist] tests whether data is distributed according to dist using the Watson U² test.

WatsonUSquareTest[data,dist,"property"] returns the value of "property".

Examples

Test if data follows a uniform distribution:

WatsonUSquareTest[{0.1, 0.3, 0.5, 0.7, 0.9}, UniformDistribution[]]

Get the p-value:

WatsonUSquareTest[RandomReal[1, 100], UniformDistribution[], "PValue"]

Please visit the official Wolfram Language Reference for more details.

On this page