Mulitivariable data analysis part one Flashcards

1
Q

define linear model

A

helps to indicate if their is a relationship between 2 variables

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

2 types of nusicance variables which undermine the association between 2 variables (clue: types of covariates)

A

confounders

competing exposures

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

is the outcome the independent or dependent variable

A

dependent.

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

is the exposure the dependent or independent variable

A

independent.

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

how do you find the M in y=mx +c (gradient)

A

m= chnage in y/ change in x.

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

what is the question for a simple line graph

A

y- mx+ b +e
mean part = y=mx+b
residual part= e- N(0, σ^2)

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

what does the “E” represent

A

residual

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

what affects “E”

A

“noise”- the more noisy your date the worse the model is at predicting the outcome and the larger the E (and thus σ^2)

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

what does N (0 , σ^2)

A

normal distribution of the residual with a mean of 0 and a variance of σ^2

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

what factors can produce noise/ variation in a model

A
  • most likely (random variation)
  • error
  • more covariant are needed to model the relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what does a larger σ mean

A

more noise

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

what does the line of best fit show

A

predicts the relationship between 2 variables.

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

it more of less residual better + why

A

LESS

  • The less residual variation
  • The better the fit of the model -more confident
  • statistically ‘significant’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What stata command is used to make linear models

A

regress

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

if you want to regress 2 variables (e.g. age + weight), what command would be used

A

regress age weight

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

what command is used before a categorical variable in state

A

i.

17
Q

what command must precede regress if categorical EXPOSURES are included

A

xi:

e.g xi: regress weight i.sex

18
Q

what is a logistic regression

A

modelling used for a categorical OUTCOME

Shows the probability of one of the two outcomes
e.g. the probability of compliance with the guideline.

19
Q

what common is used instead of regress in a categorical outcome

A

Logisitc.