Research about the possible relationship between sexual insatisfaccion and the quality of life in elder people from English Longitudinal Study of Ageing
Is your feature request related to a problem? Please describe.
There are subjects who answered that they have vips (family, friends, children) but It's said that the kind of contact is not applicable.
Describe the solution you'd like
There will be a nice solution if where there are a -1 in kind of contact It's replaced as:
If in the rest of the answers there are one 0, then this subjects is not isolated, so impute a 0
If the rest of the answers are 1, then impute a 1.
Any other case, impute a 0
But there are a case ignored:
¿What if the answers are -1, 1, -1, 1? Now there is imputed a 0, but It's not the best solution
Describe alternatives you've considered
Maybe with a condition which were said "if there are any = -9 and anohter -9, then impute 1 if the rest are 1 and 0 if the rest are 0. Else, delete the subject.
Additional context
Maybe there will be in the future another issue to improve the solution
Is your feature request related to a problem? Please describe. There are subjects who answered that they have vips (family, friends, children) but It's said that the kind of contact is not applicable.
Describe the solution you'd like There will be a nice solution if where there are a -1 in kind of contact It's replaced as:
But there are a case ignored: ¿What if the answers are -1, 1, -1, 1? Now there is imputed a 0, but It's not the best solution
Describe alternatives you've considered Maybe with a condition which were said "if there are any = -9 and anohter -9, then impute 1 if the rest are 1 and 0 if the rest are 0. Else, delete the subject.
Additional context Maybe there will be in the future another issue to improve the solution