# Question:Bootstrap

## Question:Bootstrap

Maple
Has anyone been able to use the statopts option in the Bootstrap command which is in the Statistics package in Maple 10? Note the following sequence of commands > with(Statistics) > Bootstrap('Mean', [1, 2, 3, 4, 5], replications = 6, output = array) print(Matrix(1, 6, {(1, 1) = 2., (1, 2) = 3.39999999999999990, (1, 3) = 2.20000000000000016, (1, 4) = 2.79999999999999982, (1, 5) = 3.60000000000000008, (1, 6) = 2.20000000000000016})); [2., 3.39999999999999990, 2.20000000000000016, 2.79999999999999982, 3.60000000000000008, 2.20000000000000016] According to the documentation which is attached as a PDF file it appears that this command should work. > Bootstrap('Quartile', [1, 2, 3, 4, 5], replications = 6, output = array, statopts = [1]) Error, (in Statistics:-Bootstrap) unexpected argument(s): [1] Note the following 2 error messages: > Bootstrap('Quartile', [1, 2, 3, 4, 5], replications = 6, output = array,statopts = []) Error, (in Statistics:-Bootstrap) invalid input: MakeProc expects its 1st argument, r, to be of type {integer[1 .. 3], list(integer[1 .. 3])}, but received statopts > Bootstrap('Quartile', [1, 2, 3, 4, 5], replications = 6, output = array) Error, (in Statistics:-Bootstrap) invalid input: MakeProc expects its 1st argument, r, to be of type {integer[1 .. 3], list(integer[1 .. 3])}, but received statopts
﻿