Data Analysis by R

Analysis of normality by R

Many data analyzes use a theory that assumes a normal distribution. I think it's often okay to use it without worrying about whether it's really a normal distribution, but sometimes I want to check.

Normality test (Shapiro-Wilk test)

An example of using R is as follows. (The following is copy-paste and can be used as it is. In this example, it is assumed that the folder named "Rtest" on the C drive contains data with the name "Data.csv". It is assumed that the column name "X" contains a numerical value.)

Data <- read.csv("Data.csv", header=T)