Recode (or compute) from two variables
Posted: Sat Feb 22, 2025 7:15 pm
Let's say I have two existing dichotomous (0 or 1) variables. I want to create a new variable that is coded 1 if either of the original variables are coded 1, and otherwise code this new variable as 0. How could one do this in jamovi? It seems that transform only works with one source variable, not 2 or more? And I'm not sure how to use Compute to do this directly. I can think of a workaround or two (such as compute a summed variable from the two original ones, then recode that), but I'm checking to see if I'm missing something. Thanks!
~Doug
~Doug