Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added hot-dog-survey-data/Analysis Plan.pdf
Binary file not shown.
77 changes: 77 additions & 0 deletions hot-dog-survey-data/Cleaned Hotdog Data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
Year,Hotdog a Sandwich?
3rd,No
4th,No
4th,No
4th,Yes
4th,Yes
4th,Yes
3rd,Yes
3rd,No
3rd,No
4th,Yes
4th,No
2nd,No
2nd,No
2nd,No
4th,No
3rd,No
3rd,No
4th,No
4th,No
2nd,No
2nd,No
4th,Yes
4th,No
4th,No
4th,No
4th,No
4th,Yes
3rd,No
4th,Yes
2nd,Yes
4th,No
4th,Yes
2nd,No
4th,Yes
2nd,No
4th,No
4th,No
3rd,Yes
2nd,No
4th,No
4th,No
4th,No
4th,No
4th,Yes
2nd,No
4th,No
4th,No
4th,No
4th,Yes
4th,No
4th,No
4th,No
4th,No
4th,No
4th,No
3rd,No
4th,No
2nd,No
4th,No
4th,Yes
4th,No
4th,No
4th,No
4th,Yes
4th,No
4th,Yes
4th,No
4th,No
4th,No
4th,Yes
3rd,No
4th,No
4th,No
4th,No
4th,No
4th,No
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions hot-dog-survey-data/Hotdog Chi-Squared Test.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
library(stats)

setwd("C:/Users/dinos/OneDrive/Desktop/College/8th Semester")
getwd()

data <- read.csv("Cleaned Hotdog Data.csv")
data

contingency_table <- table(data$Year, data$Hotdog.a.Sandwich.)
contingency_table

chisq.test(contingency_table, simulate.p.value = TRUE, B = 100000)
Binary file not shown.
Binary file added hot-dog-survey-data/README File.docx
Binary file not shown.