rjtest
R2026bDescription
returns a
test decision, using the Ryan–Joiner test, for the null
hypothesis that the data in vector h = rjtest(x)x comes from a normal distribution.
The alternative hypothesis is that the data does not come from such a distribution. The
result h is 1 if the test rejects the null hypothesis
at the 5% significance level, and 0 otherwise.
returns a test decision with additional options specified by one or more name-value
arguments. For example, you can change the significance level, or calculate the
p-value using a Monte Carlo approximation.h = rjtest(x,Name=Value)
Tip
It is recommended that you specify MonteCarloTolerance when the
sample data x contains more than 100 values.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
References
[1] Ryan, T. A., and B. L. Joiner. "Normal Probability Plots and Tests for Normality," Technical Report, Statistics Department, The Pennsylvania State University, 1976.
Version History
Introduced in R2026b
See Also
adtest | jbtest | kstest | lillietest | swtest