I am performing a chi-square goodness of fit test for 4 individuals
with an observed frequency of a particular behaviour. For one
individual, this frequency is 0, which makes SPSS exclude the
datapoint (with the warning #3211) and only analyse the remaining
three, which decreases the significance of the data. Is there any way
to get around this within this test?
Thanks,
Anne
If I follow, you have the number of times some behaviour occurred for
each of 4 individuals, and for one person, the count = 0. Is that
right? If so, are you really happy to treat the data as if each
behavioural episode within an individual is independent of all other
episodes (as is required for the chi-square goodness of fit test)?
What is the question you are trying to address?
--
Bruce Weaver
bwe...@lakeheadu.ca
www.angelfire.com/wv/bwhomedir
I have been reading questions and answers in this group for a long long
time, and the hints and support you provide here are really really
precious. Looking for answers by studying the theory is certainly a
excellent way to learn, but as in my case, the load of work at the
hospital and at home makes this type of studying a really slow process.
Learning by the example may be the lazy man's solution, but in the case
of young doctors with limited knowledge of statistics, loads of clinical
work, small children at home, a quick and straightforward answer is
time-saving, if not life-saving.
I appreciate you stimulating us to think by ourselves, but with your
extended knowledge of statistics, I would appreciate even more a
straight answer from time to time. :)
(I am not the top-poster in this thread)
Gratefully and respectfully
Lorenzo Sandini
Kuopio, FINLAND
Dr. Weaver sensibly asked the OP to clarify the question she was posing.
In statistical consulting as in many other fields such as nursing,
medicine, counseling, law, etc., an important skill is to be able to
move from a presenting question to a clearer underlying question. A
"straight" answer would have been meaningless and potentially deceptive.
It would have been of no use to the OP or to other readers of this news
group.
Art Kendall
Social Research Consultants
What Bruce intented by saying that behavioural episodes in one
individual are related to other similar events in that same individual
is probably the key to solving this riddle in the statistically correct
way. If the outcome measure is an evaluation of addiction for example, I
would not know how to test the distribution of observed frequencies with
one of them being 0.
Again I am looking forward to reading your solution.
Lorenzo
Thanks for your reply - see my follow-up questions interspersed with
your reply:
On Mar 29, 6:27 pm, Bruce Weaver <bwea...@lakeheadu.ca> wrote:
> a.blok...@gmail.com wrote:
> > Hi,
>
> > I am performing a chi-square goodness of fit test for 4 individuals
> > with an observed frequency of a particular behaviour. For one
> > individual, this frequency is 0, which makes SPSS exclude the
> > datapoint (with the warning #3211) and only analyse the remaining
> > three, which decreases the significance of the data. Is there any way
> > to get around this within this test?
>
> > Thanks,
> > Anne
>
> If I follow, you have the number of times some behaviour occurred for
> each of 4 individuals, and for one person, the count = 0. Is that
> right?
Yes, that's correct.
> If so, are you really happy to treat the data as if each
> behavioural episode within an individual is independent of all other
> episodes (as is required for the chi-square goodness of fit test)?
Yes, I am happy to treat the data as such.
>
> What is the question you are trying to address?
Essentially, can I perform a chi-square goodness of fit test when I
have a zero value for one frequency/count? As explained above, I get a
warning from SPSS, and would like to include this invididuals count in
the results, but at present that individual is excluded from the
results.
>
> --
> Bruce Weaver
> bwea...@lakeheadu.cawww.angelfire.com/wv/bwhomedir
Thanks,
Anne
> > If I follow, you have the number of times some behaviour occurred for
> > each of 4 individuals, and for one person, the count = 0. Is that
> > right?
>
> Yes, that's correct.
>
> > If so, are you really happy to treat the data as if each
> > behavioural episode within an individual is independent of all other
> > episodes (as is required for the chi-square goodness of fit test)?
>
> Yes, I am happy to treat the data as such.
>
>
>
> > What is the question you are trying to address?
>
> Essentially, can I perform a chi-square goodness of fit test when I
> have a zero value for one frequency/count? As explained above, I get a
> warning from SPSS, and would like to include this invididuals count in
> the results, but at present that individual is excluded from the
> results.
You are running something like this:
NPAR TEST CHISQUARE= id
/EXPECTED=EQUAL
/MISSING ANALYSIS.
You need to change it to something like this:
NPAR TEST CHISQUARE = id(1,4)
/EXPECTED=EQUAL
/MISSING ANALYSIS.
The id(1,4) gives SPSS the lowest and highest values of ID.
Well stated, Art.
King Douglas
American Airlines Customer Research