Excludemissing: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Automatically exclude too-much missing data in a matrix. | Automatically exclude too-much missing data in a matrix. | ||
===Synopsis=== | ===Synopsis=== | ||
:[newx,bad] = excludemissing(x,threshold) | :[newx,bad] = excludemissing(x,threshold) | ||
===Description=== | ===Description=== | ||
Excludes rows, columns, or n-dim elements of input x which have too''' '''much missing based on the input threshold which is a fraction of''' '''allowed missing data. If omitted, threshold will be equal to the default''' '''max_missing value of the function MDCHECK (typically 0.40). | Excludes rows, columns, or n-dim elements of input x which have too''' '''much missing based on the input threshold which is a fraction of''' '''allowed missing data. If omitted, threshold will be equal to the default''' '''max_missing value of the function MDCHECK (typically 0.40). | ||
Outputs are a dataset object with excluded elements newx and a cell''' '''holding the indices of the bad elements for each mode of data bad. | Outputs are a dataset object with excluded elements newx and a cell''' '''holding the indices of the bad elements for each mode of data bad. | ||
===See Also=== | ===See Also=== | ||
[[mdcheck]], [[replace]] | [[mdcheck]], [[replace]] |
Revision as of 14:25, 3 September 2008
Purpose
Automatically exclude too-much missing data in a matrix.
Synopsis
- [newx,bad] = excludemissing(x,threshold)
Description
Excludes rows, columns, or n-dim elements of input x which have too much missing based on the input threshold which is a fraction of allowed missing data. If omitted, threshold will be equal to the default max_missing value of the function MDCHECK (typically 0.40).
Outputs are a dataset object with excluded elements newx and a cell holding the indices of the bad elements for each mode of data bad.