levels of variable not showing

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
j0hn
Posts: 12
Joined: Tue Jul 23, 2019 3:20 am
Location: Chiang Mai, Thailand

levels of variable not showing

Post by j0hn »

I have a .sav file. One of the variables has categorical levels but in descriptives the levels don't show. I tried changing the datatype to text, but no difference. THis is the variable tabled in R:

> table(A0690$Impression_diagnosis)

1 2 3 4 5 6 7 8 9
432 168 166 36 29 17 10 19 102
>

Is there someway to get the levels for analysis?
Attachments
Screen Shot 2019-08-24 at 18.10.49.png
Screen Shot 2019-08-24 at 18.10.49.png (80.32 KiB) Viewed 4638 times
User avatar
jonathon
Posts: 2620
Joined: Fri Jan 27, 2017 10:04 am

Re: levels of variable not showing

Post by jonathon »

hi,

could you attach the spss file? normally the levels come through as one would expect.

the only thing i can think of is that they are specified as 'missing values' in the spss file (in spss, you can specify a range of values to be treated as missings) ... or there's a bug in jamovi (which is also a possibility).

(you can send the file to contact <at> jamovi.org if it's something you'd prefer not to be public).

cheers

jonathon
j0hn
Posts: 12
Joined: Tue Jul 23, 2019 3:20 am
Location: Chiang Mai, Thailand

Re: levels of variable not showing

Post by j0hn »

I just sent it. thanks
j0hn
Posts: 12
Joined: Tue Jul 23, 2019 3:20 am
Location: Chiang Mai, Thailand

Re: levels of variable not showing

Post by j0hn »

Well I did a scatterplot and they show.
j0hn
Posts: 12
Joined: Tue Jul 23, 2019 3:20 am
Location: Chiang Mai, Thailand

Re: levels of variable not showing

Post by j0hn »

One-way ANOVA works. It's only in the descriptives
User avatar
jonathon
Posts: 2620
Joined: Fri Jan 27, 2017 10:04 am

Re: levels of variable not showing

Post by jonathon »

hmm, you're right, there's something quite peculiar going on here ... you'll have to leave it with me.

i'll try and come back to you by monday.

cheers

jonathon
User avatar
jonathon
Posts: 2620
Joined: Fri Jan 27, 2017 10:04 am

Re: levels of variable not showing

Post by jonathon »

just to clarify,

you can see the counts for the levels by turning on the 'frequency tables' checkbox (in descriptives).
in the case of Impression_diagnosis_2, only two levels appear in the frequency table, but that's because those are the only two levels used.
however, you should be able to turn on 'retain unused levels', and it will display the full list of levels (with zeroes for counts) beside them. that's the issue that i've found.

are we on the same page here? or have i missed something else?

with thanks
j0hn
Posts: 12
Joined: Tue Jul 23, 2019 3:20 am
Location: Chiang Mai, Thailand

Re: levels of variable not showing

Post by j0hn »

Ah ok, yes checking frequency tables works. I think i-d.2 and 3 are not of interest. Soemthing they were playing with I think. Ok, so that's the way its supposed to work. I was thinking I tried that i guess.
Post Reply