2.14 BEPAS Testing normality

Adjust the code below to check the normality of the variable MVPA_acc using the Shapiro-Wilk test.


shapiro.test(BEPAS$BMI [BEPAS$Walkability=="Low walkability"])
shapiro.test(BEPAS$BMI [BEPAS$Walkability=="High walkability"])


Given the normality plots and results of the normality tests, would you consider the outcome variable MVPA_acc as normally distributed?

  1. Yes
  2. No

(Just type the number of the correct answer)