general linear models Flashcards

1
Q

4 assumptions for ordinary least squares regression

A
  1. linearity
  2. normality
  3. homogeneity of variance
  4. independence
  5. all variability is assumed to lie with y, not x
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

OLS is also called?

A

model I regression

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

______ is similar to an ANOVA with fixed factors

A

model I (OLS)

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

which assumption os often ignored in OLS

A

all variability is assumed to lie with y, not x

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

when is model II regression used

A

when predictor variables (X) are measured with error

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

two methods of model 2 regression

A
  1. orthogonal, major axis regression
  2. geometric mean, reduced major axis regression, standard major axis regression
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how does OLS work

A

minimizes the sum of squares of the vertical deviation from the line

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

how does major axis regression work

A

minimizes the sum of the squared perpendicular distances to the line

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

what minimizes the sum of the squared perpendicular distances to the line

A

major axis regression

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

whatminimizes the sum of squares of the vertical deviation from the line

A

ordinary linear squared regression

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

major axis regression assumes what

A

equal variability in X and Y (X and Y must be in the same units)

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

if X and Y are not in the same units, which regression to use

A

reduced major regression

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

in model II regression, there is no ____ and ____ variable, they are just X and Y

A

in model II regression, there is no independent and dependent variable they are just X and Y

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

model II regression is similar to?

A

correlation

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

what statistical test to use if you have multiple x variables and they are both categorical

A

2-way anova

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

what statistical test to use if you have multiple x variables and they are both continuous

A

multiple regression

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

what statistical test to use if you have multiple x variables and one is categorical and one is continuous

A

ANCOVA

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

what is ANCOVA

A

analysis of covariance
- looks at the effect of a treatment (categorical) while accounting for a covariate (continuous)

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

what can be used to compare slopes of regression lines

A

ANCOVA

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

in ANCOVA, explain regression lines

A
  • if regression lines are parallel the effect of the covariate on the response variable is the same in each group (no interaction)
  • if they cross, there is an interaction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

describe the steps to ANCOVA

A
  1. fit the full model (categorical treatment, covariate interaction)
  2. test for interaction
  3. if no interaction, test for differences between lines in intercepts
22
Q

in ANCOVA, _____ is the treatment, _____ is the covariate

A

in ANCOVA, the categorical variables are the treatment while the continuous variables are the covariate

23
Q

for analysis of variance, what are the independent variables

A

both categorical

24
Q

for multiple regression, what are the independent variables

A

continuous

25
Q

in analysis of covariance, what are the independent variable

A

one categorical one continuous `

26
Q

for multiple regression, multicollinearity is assessed using?

A

Pearsons correlation coefficient
variance inflation factor

27
Q

for categorical variables, how to assess multicollinearity

A
  • assess with spearman rant correlation coefficient and chi square
28
Q

for a categorical and continuous variable, how to measure multicollinearity

A

measured by t-test (if categorical variable has two categories) or anova is >2

29
Q

if a model has categorical and continuous variables, how to test for multicollinearity if it the categorical variable has two categories

A

t test

30
Q

a model has categorical and continuous variables, how to test for multicollinearity if it the categorical variable has more than two categories

A

anova

31
Q

to test for normality in anova you have to first do what to X

A

have to take out. the effects of all the Xs before you look at the distribution of Y

32
Q

in ANOVA, residuals=?

A

difference from the group mean (predicted Y)

33
Q

example of random effect

A

subjects in a repeated measures experiment, where the subject is measured several times, are a random effect variable

34
Q

what are random effects

A

are those where the effect levels are chosen randomly from a larger population of levels
- they represent a sample from a larger population

35
Q

levels of fixed effects are?

A

of direct interest

36
Q

what type of variables can be random effects

A

categorical

37
Q

continuous variables included to control for cofounding influences are called

A

covariates

38
Q

mixed effects model

A

contains Both fixed effects and random effects

39
Q

what is used to partition noise and signal

A

mixed effects model

40
Q

what is signal

A

the meaningful information you are trying to detect

41
Q

what is noise

A

the random, unwanted variation or fluctuation that I interferes with the signalk

42
Q
A
43
Q

what is conditional r2

A

the amount of explained variance for the entire model, including both fixed and random effects

44
Q

what is marginal r2

A

explains ho much of this variance is attributed to the fixed effects alone

45
Q

do you report conditional or marginal effects

A

both

46
Q

when to use linear and nonlinear regression

A

when the response variable (Y) I continuous

47
Q

when the response variable is continuous what regression do you ue

A

linear or non linear

48
Q

when to use logistic regression

A

when the y variable represents categories (usually binary)

49
Q

when the y variable is categorical binary, what regression d you use

A

logistic

50
Q

when to use poisson regression

A

when the y variable represents counts

51
Q

when the y variable represents counts which regression do you use

A

poisson

52
Q
A