100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Uitwerking lecture 4 blok 4.4 statistiek

Rating
-
Sold
-
Pages
9
Uploaded on
14-01-2022
Written in
2021/2022

Uitwerking lecture 4 blok 4.4 statistiek, slides + aantekeningen bij slides uit lecture

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Study
Course

Document information

Uploaded on
January 14, 2022
Number of pages
9
Written in
2021/2022
Type
Class notes
Professor(s)
Bruno bocanegra
Contains
All classes

Subjects

Content preview

SPSS LECTURE 4: LINEAR REGRESSION 3
Field chapter 10: regression with dummies
Geen PROCESS in SPSS exam
CATEGORISCHE PREDICTORS IN REGRESSION
• Bij regressieanalyse verzamel je vaak data over groepen van mensen (patienten vs
controls; mannen vs vrouwen; or first-, second-, third-year students).
• De variabele die de groep defenieert is categorisch en kan niet geïncludeerd worden in
de regressieanalyse, omdat de scores op deze variabele vaak ordinaal zijn.
• Het kan geïncludeerd worden als je het transformeert naar een dummy variabele.
• Dummies hebben maar twee scores: 0 and 1; ✓ E.g. geslacht → mannen = 0; vrouwen
=1
• In this special case the regression coefficient verteld iets over de verschillen tussen de
groepen.

Dummy coding
• Het aantal dummy-variables die we nodig hebben voor elke grouping variable =
number of groups – 1
o Example: V1 (training A, training B, no training)
o We need two dummies (D1, D2) to code V1
• Je moet één groep kiezen als referentiegroep (e.g. the no training), deze groep heeft
een score van 0 op elke dummy.
• De overgebleven groepen worden elk
gedefinieerd door een dummy.
o D1: people who got training A have
a score of 1, all others a 0.
o D2: people who got training B have
a score of 1, all others a 0.
Training groep A vas the rest. Dus is iemand in
training groep A. het is niet exclusief voor training groep A
1= yes
0= no

The general linear model (GLM)
• Regressie analyse met dummies is equivalent aan ANOVA:
Y = b0 + b1D1 + b2D2
o b0 = mean of the no training group (referentiegroep)
o b1 = difference between the mean of training A and the no training group,
o b2 = difference between the mean of training B and the no training group
• Predicted score voor no training groep: Y = b0 + (b1 x 0) + (b2 x 0) = b0
• Predicted score voor training A groep: Y = b0 + (b1 x 1) + (b2 x 0) = b0 + b1
• Predicted score voor training B groep: Y = b0 + (b1 x 0) + (b2 x 1) = b0 + b2
• Algemene hypothesen:
o H0 = R2 = 0 (in de populatie) OF:
o H0: β1 = β2 = 0 (H0: µnotraining = µtrainingA = µtrainingB)
• Specifieke hypothesis:
o H0: β1 = 0 (µnotraining = µtrainingA)
o H0: β2 = 0 (µnotraining = µtrainingB)

, Waarom doen we geen ANOVA? We kunnen hier combinatie doen van dummy variables
maar ook andere variabelen. In power analyse: dummy als predictor

VOORBEELD MET KWANTITATIEVE EN CATEGORISCHE PREDICTOR
• We predict maandelijkse income van
extraversie (interval) en level of
education (ordinaal)
o Education: 4 categorieën: (1)
elementary school, (2) high school,
(3) vocational studies, (4)
university

Interpretatie van regressiecoëfficienten


Income = 995.12 + 9.61*extrav +
203.72 highschool +
485.80vocational + 780.35
university


Wat is de predicted income voor educational level = elementary school?

Income(elementary) = 995.12 +
9.61*extrav + (203.72 x 0) + (485.80 x 0)
+ (780.35 x 0) =
995.12 + 9.61*extrav

Reden: we hebben een ongespecificeerde variabele in het design, daarom komt er geen getal
uit maar een formule voor een lijn. We beschrijven dus verschillende modellen voor de
subgroepen.

Wat is de predicted income voor educational level = highschool?

Income (highschool) = 995.12 +
9.61*extrav + (203.72 x 1) + (485.80 x 0) +
(780.35 x 0) =
1198.84 +
9.61*extrav


So on average, people with equal extraversion but with eductional
level = high school, earn € 203.718 more than people with ed. level =
elementary school

Interpretatie van b-coëfficients
• Als mensen gelijk zouden zijn in extraversie, kunnen we concluderen dat hoe hoger
iemands education niveau, hoe hoger hun maandelijkse inkomen.
o Mensen met highschool verdienen 203.72 meer dan mensen met elementary
school.
$3.86
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached


Also available in package deal

Get to know the seller

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.
JOPsychologie Erasmus Universiteit Rotterdam
Follow You need to be logged in order to follow users or courses
Sold
13
Member since
9 year
Number of followers
13
Documents
19
Last sold
1 year ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions