Research Statistics Lesson 5
Research Statistics Lesson 5
Analysis ToolPak
1. Load ToolPak add-in
1. Click on the green “File” tab select “Option” An excel option dialog
appears, select “Add-ins”.
2. Histogram
A histogram is a graphical representation of the distribution of numerical data.
It is an estimate of the probability distribution of a continuous variable
(quantitative variable).
1. First, enter the bin numbers (upper levels), for example TTU’s scale
(A2:A13)
2. On the Data tab, click Data Analysis.
3. Descriptive Statistics
1. On the Data tab, click Data Analysis.
2. Select Descriptive Statistics and click OK.
3. Select the range (Student grade) as the Input Range.
4. Select any cell as the Output Range.
5. Make sure Summary statistics is checked.
Result
a. A single factor
A single factor or one-way ANOVA is used to test the null hypothesis that
the means of several groups are identical.
2. Select Input range, choose group by Rows (enter alpha value, not
important), select output range (any cell)
3. Result
v v
1. Select Data tab click Data Analysis select Anova: two factor without
replication select input range and output range. (change alpha if
needed)
2. Result
3. Conclusion:
F_Rows < F_Rows Crit and F_columns < F_columns Crit , we accept the
null hypothesis.
c. Two-way ANOVA with replication
Similar as two-way ANOVA without replication, however a sample has
some rows of data as following table.
Fertilizer Wheat Corn Soy Rice
Blend X 123 128 166 151
156 150 178 125
1. Select Data tab click Data Analysis select Anova: two factor with
replication select input range and output range. (change alpha if
needed) Indicate rows per sample, here is 5 (i.e., there are 5 data rows
per fertilizer).
2. Result
Anova: Two-Factor With Replication
Count 5 5 5 5 20
Blend Y
Count 5 5 5 5 20
Blend Z
Count 5 5 5 5 20
Sum 822 868 932 862 3484
Total
Count 15 15 15 15
Sum 2197 2343 2512 2395
Average 146.4667 156.2 167.4667 159.6667
Variance 705.8381 871.0286 605.981 404.9524
ANOVA
Source of SS df MS F P-value F crit
Variation
Sample 8782.9 2 4391.45 9.933347 0.000245 3.190727
Columns 3411.65 3 1137.217 2.572355 0.064944 2.798061
Interaction 6225.9 6 1037.65 2.347138 0.045555 2.294601
Within 21220.4 48 442.0917
Total 39640.85 59
3. Conclusion:
• F_sample > F_sampleCrit there is a difference according to
fertilizer
• F_columns < F_columnsCrit accept the null hypothesis (there is
no difference among type of crop)
• F_interaction > F_interactionCrit reject the null hypothesis (there
is a difference)