describe(deprecated)/count - Help

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

data1:=2,3,Weight4,5

(1)

describe[count]data1

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

data2:=Weight3&comma;10&comma;missing&comma;4&comma;Weight11..12&comma;3

(3)

describe&lsqb;count&rsqb;data2

14

(4)

See Also

describe(deprecated)[countmissing]

Statistics

Statistics[Count]

stats(deprecated)[data]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam