Effacer les filtres
Effacer les filtres

BootStrap samples of diferent size

1 vue (au cours des 30 derniers jours)
julios
julios le 18 Août 2017
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

Réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by