stats[describe]
countmissing
Count of Missing Items
Calling Sequence
Parameters
Description
Examples
stats[describe, countmissing](data)
describe[countmissing](data)
data
-
statistical list
Important: The stats package has been deprecated. Use the superseding package Statistics instead.
The function countmissing of the subpackage stats[describe, ...] counts the number of missing observations in data. It uses the weight of the items, as specified by Weight.
The command with(stats[describe],countmissing) allows the use of the abbreviated form of this command.
with⁡stats:
There is one missing piece of data
data1≔Weight⁡3,10,missing,4,Weight⁡11..12,3
describecountmissing⁡data1
1
There are 3 observations in the range 1<=x<10, 4 in the range 10<=x<20 and 5 missing observations.
data2≔Weight⁡1..10,3,Weight⁡10..20,4,Weight⁡missing,5
Nmiss≔describecountmissing⁡data2
Nmiss≔5
Ratio of missing data to total data is
Nmissdescribecount⁡data2+Nmiss
512
See Also
describe(deprecated)[count]
Statistics
Statistics/CountMissing
stats(deprecated)[data]
Download Help Document