One possibility is something along the lines of:
plot(density(bootstraps))
abline(v=original.value)
Patrick Burns
[email protected]
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of "The R Inferno" and "A Guide for the Unwilling S User")
TomPoes wrote:
Hello
Currently i'm working on a paper for my study and, on advice of my tutor,
i'm using R.
But now i'm stuck on something.
I've used the bootstrap method to determine if a found value was
significant. Lets say this found value is x, the collection of random
samples is y (n=1e+06)
I've compared x to y and found that x is smaller then 963482 samples of y
(so p=0.037)
I wanted to show this in a graph and figured a histogram would suit best.
But I dont get what is expected to get.
http://www.nabble.com/file/p21998165/example.bmp What I expect
http://www.nabble.com/file/p21998165/found.jpg What I found
Can someone please help me with finding a way to make this significance
visable in some sort of graph?
Thanks a lot!
Jeroen
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.