Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu

RESAMPLE matrix function

Description

RESAMPLE(A) Returns a matrix with the same dimension of A, containing a random selection of rows of A (resampling with replacement). Some rows of A may be duplicated in the result matrix, others may be missing.

If A is a row vector, then the result matrix will be a row vector with a random selection of elements of A.

Calculator

RESAMPLE(  

See also

Recommended book

Book cover

Matrix Algebra Useful for Statistics
Shayle R. Searle, Andre I. Khuri

Buy from Amazon

This book addresses matrix algebra that is useful in the statistical analysis of data as well as within statistics as a whole. The material is presented in an explanatory style rather than a formal theorem-proof format and is self-contained.