setwd(dirname(rstudioapi::getSourceEditorContext()$path))  # sets working directory
col_df <- read.csv(file="col.csv", header=TRUE)
col_scores <- col_df$COL
col_scores   # show the usability ratings for the COL widget
finder_df <- read.csv(file="finder.csv", header=TRUE)
finder_scores <- finder_df$Finder
finder_scores  # show the usability ratings for finding CDM scores
mean(col_scores)
sd(col_scores)
length(col_scores)
mean(col_scores) - sd(col_scores) / sqrt(length(col_scores))
mean(col_scores) + sd(col_scores) / sqrt(length(col_scores))
result <- t.test(col_scores)
result
mean(col_scores) - 2*sd(col_scores) / sqrt(length(col_scores))
mean(col_scores) + 2*sd(col_scores) / sqrt(length(col_scores))
mean(finder_scores) - 2*sd(finder_scores) / sqrt(length(finder_scores))
mean(finder_scores) + 2*sd(finder_scores) / sqrt(length(finder_scores))
t.test(finder_scores)
help(t.test)
