Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Store Statistical Data

MuPAD® offers various data containers, such as lists, arrays, tables, and so on, to store and organize data. For details about the MuPAD data structures, see Data Structures. Although, you can use any of these data containers to store statistical data, the following containers serve best. The reason is that many functions of the Statistics library accept these data containers as input parameters:

  • Lists

  • Statistical samples (stats::sample). This data structure is specifically designed for statistical data.

Using sets, tables, arrays, vectors, and matrices is less convenient. You cannot use these data containers as input parameters for most functions of the Statistics library. To use these functions on data stored in sets, tables, arrays, vectors, or matrices, transfer the data to lists or statistical samples.

Was this topic helpful?