describe(deprecated)/count - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : describe(deprecated)/count

stats[describe]

  

count

  

Count of non missing items

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stats[describe, count](data)

describe[count](data)

Parameters

data

-

Statistical list

Description

• 

Important: The stats package has been deprecated. Use the superseding package Statistics instead.

• 

The function count of the subpackage stats[describe, ...] counts the number of non missing observations in data. It uses the weight of the items, as specified by Weight.

• 

Since the function count gives the total weight of the non-missing data, it is useful in conjunction with stats[transform,scaleweight], stats[transform,tally], and stats[transform,tallyinto], in order to find relative frequencies.

• 

The command with(stats[describe],count) allows the use of the abbreviated form of this command.

Examples

Important: The stats package has been deprecated. Use the superseding package Statistics instead.

withstats:

Data consists of the number 4 repeated 5 times, together with the numbers 2 and 3. Seven items in all.

data12,3,Weight4,5

data12,3,Weight4,5

(1)

describecountdata1

7

(2)

Here the data consists of 1 missing item, 10 copies of the number 3, 3 items in the range 11<=x<12 and 1 copy of the number 4. Fourteen non-missing items.

data2Weight3&comma;10&comma;missing&comma;4&comma;Weight11..12&comma;3

data2Weight3&comma;10&comma;missing&comma;4&comma;Weight11..12&comma;3

(3)

describecountdata2

14

(4)

See Also

describe(deprecated)[countmissing]

Statistics

Statistics[Count]

stats(deprecated)[data]