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]]

