Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 11 pages
Summary

Summary Linear Regression IRM

Document preview thumbnail
Preview 2 out of 11 pages

Summary of 11 pages for the course Introduction To Research In Marketing at UVT (.)

Content preview

Lecture 2: Lineair Regression
Linear Regression: Step by Step
• Step 1 | Defining the objectives
• Step 2 | Designing the study
• Step 3 | Checking assumptions
• Step 4 | Estimating the model and assessing fit
• Step 5 | Interpreting the results
• Step 6 | Validating the results



Step 1: Defining the objectives
´ Examine the relationship between a metric dependent variable and one or more independent variables
(metric (interval, ratio), or non-metric (nominal, ordinal) -> dummies)
o Mars Pet Food: Does the market share of Frolic depend on the brand’s TV advertising budget and presence
in the retailers’ store flyer?
o Does a household’s online grocery spending depend on age, household size, and education level?
o Plopsaland De Panne: How are ticket sales affected by the ‘Ride to Happiness’ by Tomorrowland, and does
this impact depend on the weather?

Anova vs. Lineair regression
´ Linear regression is just like Anova a dependence method in which you look for a causal relationship
´ ANOVA: focus on non-metric independent variables (‘treatments’)
´ Linear regression: both non-metric and metric independent variables, and their possible interplay

Main difference:
- In Anova the focus is on non-metric explanatory variables, which we called treatments, they had
discrete alternative levels and we wanted to know about the impact of those variables
If variables that were continuous were included, they were mainly included as controls only
- In Linear Regression we are especially interest in the impact of metric independent variables as
well as non-metric ones and we may be looking at the interplay between te two


Step 2: Designing the study

´ Rows are respondents/ observations
´ Columns are the variables that we have information on

Which variables can be included?
´ Non-metric variables: nominal or ordinal -> create dummies (transform them) (use dummy coding)
´ Metric (continuous) variables: interval or ratio (and transformations of these variables, e.g., logarithmic,
power) à introduce them In their raw is also possible
´ And interactions of these variables:
• dummy and dummy
• continuous and dummy
• continuous and continuous

You can tell R that a variable is nominal or ordinal: R will automatically use one category as a benchmark, as a
reference group and then creates
dummy variables for the remaining
The linear regression model ones.

, ´ The simple linear regression model:
- Yi = b0+b1*X1i+ei
- examples:
o Satisfaction = b0+b1*child_dummyi+ei
->Does satisfaction depend on the presence of children? (Go to the orginal data file,
where number of children is, you could transform that, because you are interested in the
presence of children here into a zero and one à run a regression)
o Satisfaction = b0+b1*num.childi+ei
->Does satisfaction depend on the number of children? (Include number of children in your
analysis and then answer the question, depends on what you are expecting)

Y à Could be overall satisfaction of a consumer with the amusement park
X1 à Could be a variable of interest measured for a certain visitor Y
Than we could have a linear link between both, were B0 and B1 are the parameters to be estimated

What we have in a every regression model, that the link between the independent and the dependent variable will
never be perfect, either because:
1. Explanatory variables are missing you don’t have data on them
2. Measurement error in the dependent variable, so in all cases there will be an error term, that will remain
after accounting for the effect of your independent variables

´ The multiple linear regression model: include multiple explanatory variables at the same time
- Yi = b0+b1*X1i+b2*X2i +ei
- example:
o Satisfaction = b0+b1*child_dummyi+b2*waiti+ei
->Does satisfaction depend on the presence of children and on waiting time? (Take previous
model, but simply add a new coefficient times the value of the new variable)
Combination of a non-metric dummy variable and a continuous variable
o Satisfaction = b0+b1*num.childi+b2*waiti+ei
->Does satisfaction depend on the number of children and on waiting time? ()
Two continuous explanatory variables

!! You have an interaction when … !!
Always include the main effect, even if it does not matter or is not significant

´ The multiple linear regression model with interactions:
• Yi = b0+b1*X1i+b2*X2i+b3*X1i*X2i+ei
• example:
o Satisfaction = b0+b1*child_dummyi+b2*waiti+b3*waiti* child_dummyi+ei ->Does
satisfaction depend on the presence of children and on waiting time, and is the impact of
waiting time different for visitors with and without children? :logic could be that you
expect people with children to be much less lenient when it comes to waiting time, then
children become annoying)
o The third variables captures the interaction between the two
o If we allow for this interaction, what we want to allow for is that the effect of one
variable (waiting time) depends on the presence or the level of another variable (with or
without children)

Document information

Study
Uploaded on
September 7, 2022
Number of pages
11
Written in
2021/2022
Type
Summary
$5.37

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Kaat123
4.8
(13)
Sold
17
Followers
17
Items
0
Last sold
2 year ago


Reviews from verified buyers



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions