[SOLVED] Compute new variables

Discuss the jamovi platform, possible improvements, etc.
vmoreno
Posts: 21
Joined: Mon Jun 05, 2017 6:04 pm

Re: Compute new variables

Post by vmoreno »

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
User avatar
jonathon
Posts: 2609
Joined: Fri Jan 27, 2017 10:04 am

Re: Compute new variables

Post by jonathon »

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
dfareri
Posts: 1
Joined: Fri Dec 01, 2017 9:18 pm

Re: Compute new variables

Post by dfareri »

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
User avatar
Ravi
Posts: 194
Joined: Sat Jan 28, 2017 11:18 am

Re: Compute new variables

Post by Ravi »

Hi Dominic,

Yes, that is pretty easy actually. You can just go:

Code: Select all

var1 - var2
You can just use normal formula operators in computed variables

Cheers
Post Reply