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

ENH: Add imputed column for indicator if imputeZeroes=TRUE #10

Open
muschellij2 opened this issue Dec 3, 2019 · 3 comments
Open

ENH: Add imputed column for indicator if imputeZeroes=TRUE #10

muschellij2 opened this issue Dec 3, 2019 · 3 comments

Comments

@muschellij2
Copy link
Contributor

Would it be possible to add an indicator of imputed = TRUE when imputeZeroes = TRUE? It is possible to check if all columns are zero, but that may not be sufficient as some rows may have no acceleration but are not non-wear.

The goal is to do a last observation carried forward so that we can get out exactly what comes out of actiLife software.

@TuomoNieminen
Copy link
Collaborator

Nonwear will not have all zero rows due to gravity.

@TuomoNieminen
Copy link
Collaborator

But yes, that information is also stored in the missingness attribute. There could be an option (for example in the as.data.frame method) or a separate method to add an indicator column?

@TuomoNieminen
Copy link
Collaborator

TuomoNieminen commented Dec 3, 2019

It is also possible that the imputezeroes feature in the C++ parser isn't really a good way to handle the imputation task. As long as missingness is recorded correctly while parsing, imputation could be done afterwards, using the incomplete data matrix and the missingness attribute. Therefore there could be a separate imputation procedure for example with multiple options.

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

No branches or pull requests

2 participants