Albert Schweitzer said: “Example is not the main thing in influencing others. It is the only thing.”, so I start with it.
Generate two random samples from Normal distribution.
Test the hypothesis number one: , do not reject, then test the more general hypothesis number two: .
Logic states that since there is at least one value we do not reject for (in this case, 0), the more general statement would also not be rejected.
This is not always the case.
|
Since the code involves simulations, results may differ between users, despite the repetition procedure applied.
So in about 14% = 70/500 cases, we can not reject hypothesis number one, but we reject the more general hypothesis number two. Note, using the same data.
What is the point to take from this?
Well, that there is no logical contradiction here, we just need to be careful with the interpretation of p-values:
“one agent that does not believe in a proposition does NOT imply the she believes in its negation” (Dubois and Prade, 2001).
The idea for the post came from reading the paper: A classical measure of evidence for general null hypotheses. The author suggest an alternative measure to p-value.
Related:
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series,ecdf, trading) and more...
via Jonathan's starred items in Google Reader
No hay comentarios.:
Publicar un comentario
Comenta con Respeto. Y escribe claramente lo que deseas transmitir