Hi,
This is very helpful.
I suggest adding the possibility to work with logical expressions.
For example, to recode a categorical variable to binary we could compute (var == "value") to get TRUE/FALSE for the value of interest or (var == "value")*1 to get 1/0 values
Also to categorize a continuous variable, for example with cutoff 10: (var > 10)
Thanks
Victor
[SOLVED] Compute new variables
Re: Compute new variables
hi victor,
yup, we've been thinking about this. we're going to add a 'recode' facility which will handle a lot of these cases, but we've also been thinking about an IFELSE() (for example) formula too.
cheers
yup, we've been thinking about this. we're going to add a 'recode' facility which will handle a lot of these cases, but we've also been thinking about an IFELSE() (for example) formula too.
cheers
Re: Compute new variables
Hi,
I notice that there is a way to perform certain computations (i.e., z score, log transform); but is there anything in jamovi that allows for computing a difference score between 2 variables for all cases (i.e., participants)?
thanks,
dominic
I notice that there is a way to perform certain computations (i.e., z score, log transform); but is there anything in jamovi that allows for computing a difference score between 2 variables for all cases (i.e., participants)?
thanks,
dominic
Re: Compute new variables
Hi Dominic,
Yes, that is pretty easy actually. You can just go:
You can just use normal formula operators in computed variables
Cheers
Yes, that is pretty easy actually. You can just go:
Code: Select all
var1 - var2
Cheers