Hi!
I have a dataset with loads of variables. I am looking into factors associated with childhood development. For a child to be developmentally on track, they need to check at least x/20 variables depending on age. I want to make a new variable that for each child tells me if they´re developmentally on track (checks at least 15/20 variables for the age category I´m interested in). I have named the 20 variables I´m interested in "var1, var2, var3.." etc. How do I make a new variable for each child that tells me if they´re on track yes/no?
Thanks!
I have a dataset with loads of variables. I am looking into factors associated with childhood development. For a child to be developmentally on track, they need to check at least x/20 variables depending on age. I want to make a new variable that for each child tells me if they´re developmentally on track (checks at least 15/20 variables for the age category I´m interested in). I have named the 20 variables I´m interested in "var1, var2, var3.." etc. How do I make a new variable for each child that tells me if they´re on track yes/no?
Thanks!

Comment