ThePiratesGuideToR icon indicating copy to clipboard operation
ThePiratesGuideToR copied to clipboard

p. 35 pirate book

Open Eva-biostat opened this issue 2 years ago • 1 comments

aggregate function does not need "formula =" : aggregate(age ~ sex, data = pirates, FUN = mean, na.rm=TRUE)

Error in aggregate.formula(formula = age ~ sex, data = pirates, FUN = mean, : argument 'x' is missing -- it has been renamed from 'formula'

Eva-biostat avatar Jan 05 '23 17:01 Eva-biostat

Section 3.6: "It looks like we got a Bayes factor of 0.12 which is strong evidence for the null hypothesis" It is like proving the sea exists vs. having sufficient evidence that land is real. The sea is a fallback, it is always there, everywhere. Rather, there "is not sufficient evidence for alternative hypothesis" (i.e., that pirate age affects choice of headband).

Eva-biostat avatar Jan 05 '23 17:01 Eva-biostat