Displaying 2 results from an estimated 2 matches for "fbhint".
Did you mean:
chint
2003 Oct 30
7
Weird problem with median on a factor
Hi all,
I hope this isn't a naive newbie question again. Here you can see column 264 of
a data frame containing data of the same interview in May and September. Column
264 contains the answers of 49 persons to a question in May.
> fbhint.spss1[,264]
[1] teils/teils sehr wichtig <NA> <NA> sehr wichtig
[6] sehr wichtig sehr wichtig sehr wichtig <NA> <NA>
[11] <NA> <NA> wichtig <NA> <NA>
[16] sehr wichtig <NA> <NA...
2003 Nov 07
2
chisq.test error: x and y must have at least 2 levels
...ors (it makes no difference if I take the numeric variant
of the factors). At factor nr. 4 is stops with an error:
[1] "v1= V7.KARTM v11= V7.KAR1M"
Error in chisq.test(d1, d2) : x and y must have at least 2 levels
But x and y /have/ two levels ("nein", "ja"):
> fbhint.spss1$V7.KARTM
[1] nein nein nein nein nein nein nein nein nein nein nein
nein nein nein nein
[16] nein nein nein nein nein nein nein nein nein nein nein
nein nein nein nein
[31] nein nein nein nein nein nein nein nein nein nein nein
nein nein nein nein
[46] nein nein nein nein
Levels: nein ja...