Luis Fernando García Hernández
2013-06-04 06:46:07 UTC
Dear All
I have been working on the R fully during very few time and I am really
novice, so my question may look fool to many of you, but I need to do it.
I have calculated LevinÂŽs index (which is 1/sum(pi)Ë2 where pi=available
source i/sum of all sources) for some data and I have been suggested to
bottstrap it to improve my results, and here it is where I get lost. I have
done this
sources=c(15, 456, 32, 21, 94)
sum(sources)
pi=sources/sum(sources)
pi2=piË2
B=1/pi2
B
Boot=boot(a,sim="parametric", R=100)
When I try to make the bootstrap function it says statistics argument is
missing, I know something is wrong but not really what it is. Any help you
could give me to know how to solve this would be really great!
I also would like to know in this case how can you get the p-value!
Thanks a lot!
[[alternative HTML version deleted]]
I have been working on the R fully during very few time and I am really
novice, so my question may look fool to many of you, but I need to do it.
I have calculated LevinÂŽs index (which is 1/sum(pi)Ë2 where pi=available
source i/sum of all sources) for some data and I have been suggested to
bottstrap it to improve my results, and here it is where I get lost. I have
done this
sources=c(15, 456, 32, 21, 94)
sum(sources)
pi=sources/sum(sources)
pi2=piË2
B=1/pi2
B
Boot=boot(a,sim="parametric", R=100)
When I try to make the bootstrap function it says statistics argument is
missing, I know something is wrong but not really what it is. Any help you
could give me to know how to solve this would be really great!
I also would like to know in this case how can you get the p-value!
Thanks a lot!
[[alternative HTML version deleted]]