ateneatla / sexinsa_qol_ELSA

Research about the possible relationship between sexual insatisfaccion and the quality of life in elder people from English Longitudinal Study of Ageing
GNU General Public License v3.0
0 stars 0 forks source link

Isolation: has_vip = "1" "yes" & kind_of_contact = "-9" "not answered" #25

Open ateneatla opened 3 years ago

ateneatla commented 3 years ago

Is your feature request related to a problem? Please describe. Subjects who has family, friends or childs but they don't answer to every kind of contact question. There are consider the following cases in #24

But there are a case ignored: ¿What if the answers are -9, 1, -9, 1? Now there is imputed a 0, but probably 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