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
in analysis of covariance, what are the independent variable
one categorical one continuous `
26
for multiple regression, multicollinearity is assessed using?
Pearsons correlation coefficient variance inflation factor
27
for categorical variables, how to assess multicollinearity
- assess with spearman rant correlation coefficient and chi square
28
for a categorical and continuous variable, how to measure multicollinearity
measured by t-test (if categorical variable has two categories) or anova is >2
29
if a model has categorical and continuous variables, how to test for multicollinearity if it the categorical variable has two categories
t test
30
a model has categorical and continuous variables, how to test for multicollinearity if it the categorical variable has more than two categories
anova
31
to test for normality in anova you have to first do what to X
have to take out. the effects of all the Xs before you look at the distribution of Y
32
in ANOVA, residuals=?
difference from the group mean (predicted Y)
33
example of random effect
subjects in a repeated measures experiment, where the subject is measured several times, are a random effect variable
34
what are random effects
are those where the effect levels are chosen randomly from a larger population of levels - they represent a sample from a larger population
35
levels of fixed effects are?
of direct interest
36
what type of variables can be random effects
categorical
37
continuous variables included to control for cofounding influences are called
covariates
38
mixed effects model
contains Both fixed effects and random effects
39
what is used to partition noise and signal
mixed effects model
40
what is signal
the meaningful information you are trying to detect
41
what is noise
the random, unwanted variation or fluctuation that I interferes with the signalk
42
43
what is conditional r2
the amount of explained variance for the entire model, including both fixed and random effects
44
what is marginal r2
explains ho much of this variance is attributed to the fixed effects alone
45
do you report conditional or marginal effects
both
46
when to use linear and nonlinear regression
when the response variable (Y) I continuous
47
when the response variable is continuous what regression do you ue
linear or non linear
48
when to use logistic regression
when the y variable represents categories (usually binary)
49
when the y variable is categorical binary, what regression d you use
logistic
50
when to use poisson regression
when the y variable represents counts
51
when the y variable represents counts which regression do you use
poisson
52