Quantcast

Documentation Center

  • Trial Software
  • Product Updates

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 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:

  • 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?