10th Feb Flashcards

1
Q

General linear modelling (GLM)

A

Helps to indicate if there is an association between 2 variables

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

Nuisance variables

A

Confounders and competing exposures - can undermine the interpretation of these associations - we can adjust for these

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

Stata command regress

A

Used to build linear models

eg regress weight height (predict weight from height)

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

Stata command regress with categorical variables

A

Put xi before regress
Indicate which variables are categorical by putting i in front
eg
xi: regress weight i.sex

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

Logistic regression

A

When outcome is categorical eg did attend/ did not attend

eg logistic complynot age

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

R2

A

Proportion of variation explained by linear model is R2
R2 is a value between 0 and 1
Higher R2 values indicate that more of your variation is explained by your model
1 is a perfect fit (your model perfectly fits the outcome)

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

R2 and logistic regression

A

Fit is reported by psuedo-R2 as standard R2 cannot be calculated for logistic regression

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