I'm trying to figure out how this method works. My data:
- 1000 samples from unknown distribution.
- I need to create 40 vectors from those 1000 samples (each vector with 20 samples)
- For every one of the 40 vectors, I need to do the bootstrap method for:
- Finding the confidence interval ($\alpha$ = 0.05) in three methods: t, quantiles & normal.
- We need the confidence interval for the standard deviation.
(R langauge)
My way until now:
- I've created this 40 vectors (each one with 20 samples)
- Let's say that the bootstrap constant is 1000.
- What is actually the process of "doing bootstrap" for each vector with 20 samples? How can we create a confidence interval for this vector in each one of these methods I've mentioned?
I will be glad for any help.
@BruceET
I cannot comment because i've needed to reset my account. Anyway, I'm interested only in CI for the population standard mean. By 3 methods, I've meant that there are 3 options to calculate the CI (one with quantiles, one with t distribution, and one with normal distribution).
I wanna provide R code, but that's my challange to understand what is the code :)