필터 지우기
필터 지우기

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 CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by