SPSS or R: Determine the significant difference between levels within a category and between categories

Viewed 59

I'm working with quite a small data and I previously used ANOVA and Tukey as post-hoc test when I had more data years before. Now, I actually forgot how to use SPSS but I have to use it for an old paper (but I can also use R). My data have 4 Categories with 5 levels each except for the last category with just 2 levels. For each level, I have one numerical value (average of 3 raw data).

Sample data:

Categories Levels Values
pH 2 .023
pH 3 .032
pH 4 .031
pH 5 .000
pH 6 .018
Moisture 10 .032
Moisture 15 .300
Moisture 20 .185
Moisture 25 .281
Moisture 30 .100
Light With .910
Light Without .213

These are just sample data (I have 2 more categories). Are ANOVA and Tukey still applicable to my data? And how should I do this via SPSS or R?

I would appreciate any help with this.

1 Answers

Yes, anova and tukey is still applicable to the data.

To do it on spss or r, simply type; spss dummy level 3 = pH(0.32). For R, type; rdummy level 3 = pH(0.32).

Related