Skip to content

Instantly share code, notes, and snippets.

@akbertram
Created May 11, 2022 11:50
Show Gist options
  • Save akbertram/9624be75b1131999b946ea4b540d4312 to your computer and use it in GitHub Desktop.
Save akbertram/9624be75b1131999b946ea4b540d4312 to your computer and use it in GitHub Desktop.
library(activityinfo)
survey <- queryTable(form = "cftn7a7l30lb9ox2")
training <- subset(survey, group == "Training")
control <- subset(survey, group == "Control")
t.test(training$income, control$income,
alternative = "two.sided",
var.equal = FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment