Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Statistics[Bootstrap] - compute bootstrap statistics
Calling Sequence
Bootstrap(stat, inp, options)
Parameters
stat
-
stat, procedure; statistic to bootstrap
inp
rtable, algebraic; input data or distribution
options
(optional) equation(s) of the form option=value where option is one of samplesize, replications, output, weights, ignore or statopts; specify options for the Bootstrap function
Description
The Bootstrap function approximates the value of a standard statistic over a data sample or random variable by resampling from the sample or random variable and averaging the results.
The first parameter stat is the name of a standard quantity applied to either a data set or random variable (e.g. Mean, Median, Variance).
The second parameter inp can be a data sample or a random variable to be used as input. If a data sample is specified, the algorithm attempts to draw, with replacement, from the data sample to create a new data sample with a similar weight.
Options
The options argument can contain one or more of the options shown below.
samplesize = 'deduce' or posint -- If this option is set to 'deduce' (default) and a data sample has been provided as the first argument to this function, then the sample size will be the size of the data sample. If set to 'deduce' and a random variable is specified, the procedure will default to 1000 samples.
replications = posint -- By default this parameter is set to 1000. This parameter specifies the number of data sets that should be generated (or replicated) - each of size specified by samplesize.
output = 'value', 'standarderror', 'array' or list('value', 'standarderror') -- This parameter specifies the desired output from the bootstrap function. If 'value' is specified (default), the function simply returns the value approximated by Bootstrap. If 'array' is specified then an Array of size replications will be returned containing the statistic calculated on each generated data sample. If 'standarderror' is specified then the function returns the standard error from the calculation. Otherwise, a list of these parameters may be specified which returns a list populated accordingly.
ignore = truefalse -- This option is used to specify how to handle non-numeric data. If ignore is set to true all non-numeric items in data will be ignored. This option is only valid if inp is a data set.
weights = rtable -- Vector of weights (one-dimensional rtable). If weights are given, the Bootstrap function will weight the sample inp accordingly. Note that the weights provided must have type,realcons and the results are floating-point, even if the problem is specified with exact values. The data array and the weights array must have the same number of elements. This option is only valid if inp is a data set.
statopts = list -- This parameter specifies an ordered list of parameters for the statistical quantity called. By default this is simply an empty list.
Examples
Bootstrap the mean on a data sample.
Bootstrap the mean on a random variable.
See Also
Statistics, Statistics[Computation]
Download Help Document