exam 4 Flashcards

(44 cards)

1
Q

what does anova test and what is the null

A

whether 3 or more group means are significantly different
H0= none of the means differ

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

how do u calculate degrees of freedom in anova

A

df_ groups= k-1
df_ error= n-k
df_ total= n-1

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

what is the formula for mean square in anova

A

ms=SS/df

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

how do you find the f ratio in anova

A

MS_groups / MS error

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

how do you calculate SS error

A

SStotal-SSgroups

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

what is R^2 in ANOVA and how do you calculate it

A

SSgroups / SS total
tells you the proportion of variation explained by group differences

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

when do you reject the null in ANOVA

A

Fcalculated> Fcritical

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

what is k in anova

A

how many treatments

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

what is a planned comparison

A

not testing all groups, just a specific one, before seeing the data

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

what is an unplanned comparison in anova

A

comparison made after running anova, usually to see which group means differ

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

when do you do unplanned comparisons

A

only after rejecting the anova null hypothesis

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

what is the tukey kramer test used for

A

compare all pairs of means while controlling type one error rate across multiple comparisons

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

what does persons r measure

A

the strength and direction of a linear relationship between 2 numerical variables

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

what is the formula to test r- t test for correlation

A

t= r/SEr <- given SEr
df=n-2

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

what is spearmans rank correlation used for

A

when data violates pearsons assumptions or when the relationship is not linear

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

what is fischers z-transformation used for

A

calculate confidence interval for pearsons r

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

what is the standard error for fischers z

A

1/sqrt n-3

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

what does spearmans rank correlation measure

A

the strength and direction of a monotonic relationship

19
Q

when should you use spearmans instead of pearsons

A

when the data violate pearsons assumptions or the relationship is monotonic not linear

20
Q

effect of outliers on spearmans versus pearsons

A

spearmans- cares about rank, effect small
pearsons- could drop alot because that one point messes up the line

21
Q

what are the assumptions of pearsons correlation

A
  1. linearity
  2. normality
  3. homoscedasticity
  4. no major outliers
  5. quantitive data
22
Q

how to calculate residuals

A

observed Y- predicted Y

23
Q

what is R^2

A

how much of the variation in Y is explained by X

24
Q

what is extrapolation

A

using the regression line to predict beyond he range of data -> not reliable

25
what are the assumptions of anova
independence, normality, equal variance
26
planned comparison equation?
t = (mean1 - mean2) / sqrt(MS_error * (1/n1 + 1/n2))
27
tukey kramer test formula
q = |mean1 - mean2| / sqrt(MS_error * (1/n1 + 1/n2))
28
fischers z transformation
z = 0.5 * ln((1 + r)/(1 - r)); SE_z = 1/sqrt(n - 3)
29
what does slope b mean
Predicted change in Y for a 1-unit increase in X
30
f test for regression
f=ms_regression/ Ms error
31
how do you calculate r^2 in regression
ss regression/ ss total
32
difference between confidence band and prediction interval
Confidence = mean Y at given X; Prediction = range for single Y value (wider)
33
regression assumptions
Linearity (scatterplot), normality (hist/Q-Q), equal variance (residual plot), independence
34
what is the main difference between planned and unplanned comparisons
unplanned- you test everyone against everyone planned-pre-picked battles
35
how to look up q critical value for unplanned comparisons
k=. number of groups df error a level
36
when looking up planned comparison in t table what do u use
df= n-k and a
37
why do anova instead of multiple t tests
to avoid increasing the type 1 error rate
38
fixed versus random effects in anova
fixed- factor levels are specifically chosen and we are only interested in comparing those levels random- levels are randomly selected from a larger population, trying to generalize
39
what is the kruskal wallis test
nonparametric alternative way to anova, tests for differences between groups based on ranked data rather than means
40
correlation measures
strength and direction of a relationship between 2 variables
41
similarity between regression and correlation
same assumptions, both yield r^2
42
what is attenuation
true correlation might be strong, but measured r is low because of inaccuracy in the data
43
what is the method of least squares
the method used to find the best fitting regression line through a scatter plot aka residuals
44
what does a bad residual plot look like
curve, funnel, clustering