BootStrap samples of diferent size
1 view (last 30 days)
Show older comments
Hi, it is posible generate samples of size k, of the universe of size N in the BootStrap function?
I Have a population with 10 elements, when I generate a BootStrap example, all of my samples have 10 element.
¿I want generate sample of diferent size, it is posible?
My example:
a=[1;2;3;4;5;6;7;100;150;200];
[bootstat1, bootsam1] = bootstrp(50,@prod,a);
Result of MatLab
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166768/image.png)
0 Comments
Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!