Page 1 of 1

this may be simple but . .

Posted: Thu Feb 09, 2023 1:43 am
by kiwidave
I am trying to filter out all data from the "self" level of my nominal data. But I keep failing.. can anyone help. many thanks
Screenshot 2023-02-09 at 14.40.44.png
Screenshot 2023-02-09 at 14.40.44.png (398.27 KiB) Viewed 1995 times

Re: this may be simple but . .

Posted: Thu Feb 09, 2023 3:14 am
by jonathon
here's a post on filters

https://blog.jamovi.org/2018/04/25/jamovi-filters.html

cheers

Re: this may be simple but . .

Posted: Thu Feb 09, 2023 5:59 am
by kiwidave
Imagebrother, thanks and I read that. But in proof that I code like a dyslexic cat, I still cannot figure it: see image

Re: this may be simple but . .

Posted: Thu Feb 09, 2023 10:10 am
by Bobafett
You'll probably find that the issue stems from you trying to filter out "self" and not "Self"....

Mind you, I've never been a fan of 'text-based' variables - they tend to create more issues than they solve.

If you replace the names with integers (so that Self = 1 etc...), then using ParticipantType !=1 as a filter will work....

Re: this may be simple but . .

Posted: Sat Feb 11, 2023 12:29 am
by jonathon
ParticipantType != self

filters out all rows where the value in the ParticipantType column is equal to the value in the self column ... and jamovi is helpfully pointing out that there is no self column in your data set.

if you want to only include rows where the value in the ParticipantType column is equal to 'Self' you need to wrap it in quotes, and ensure the capitalization is correct. i.e.

ParticipantType != "Self"

(i'll also add that i'm quite comfortable using text based variables)

Re: this may be simple but . .

Posted: Sat Feb 11, 2023 3:12 am
by kiwidave
Thanks team. I have reset my 'stupid' filter, and now can make progress