BootStrap samples of diferent size
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!