mstats: Missing Dataset Statistics

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Carry out some statistics from the incomplete dataset

Usage

1
mstats(dataset)

Arguments

dataset

dataset with missing for description

Details

This function computes the proportion of missing observations in a given dataset by rows and columns.

Value

A list containing

rows

number of missing in each row

columns

number of missing in each column

pattern

the pattern of the missing values

Author(s)

Washington Junger wjunger@ims.uerj.br and Antonio Ponce de Leon ponce@ims.uerj.br

See Also

mnimput, getmean, edaprep

Examples

1
2

Example output

Loading required package: gam
Loading required package: splines
Loading required package: foreach
Loaded gam 1.16

mtsdi 0.3.5
$rows
   missing missing(%)
1        0          0
2        0          0
3        0          0
4        0          0
5        1         20
6        0          0
7        2         40
8        0          0
9        0          0
10       0          0
11       1         20
12       0          0
13       1         20
14       2         40
15       0          0
16       0          0
17       0          0
18       0          0
19       0          0
20       0          0
21       3         60
22       3         60
23       0          0
24       1         20

$columns
    missing missing(%)
c31       1   4.166667
c32       1   4.166667
c33       6  25.000000
c34       3  12.500000
c35       3  12.500000

$pattern
  missing missing(%)
0      16  66.666667
1       4  16.666667
2       2   8.333333
3       2   8.333333
4       0   0.000000
5       0   0.000000

mtsdi documentation built on May 2, 2019, 1:09 p.m.

Related to mstats in mtsdi...