Lecture 30- Regression Flashcards

1
Q

What two variables do we talk about in linear regression?

A
  • Explanatory variable (X), also known as covariate, predictor, or independent variable.
  • Outcome variable (Y ), also known as response or dependent variable.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does the nature of the explanatory variable (x) effect how we compare two groups (the x and y)?

A
  • In studies with outcomes on continuous scale we compare means in the two groups
  • In studies with binary outcomes, we compare the two groups using odds ratios or relative risks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the different types of regression and what are they used for?

A

Regression in general looks at the relationship between two variables (1 variable= the x explanatory variable, 1 variable= y outcome variable)

Linear regression - used where the outcome is continuous
Logistic regression - used where the outcome is binary

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

What tool allows us to visually see a regression/ relationship?

A

A scatterplot, explanatory variable is on the x axis and the outcome variable is on the y axis

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

What are the two purposes of simple linear regression?

A

-To describe the relationship between two variables and test whether
changes in a continuous outcome measure may be linked to changes
in the explanatory variable
-To enable the prediction of the value of the outcome measure given
the value of the explanatory variable.

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

How do we describe a straight line in a pure mathematical sense?

A

y=mx+c

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

How do we describe a straight line/ linear regression in stats language? What is the ‘extra’ thing we have to account for?

A

Y = β0 + β1x + e

β0= constant/ y intercept
β1= m/ gradient
e= random error/ the residual term
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When carrying out statistical modeling what do we assume about the standard error and so what does the linear regression equation become? What is this telling us?

A

It is assumed that the error terms have zero mean. So the regression model loses the e and becomes…

µY = β0 + β1x.

This is known as the conditional mean µY |x
When you know the true values of β0 and β1 this equation describes how the mean
response changes with x at a population level.

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

Do problems on slide 571

A

answers on slide

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

What is β1 interpretable as?

What is β0 interpretable as?

A
  • β1 interpretable as change in mean response when x increases by one unit.
  • β0 is mean response when x = 0 (as is the y intercept), but may make no sense in many examples.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When we are considering e what does it tell us and what do we assume?

A

-Error term e describes how an individual’s response differs from the mean
of all individuals in population with the same value of x.
-It is usual to assume that the variation in response within any given sub-population (described by x) is normally distributed.
-In other words, we assume that e is a N(0, σ2e) random variable.
-Variance term σ2e describes magnitude of variation in sub-population

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

In a practical sense what is e equal to?

A

particular value of Y measured - mean

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

Answer the true and false questions on slide 575

A

Answers on slide

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