Module #3 Assignment
Module 3 Assignment: Code from R Workspace #Declaring vector data sets entitled set_1 and set_2 set_1 <- c(10,2,3,2,4,2,5) set_2 <- c(20,12,13,12,14,12,15) #Central Tendency Computations using set_1 (mean, median, standard deviation and quantile) mean(set_1, trim = 0, na.rm = FALSE) median(set_1, na.rm = FALSE) sd(set_1, na.rm = FALSE) quantile(set_1, trim = 0, na.rm = FALSE) #Coefficient of Variation represented as a percentage for set_1 sd(set_1, na.rm = TRUE)/mean(set_1, na.rm = TRUE)*100 #Summary gives a generic breakdown of where certain values fall with respect to eachother on their respevtive interval summary (set_1) #Central Tendecy Computations using set_2 (mean, median, standard deviation and quantile) mean(set_2, trim = 0, na.rm = FALSE) median(set_2, na.rm = FALSE) sd(set_2, na.rm = FALSE) quantile(set_2, trim = 0, na.rm = FALSE) #Coeffiecient of Variation represented as a percentage for set_2 sd(set_2, na.rm = TRUE)/mean(set_2, na.rm = TRUE)*100 R-Console Results &g