Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Statistical Assignment Class

Full name:Nguyen Van Giang


Student number: 2022427221
Supervisor: Prof. Giha Lee
Task: Application Analysis of Variance (ANOVA) for data analysis.
I. One-way ANOVA.
For three different functions, the following information was recorded for in water discharge (Table 1).
Test at 0.05 level of significance whether the difference among the means is significant or not.

Data collection:
Table 1. Flow discharge at three hydrology stations.

Time Q1 Q2 Q3
01-01-2009 34.4 88.6 265.5
01-02-2009 34.1 88.6 282
01-03-2009 33.2 81.2 278
01-04-2009 32.8 75.5 271
01-05-2009 32.2 71.6 262
01-06-2009 32.2 69.2 246
01-07-2009 31.6 66.9 233
01-08-2009 31.6 65.4 233
01-09-2009 31.3 63.8 238
01-10-2009 31 67.7 238
01-11-2009 30.3 63.8 237
01-12-2009 29.7 62.3 237
1/13/2009 29.7 60.8 234
1/14/2009 29.1 58.5 234
1/15/2009 28.5 57.8 230
1/16/2009 28.5 54.8 227
1/17/2009 28.5 54.1 223
1/18/2009 28.5 54.1 222
1/19/2009 28.5 54.8 218
1/20/2009 28.5 54.1 218
1/21/2009 28 53.4 215
1/22/2009 28 52.6 215
1/23/2009 28 54.8 215
1/24/2009 28 58.5 212
1/25/2009 27.4 60 217
1/26/2009 27.4 64.6 220
1/27/2009 27.4 60.8 219
1/28/2009 27.4 59.3 214
1/29/2009 26.5 58.5 209
1/30/2009 26.8 57 207
1/31/2009 26.8 54.8 206

Null Hypothesis-H0: The mean do not differ significantly. αi = 0 for i ∈ {1, 2, 3}


Alternative Hypothesis-H1: αi ≠0 for at least one value of i.
Level of Significance: α = 5%

Table 2. Anova result for one-way with 0.05 significant.

Anova: Single Factor

SUMMARY
Varianc
Groups Count Sum Average e
29.5451 5.18922
Q1 31 915.9 6 6
62.8354
Q2 31 1947.9 8 94.0077
231.467 434.648
Q3 31 7175.5 7 9

ANOVA
Source of Variation SS df MS F P-value F crit
726617. 363308. 2041.64 1.05E- 3.09769
Between Groups 4 2 7 9 75 8
16015.3 177.948
Within Groups 8 90 6

742632.
Total 8 92        

From Table 2, as can see that F > Fcrit. Therefore, reject H0 at a 5% significance level.

You might also like