フィルターのクリア

BootStrap samples of diferent size

1 回表示 (過去 30 日間)
julios
julios 2017 年 8 月 18 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by