R Studio - Perform a Shapiro-Wilk Normality Test
Mukesh Singh
In this tutorial, we will learn "How to Perform a Shapiro-Wilk Normality Test?" in R studio. The shapiro.test tests the Null hypothesis that "the samples come from a Normal distribution" against the alternative hypothesis "the samples do not come from a Normal distribution". This means that if your p-value is less than or equal to 0.05, then you would reject the NULL hypothesis that the samples came from a Normal distribution. The shapiro.test expects a numeric vector as input, that corresponds to the sample you would like to test and it is the only input required. If the NULL hypothesis were the opposite, meaning, the samples do not come from a normal distribution, and you get a p-value is less than 0.05, then you conclude that it is very rare that these samples do not come from a normal distribution. That loosely translates to: It is highly likely that the samples are normally distributed (although some statisticians may not like this way of interpreting).
To learn more, please follow us - http://www.sql-datatools.com To Learn more, please visit our YouTube channel at - http://www.youtube.com/c/Sql-datatools To Learn more, please visit our Instagram account at - https://www.instagram.com/asp.mukesh/ To Learn more, please visit our twitter account at - https://twitter.com/macxima To Learn more, please visit our Medium account at - https://medium.com/@macxima ... https://www.youtube.com/watch?v=AccjbYQt9bw
3761865 Bytes