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

Intermediate Statistics II Partial Summary

Rating
-
Sold
2
Pages
11
Uploaded on
30-11-2022
Written in
2021/2022

Full summary for partial exam, covers dummy coding, moderation and mediation.

Institution
Course









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

Written for

Institution
Study
Course

Document information

Uploaded on
November 30, 2022
Number of pages
11
Written in
2021/2022
Type
Summary

Subjects

Content preview

Intermediate Statistics II - Partial Exam
1. Dummy coding
2. Moderation analysis
3. Mediation analysis




Week 1: Dummy coding

Dummy coding → categorical variables with more than 2 categories (e: religion: buddhism,
christianism, prothesant) are coded into variables all of which have values of only 0 or 1.

Dummy coding steps
1. Dummy variables = number of variables minus 1 (n-1)
2. Choose one of your groups as baseline reference category (if not given it is usually the
control group)
3. Having chosen baseline, assign that group values of 0 for all your dummy variables
4. For first dummy variable, assign 1 to the first group you want to compare against
baseline, all others 0

, 5. Continue step 4 for each group, until you have no dummies left
6. Place dummy variables into regression analysis in the same block

Example: creating dummies for occupation with nurse as baseline (n-1).






Present the regression equation for a constant and the dummy variables

𝑦𝑖 = β0 + β1(𝑥1𝑖) + β2(𝑥2𝑖) + ..... β𝑘(𝑥𝑘𝑖) + ε𝑖
→ 𝐻𝑎𝑝𝑝𝑖𝑛𝑒𝑠𝑠𝑖 = β0 + β1(𝑓𝑖𝑛𝑎𝑛𝑐𝑖𝑎𝑙 𝑡𝑟𝑎𝑑𝑒𝑟𝑖) + β2(𝑝𝑖𝑎𝑛𝑖𝑠𝑡𝑖) + β3(𝑡𝑒𝑎𝑐ℎ𝑒𝑟𝑖) + ε𝑖
Where
- β0 = happiness of nurse (reference)
- β1 = difference in happiness of financial trader versus nurse
- β2 = difference in happiness of pianist versus nurse
- β3 = difference in happiness of teacher versus nurse


Present the regression equation (with coefficient values) for a constant and 3 dummies
𝐻𝑎𝑝𝑝𝑖𝑛𝑒𝑠𝑠 𝑜𝑓 𝑛𝑢𝑟𝑠𝑒 𝑖 = β0 + β1(𝑓𝑖𝑛𝑎𝑛𝑐𝑖𝑎𝑙 𝑡𝑟𝑎𝑑𝑒𝑟𝑖) + β2(𝑝𝑖𝑎𝑛𝑖𝑠𝑡𝑖) + β3(𝑡𝑒𝑎𝑐ℎ𝑒𝑟𝑖) + ε𝑖


1. 𝐻𝑎𝑝𝑝𝑖𝑛𝑒𝑠𝑠 𝑜𝑓 𝑛𝑢𝑟𝑠𝑒 𝑖 = β0 + 0 + 0 + 0
- 66.875 = β0


2. 𝐻𝑎𝑝𝑝𝑖𝑛𝑒𝑠𝑠 𝑜𝑓 𝑓𝑖𝑛𝑎𝑛𝑐𝑖𝑎𝑙 𝑡𝑟𝑎𝑑𝑒𝑟 𝑖 = β0 + β1(1) + β2(0) + β3(0)
- 35.625 = 66. 875 + β1
- -31.25 = β1


3. 𝐻𝑎𝑝𝑝𝑖𝑛𝑒𝑠𝑠 𝑜𝑓 𝑝𝑖𝑎𝑛𝑖𝑠𝑡𝑖 = β0 + β1(0) + β2(1) + β3(0)
- 60.625 = 66.875 + β2
- -6.25 = β2


4. 𝐻𝑎𝑝𝑝𝑖𝑛𝑒𝑠𝑠 𝑜𝑓 𝑡𝑒𝑎𝑐ℎ𝑒𝑟 𝑖 = β0 + β1(0) + β2(0) + β3(1)
5. 57.500 = 66.875 + β3
6. -9.375 = β3

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.
irisbakouli Erasmus Universiteit Rotterdam
Follow You need to be logged in order to follow users or courses
Sold
15
Member since
4 year
Number of followers
7
Documents
23
Last sold
2 weeks ago

4.0

1 reviews

5
0
4
1
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