Topic 7- Analysis Of Variance Flashcards

1
Q

F statistic characteristics (4)

A

Can only be positive

Positively skewed

Degrees of freedom contained by numerator and denominator

Asymptotic (never reaches X-axis)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Topic 1: Equal variances test

Example of where mean on two samples are equal, but variances are not equal

A

Shares, rate of return may be the same, but there may be more variation in one than the other (spread differently)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

2 assumptions for equal variance test

A

populations are normally distributed

level of measurement is interval or ratio, in order to find variances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Equal variances test steps (4)

A

1.Set up null/alternative hypothesis

H₀:σ²₁=σ²₂ (variance₁=variance₂)
H₁:σ²₁≉σ²₂ (variances arent equal!)

Both can be rearranged to

H₀:σ²₁/σ²₂ =1
H₁:σ²₁/σ²₂ ≉1

2.Significance level

  1. Select test statistic (F statistic, shown on next card)
  2. Decide if we reject (F>Fcrit= reject, as in critical region)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

F statistic formula

What is the smallest value of F

A

σ²₁/σ²₂ ~ Fn₁-1, Fn₂-1

Larger sample variance in numerator. Smallest value of F is 1. When 1, null cannot be rejected!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

If σ²₁=3.9 and σ²₂=3.5 and sample₁=10 sample₂=8

Calculate statistic, critical value and decide to reject/not.

A

3.9²/3.5²=1.24
(Always put larger of the 2 variances in numerator)
(Lowest possible value is 1)

To find critical value, remember
Fn₁-1, Fn₂-1

So 10-1, 8-1
9, 7

Use table to find the critical value. We find CV is 3.68

1.24<3.68 so we cannot reject the null (doesn’t lie in CV)

This means no difference in variation in the equal variances test!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is ANOVA and what does it do

A

Equal variance test tests whether 2 samples have equal variances

ANOVA (analysis of variances) test tests whether several means are equal SIMULTANEOUSLY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

We want to test the equality of the output of 3 different factories. The treatment here is the differences in the factories, e.g. location, size etc.

How do we do pairwise comparisons?

A

Factory 1 v Factory 2 (confidence 95%)
Factory 1 v Factory 3 (confidence 95%)
Factory 2 v Factory 3 (confidence 95%)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What would the total confidence level be?

A

0.95³=0.86

(3 95% confidences, so less confidence)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Example cont:
Sample mean of:
Factory 1=410.83
Factory 2=401.57
Factory 3=421.20

Grand mean=410.11(NOT SAMPLE MEANS ADDED/3!)

A

.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

3 assumptions for ANOVA test

A

Sampled populations must have normal distribution
Populations have equal SD (σ)
Samples random and independent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Steps for ANOVA test

A

1.State null/alt
Null: population means are equal
H₀:μ₁=μ₂=μ₃
H₁: means are not equal.

  1. Significance level
  2. Test statistic F
  3. Decision rule (reject if F statistic result is in CR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

F statistic for ANOVA

A

F= SST/(k-1)
/ ~Fk-1,n-k
SSE/(n-k)

SST: treatment variation
SSE: random variation
K: no of population sampled (3 factories in this case)
N: no of observations (we use 18 in this case)

So critical value will be found in
3-1,18-3
2,15

2,15=3.68 is the critical region

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

SSE and SST, and what if they are of similar size

A

SSE- sum of squares of all deviations within each factory from factory average
SST- sum of squares of all deviations of factory means from overall average

If variations are of similar size, we assume the effect of specific factory characteristics on output, is no greater than the effect of any random event.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

SSTotal formual= SSE+SST

A

Σ(Xi-grand mean)²

Xi is each observation from all factories (18 of them)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

SST formula

A

Σfactory observations Σ(factory mean-grand mean)²

E.g factory 1 had 6 observations and mean of 410.83
So 6(410.83-410.11)² , do for all factories.

17
Q

2 ways to work out SSE (double check 2nd method on slide 26 video)

A

1.As we have SSTotal and SST and SSTotal=SST+SSE,

SSTotal-SST=SSE

2.Σ(Xi-factory mean)²

18
Q

So when do we use an F test

A

Equal variances test (if 2 samples have equal variances)

ANOVA test (if several means are equal)