Linear Regression Modelling Flashcards

1
Q

What are the two main types of variables

A
  • Qualitative and Catagorical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can Quantitative variables be distinguished

A
  • Continuous and Discrete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can Categorical variables be distinguished

A
  • Nominal and Ordinal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can Nominal and Ordinal variables be distinguished

A
  • Many Catagories and Binary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How can Discrete variables be distinguished

A
  • Counts and Intervals
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a quantitative variable

A
  • Variables that are measured in natural units and satisfy cardinality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a continuous variable and give an example

A
  • A quantitative variable that can have an infinite number of values between two different points
  • Age, Height, Time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a count variable and give an example

A
  • A discrete variable that take specific (usually integer) values that indicate a counting of some kind
  • No of kids, No of trips to the hospital
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a catagorical variable and give an example

A
  • Catagorical variables usually express some sort of qualitative trait of the objects studied, that can be used as labels or catagories
  • They can take a limited, fixed number of possible values
  • Eye Color: Blue, Green, Hazel, Brown etc
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Nominal Variable, Binary Nominal Variable and a Many Catagories Nominal Variable and give examples

A
  • A nominal variable takes on levels that have no numerical value/interpretation. There is no natural order or sequence in their interpretation or presentation
  • A binary variable is a variable that can only take two values, often called a dummy variable. Eg, Health Status: Healthy, Non-Healthy
  • A many catagories variable can take more than two values. Eg, Ethnicity: Black, White, Asian
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an Ordinal variable, Binary ordinal variable and a many catagories ordinal variable and give examples

A
  • Ordinal variables have an arbritary numeric scale where the exact numeric distance particular is not possible to establish, hence they indicate a ranking over a set of data points. Order matters
  • Binary Ordinal variables can only take two values. Eg Mark: Pass or Fail
  • Multiple Catagories Ordinal can take multiple values. Eg: Rating from 1 to 5
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does simple linear regression show

A
  • Models the relationship between a dependant variable y and an independent variable x
  • It fits a straight line through the set of n points in such a way that minimises the sum of squared residuals
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What form does a linear regression line usually take

A
  • yi = b0 + b1 * xi + ui
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What do we assume for an estimated model

A
  • E(u|x) = 0
  • y hat i = b hat 0 + b hat 1 * xi
  • Such model explains changes in y with respect to changes in x
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do we interpret a simple linear regression model

A
  • b0 is the intercept, where x = 0
  • b1 is the slope of the line ∆y/ ∆x or alternatively b1 = ∂y/∂x (marginal effect)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do we interpret the slope of a linear regression model

A
  • The slope is the effect on y of a unitary change in x. More precisely, the slope is the effect on the average y of a unitary change in x
17
Q

How does the model change when an extra variable is added

A
  • A two variable model changes from a line to a plane
18
Q

How is a multiple regression model interpreted

A
  • The marginal effect of x is b1, the marginal effect of z is b2. The constant is still the value for y when x = 0, z = 0.
19
Q

How does a dummy variable work

A
  • Will take the value of 1 if a condition is satisfied and 0 if it is not met
  • The level that takes the value of zero is often called the base/reference level