# Input data
normalitas = read.table(file.choose(), header = TRUE)
View (normalitas)
# Uji Normalitas
x = normalitas$Data
summary(x)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 40 60 70 70 80 100
library(nortest)
lillie.test(x)
##
## Lilliefors (Kolmogorov-Smirnov) normality test
##
## data: x
## D = 0.125, p-value = 0.7235
library(tseries)
## Registered S3 method overwritten by 'quantmod':
## method from
## as.zoo.data.frame zoo
jarque.bera.test(x)
##
## Jarque Bera Test
##
## data: x
## X-squared = 0.30827, df = 2, p-value = 0.8572