bootstrp
Echantillonnage bootstrap.
📝Syntaxe
bootstat = bootstrp(nboot, bootfun, d)
bootstat = bootstrp(nboot, bootfun, d1, ..., dN)
[bootstat, bootsam] = bootstrp(...)
[bootstat, bootsam] = bootstrp(nboot, [], d)
📥Arguments d'entrée
Paramètre Description
nboot entier positif indiquant le nombre d'echantillons bootstrap.
bootfun fonction appliquee a chaque echantillon bootstrap. Utilisez une valeur vide pour retourner seulement les indices.
d vecteur ou matrice numerique ou logique. Les lignes sont tirees avec remise.
📤Arguments de sortie
Paramètre Description
bootstat statistiques bootstrap, une ligne par echantillon.
bootsam indices tires, une colonne par echantillon bootstrap.
📄Description

bootstrp tire des echantillons bootstrap avec le generateur aleatoire de Nelson et applique une fonction statistique a chaque echantillon.

💡Exemples
Moyennes bootstrap.
rng('default');
[bootstat, bootsam] = bootstrp(20, @mean, (1:10)')
Used Functions
bootci jackknife randsample rng
Modifier cette page sur GitHub