Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move missing data functions to their own package #61

Open
Deleetdk opened this issue Feb 4, 2017 · 0 comments
Open

Move missing data functions to their own package #61

Deleetdk opened this issue Feb 4, 2017 · 0 comments

Comments

@Deleetdk
Copy link
Owner

Deleetdk commented Feb 4, 2017

There are by now a number of these missing data related functions. I have already given them a prefix, miss_. As such, they constitute a small but very useful set of functions:

  • miss_amount, for overall counts of missing data.
  • miss_by_var, missing data for each variable.
  • miss_by_case, missing data for each case.
  • miss_plot, for visualizing patterns of missing data in multiple ways.
  • miss_pattern, calculates missing data patterns.
  • miss_analyze, for analyzing whether missingness is related to variables ('missing at random').
  • miss_complexity, returns complexity metrics for the missing data.
  • miss_matrix, returns the missing data matrix used for the above, but which could be used for other purposes.
  • miss_add_random, adds random missing data to a data frame. I'm considering renaming this to miss_add and add functionality for adding non-random missing data. An alternative is to add some other functions e.g. miss_add_nonrandom to which one could somehow indicate how missingness is to be induce, perhaps via formulas or functions.
  • miss_impute, wrapper function to impute missing data using VIM:irmi. Is able to deal with some problems, such as which subsets of the data one wants to impute.

In general, I am pretty happy with the current selection of functions, not much functionality is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant