The Ivory Billed woodpecker from a hypothesis testing perspective second page.
Confidence intervals are computed on Planet Samp.
A proof for the existence of Extra-Sensory Perception! If I can get you to focus on a number, I can predict, to some extent, your thought process.
Your birthday is a number that plays an important part in your thought process. Generate a random number between 0 and your birday.
Spreadsheet reading command:
esp = fetchGoogle("https://docs.google.com/spreadsheet/pub?key=0Am13enSalO74dE5iMjZrcGFjTUtJSjg0T05NLW84Mmc&single=true&gid=0&output=csv")
## Loading required package: RCurl
## Loading required package: bitops
How did I know that I could reject the Null in the shuffling problem? I did a little simulation.
mysim <- function(n = 15) {
days = resample(1:31, size = n)
nums = ceiling(runif(n, min = 0, max = days))
mod = lm(nums ~ days)
list(r2 = r.squared(mod), p = summary(mod)$coef[2, 4])
}
s15 = do(1000) * mysim(24) # typical R^2 is about 0.4
mean(~r2, data = s15)
## [1] 0.06933
tally(~p < 0.05, data = s15, format = "proportion")
##
## TRUE FALSE Total
## 0.961 0.039 1.000
Do mHypTest(TRUE) setting the “effect size” to about 0.4