Is there a way in perl to impute missing data?
I have a 2-D array where missing data is encoded by 9, and the real data exists in a state of either 0,1 or 2. If I export only unique rows in the array I get 8 rows however two of these rows contain missing data and imputation of one of the other three values means that only 6 rows should be displayed
eg
2 2 0 1 0 2 2 0 2 1 0 2 1 1 0 0 1 1 1 0 2 2 0 0 0 2 9 0 2 1 0 2 0 1 0 2 2 0 9 0
The row's containing 2 9 0 2 1 and 2 2 0 9 0 should be removed. Is there a perl module that can do this easily ?
In reply to Imputation of data by garyboyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |