Lecture 9: Statistical Tests V: ANCOVA, Complex Models & Simplification Flashcards

1
Q

is anova parametric or nonparametric?

A

anova is a parametric statistical test

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

what assumptions are identical to those of ANOVA?

A

the assumptions in ANOVA and linear regression are identical

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

why not have many models with just one explanatory variable? (why ancova and just not many anova?)

A

(1) explanatory variables might influence each other

(2) multiple test on the same data sets should be avoided

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

ancova meaning:

A

analysis of covariance

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

what does ancova combine?

A

ancova combines elements of linear regression and anova

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

type of response and explanatory variable in ancova:

A

response variable in ANCOVA testing is continuous

explanatory variableS are both categorical and continuous

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

what is the ANCOVA process:

A

(1) number of factor levels (or categories) = number of linear regressions

(2) for each of those factor-levels (categories) we estimate the slope and intercept [similar to linear regression]

(3) model simplification (using the principle of parsimony - simpler is better)

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

principle of parsimony in statistical terms:

A
  • should be simplified until minimally adequate with as few parameters as possible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

first line for model simplification command in R when you have interactive affects between groups (2 slopes, 2 intercepts):

A

asterics between explanatory varibales shows there is an interaction between them also the individual effects of age and sex

(1) > m1<-aov(y-variable ~ explanatory-variable-1 * explanatory-varibale-2)

you could instead write the below line of code with (:) and (+) instead of an asterisks however for now the asterisks will cover it in less amount of code

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

first line for model simplification command in R when you have additive affects between groups (1 slope [parallel], 2 intercepts):

A

m2<-aov(response-variable ~ explanatory-1 + explanatory-2)

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

when we have 1 slope the slopes are the same, how can we tell this?

A

we can tell if only one slope is present if the two slopes are parallel to one another - [parallel - just one slope]

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

what symbol do we use to connect interactive explanatory variables?

A

asterisks ( * )

e.g: explanatory-1 * explanatory-2

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

what symbol do we use to connect additive explanatory variables?

A

plus (+)

e.g: explanatory-1 + explanatory-2

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

how do we simplify our model if we have [1 slope, 1 intercept] or [2 intercepts, 0 slope]?

A

in this case you simply apply a normal ANOVA test as there is only one significant explanatory variable that has an effect

> m3 <- (response variable ~ explanatory variable)

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

what do we do if we have a graph in which neither of our explanatory variables have an effect on our response variable?

A

we simple create a model where:

> m4 <- aov(weight ~ 1)

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

because we want the “minimal adequate model” how can we test to see if we can simplify our model given we initially have the more complicated > m1<-aov(y~x*x) model?

A

you create two models - m1 & m2 where m1 is the complicated asterisks model and m2 is the less complicated plus model

you input both of these models and then you can put those aov models 1 & 2 into the following command

> anova(m1,m2)

if the p-value is bigger than 0.05 this means we CAN simplify to the plus model as the explanatory difference is not significantly less than the asterisks

if the p value is smaller than 0.05 we cannot simplify the asterisks model to the addition model as the explanatory power of the simpler model is significantly less

17
Q

SIMPLE model simplification procedure:

A

(1) fit the maximal model [through graphical slope & intercept interpretation]

(2) start model simplification

(3) stop model simplification when minimal adequate model is reached [do this via > anova(m1,m2) and looking for p > 0.05]

18
Q

anova and linear regression are identical except for (X) and the R-code is (Y)

A

(X) the type of explanatory variable

(Y) identical for both of these tests

19
Q

what statistical tests are all somewhat the same in their r-code?

A

one-way-anova, factorial anova, ancova & linear regression