Q18: F stats

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/72

encourage image

There's no tags or description

Looks like no tags are added yet.

73 Terms

1
New cards

Grand mean

The average of all observations from every group

2
New cards

Group mean

The average of the observations in one group

3
New cards

Observation

One measured value from a person animal or other item in a study

4
New cards

Deviation

The difference between a value and another value such as a mean

5
New cards

Model deviation

The difference between a group mean and the grand mean

6
New cards

Residual

The difference between one observation and its own group mean

7
New cards

Total deviation

The difference between one observation and the grand mean

8
New cards

Fitted value

The group mean predicted by the model for an observation

9
New cards

Sum of squares (SS)

A total found by squaring deviations and adding them together

10
New cards

Total sum of squares (SS_T)

The sum of squared differences between every observation and the grand mean

11
New cards

Model sum of squares (SS_M)

The sum of squared differences between each fitted group mean and the grand mean

12
New cards

Error sum of squares (SS_E)

The sum of squared differences between observations and their own group means

13
New cards

SS total formula

SS_T = sum of (observation minus grand mean) squared

14
New cards

SS model formula

SS_M = sum of (fitted value minus grand mean) squared

15
New cards

SS error formula

SS_E = sum of (observation minus fitted value) squared

16
New cards

Sum of squares rule

SS_T = SS_M + SS_E which means total variation equals model variation plus error variation

17
New cards

Variation

How much the values differ from one another

18
New cards

Between-group variation

How much the group means differ from the grand mean

19
New cards

Within-group variation

How much observations differ from their own group mean

20
New cards

Explained variation

The part of the total variation accounted for by differences between group means in the model

21
New cards

Unexplained variation

The part of the total variation left within the groups

22
New cards

Degrees of freedom (df)

The number of independent pieces of information used in a calculation

23
New cards

Number of observations (n)

The total number of measured values in the data

24
New cards

Number of groups (k)

The total number of groups being compared

25
New cards

Model degrees of freedom

The number of groups minus one or k - 1

26
New cards

Error degrees of freedom

The number of observations minus the number of groups or n - k

27
New cards

Total degrees of freedom

The number of observations minus one or n - 1

28
New cards

Mean square (MS)

A sum of squares divided by its degrees of freedom

29
New cards

Model mean square (MS_M)

The model sum of squares divided by the model degrees of freedom

30
New cards

Error mean square (MS_E)

The error sum of squares divided by the error degrees of freedom

31
New cards

Model mean square formula

MS_M = SS_M / (k - 1)

32
New cards

Error mean square formula

MS_E = SS_E / (n - k)

33
New cards

F-statistic

A number that compares between-group variation with within-group variation using mean squares

34
New cards

F formula

F = MS_M / MS_E

35
New cards

Large F-statistic

An F-value showing that between-group variation is large compared with within-group variation

36
New cards

Small F-statistic

An F-value showing that between-group variation is small compared with within-group variation

37
New cards

Can F be negative

No because sums of squares and mean squares cannot be negative

38
New cards

Null hypothesis

The starting claim that the group means are equal

39
New cards

Alternative hypothesis for two groups

The claim that the two group means are different

40
New cards

P-value

The chance of getting a test result at least as extreme as the observed result if the null hypothesis and test assumptions are true

41
New cards

Statistical significance

A result that meets the chosen cutoff for evidence against the null hypothesis

42
New cards

F-distribution

The distribution used to judge an F-statistic when testing a model

43
New cards

Two-sample t-test

A test that compares the means of two groups

44
New cards

ANOVA

A method that compares group means by examining between-group and within-group variation

45
New cards

Relationship between F and t

For two groups using the standard equal-variance methods F = t squared

46
New cards

Why square t to get F

Squaring removes the negative sign and gives the corresponding nonnegative F-statistic

47
New cards

R-squared (R²)

The share of total variation explained by the model

48
New cards

R-squared formula

R² = SS_M / SS_T

49
New cards

R-squared of 0

The model explains none of the observed total variation

50
New cards

R-squared of 0.60

The model explains 60 percent of the observed total variation

51
New cards

R-squared of 1

The model explains all of the observed total variation

52
New cards

What happens to F when group means move farther apart

F generally increases if within-group variation stays the same

53
New cards

What happens to F when within-group variation increases

F generally decreases if the group means stay the same

54
New cards

What happens to R² when within-group variation increases

R² decreases if the model sum of squares stays the same

55
New cards

What happens when group means become more similar

Model variation and usually F and R² decrease if within-group variation stays similar

56
New cards

Balanced groups

Groups with similar numbers of observations

57
New cards

Why group balance matters

Group sizes can affect the stability of the estimated group means and R²

58
New cards

Figure 1 Panel A

Shows model deviations from group means to the grand mean

59
New cards

Figure 1 Panel B

Shows residuals from individual observations to their own group means

60
New cards

Figure 1 Panel C

Shows total deviations from individual observations to the grand mean

61
New cards

Main lesson of Figure 1

Total deviation splits into model deviation and residual deviation and the sums of squares satisfy SS_T = SS_M + SS_E

62
New cards

Figure 2

Shows how the average R² changes as the number of white individuals in the sample changes

63
New cards

What does the dashed line in Figure 2 suggest

The average R² tends to level off as the group composition reaches a more stable range

64
New cards

Does a high R² prove cause and effect

No it only describes the share of variation explained by the model

65
New cards

Does a large F automatically mean a significant result

No you must use the F-distribution and the correct degrees of freedom to find the p-value or compare with a cutoff

66
New cards

What happens to F when model variation is much larger than error variation

F becomes large

67
New cards

How to check sums of squares

Add SS_M and SS_E and check that their sum equals SS_T

68
New cards

What does augment do in R

It adds fitted values and residuals to the model data

69
New cards

What does .fitted mean in R

The value predicted by the model for each observation

70
New cards

What does .resid mean in R

The difference between the observed value and the fitted value

71
New cards

What does anova(fit) show in R

The sums of squares degrees of freedom mean squares and F-statistic for the model

72
New cards

What does r.squared show in R

The share of total variation explained by the fitted model

73
New cards

What happens when there are more than two groups

ANOVA can compare all the group means using the same general approac