Page 1 of 1
levels of variable not showing
Posted: Sat Aug 24, 2019 11:23 am
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?
Re: levels of variable not showing
Posted: Sat Aug 24, 2019 11:34 am
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
Re: levels of variable not showing
Posted: Sat Aug 24, 2019 11:42 am
by j0hn
I just sent it. thanks
Re: levels of variable not showing
Posted: Sat Aug 24, 2019 11:46 am
by j0hn
Well I did a scatterplot and they show.
Re: levels of variable not showing
Posted: Sat Aug 24, 2019 11:50 am
by j0hn
One-way ANOVA works. It's only in the descriptives
Re: levels of variable not showing
Posted: Sat Aug 24, 2019 11:59 am
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
Re: levels of variable not showing
Posted: Sat Aug 24, 2019 12:07 pm
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
Re: levels of variable not showing
Posted: Sun Aug 25, 2019 1:19 am
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.