Page 1 of 1

conditional recode

Posted: Sat Oct 17, 2020 7:14 pm
by noavar
Hi,
I want to recode values, but only for one group. and for other groups to write the original score.
can I do something like this?
in the "transform" window, I can only to define my recode, but not to condition it in the context of another variable.

thanks for help
Noa

Re: conditional recode

Posted: Sun Oct 18, 2020 3:20 am
by jonathon
hi,

this is certainly possible.

something like the attached?
Screen Shot 2020-10-18 at 14.19.39.png
Screen Shot 2020-10-18 at 14.19.39.png (682.93 KiB) Viewed 2804 times
jonathon

Re: conditional recode

Posted: Sun Oct 18, 2020 8:36 am
by noavar
thanks a lot!
There is documentation of the rules of conditioning and the manner of writing?

Re: conditional recode

Posted: Sun Oct 18, 2020 10:14 am
by jonathon
there's a couple of blog posts describing things, but there's not a lot to it:

https://blog.jamovi.org/2017/11/28/jamovi-formulas.html
https://blog.jamovi.org/2018/10/23/transforming-variables.html

jonathon

Re: conditional recode

Posted: Sun Oct 18, 2020 11:16 am
by noavar
thanks Jonathan