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 Working with 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:
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.