>
|
|
We construct a Matrix with housing data. The first column has number of bedrooms, the second has number of square feet, the third has price.
>
|

|
| (1) |
We can create box plots of the price for subgroups of sales defined by number of bedrooms.
>
|
|
| (2) |
We can determine the average area and price for the whole data set and for the sets with
,
, and
bedrooms. For the latter, we use the elementwise version of Mean by appending a tilde to the command.
>
|
|
| (3) |
>
|
|
, Vector[row]([3., 964.200000000000, 100115.400000000]), Vector[row]([4., 1148., 122884.333333333])]](/support/helpjp/helpview.aspx?si=5306/file02892/math290.png)
| (4) |
We can also determine the standard error for this mean.
>
|
|
| (5) |
Or the 30th percentile for each column.
>
|
|
| (6) |
Some commands have calling sequences where one of the arguments is compared to the data; this is the case for the second argument of AbsoluteDeviation and for the origin parameter of Moment. In these cases, it typically doesn't make much sense to use the same value for each column, so Maple supports using a list or Vector of values instead.
>
|
|
| (7) |
>
|
|
| (8) |