How to convert my output into a suitable table for ANOVA or Kruskwallis testing on SPSS?

#1
Hi guys,
Let's say I have asked an individual to classify images according to 3 fruits that he sees : apple, banana and kiwi. Then, I want to assess whether there are significant differences between the frequencies of each classified fruit (there are more instances, this is just an example). I am thinking of using one-way ANOVA or kruskal-wallis test to assess these but my output is the following:

| IMAGE| FRUIT SEEN|
| 1| Banana |
| 2| Kiwi |
| 3| Apple |
| 4| Banana |

How do I convert this into SPSS so that I can conduct either ANOVA or Kruskal - wallis test? Does the following below looks okay or am I missing something or am I even using the right statistical test?

| Category | Banana |Kiwi |Apple |
| Banana | 1 | 0 | 0 |
| Kiwi | 0 | 1 | 0 |
| Apple | 0 | 0 | 1 |
| Banana | 1 | 0 | 0 |

Thank you in advance.
 

Karabiner

TS Contributor
#2
I'd suggest that you describe the real study. Personally, I do not understand anything from
what you wrote. Sentences like "I have asked an individual to classify images according to 3
fruits that he sees : apple, banana and kiwi." are very confusing.

With kind regards

Karabiner