I have a panel(5x5)
that has mean values of ice-creams consumed per day for 5 years and 5 persons. I want to conduct a hypothesis test that mean=50
for this panel. Please help do this in R. I have no clue how to proceed so I have no sample code. Following is my data:
# dput(Sample)
structure(list(Year = c(2011, 2011, 2011, 2011, 2011, 2012, 2012,
2012, 2012, 2012, 2013, 2013, 2013, 2013, 2013, 2014, 2014, 2014,
2014, 2014, 2015, 2015, 2015, 2015, 2015), Person = c("A", "B",
"C", "D", "E", "A", "B", "C", "D", "E", "A", "B", "C", "D", "E",
"A", "B", "C", "D", "E", "A", "B", "C", "D", "E"),
'Mean of Ice-cream units per day' = c(45,
40, 35, 55, 65, 57, 49, 45, 32, 27, 85, 79, 85, 48, 35, 15, 6,
99, 45, 47, 49, 85, 35, 66, 99)), class = c("tbl_df", "tbl",
"data.frame"), row.names = c(NA, -25L), .Names = c("Year", "Person",
"Mean of Ice-cream units per day"))