Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Created May 26, 2019 14:41
Show Gist options
  • Save Harshit1694/0089e1dd6bff513e1a078d7829a6dad1 to your computer and use it in GitHub Desktop.
Save Harshit1694/0089e1dd6bff513e1a078d7829a6dad1 to your computer and use it in GitHub Desktop.
#Step 4 - Calculate the chi-square value
#_______________________________________________________
chisq.test(x = table(data$Experience.intervals),
p = c(0.2, 0.17, 0.41, 0.22))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment