Skip to content

Instantly share code, notes, and snippets.

@Harshit1694
Created May 27, 2019 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Harshit1694/bf0cb0148c091ab189fc380a9eadd951 to your computer and use it in GitHub Desktop.
Save Harshit1694/bf0cb0148c091ab189fc380a9eadd951 to your computer and use it in GitHub Desktop.
#Step 3 - Make a table and Calculate the chi-square value
#_______________________________________________________
ct<-table(data$age.intervals,data$Experience.intervals)
ct
chisq.test(ct)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment