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
Summary

Summary Research Methods - Data Analysis I

Rating
-
Sold
-
Pages
1
Uploaded on
21-01-2021
Written in
2020/2021

Summary of 1 pages for the course Research Methods In Psychology at UT

Institution
Course

Content preview

RM | Unit 220 - Dummy coding with more than two categories


Book: Analysing data using linear models
Chapter 6: 6.6, 6.7


Chapter 6.6: Dummy coding for more than two groups
Take for instance a variable Country, where in your data set, there are three different values for this
variable, for instance, Norway, Sweden and Finland, or Zimbabwe, Congo and South-Africa. Let’s call
these countries A, B and C. We can code this Country variable with three categories into two dummy
variables in the following way. First, we create a variable countryA. This is a dummy variable, or
indicator variable, that indicates whether a person comes from country A or not. Those persons that do are
coded 1, and those that do not are coded 0. Next, we create a dummy variable countryB that indicates
whether or not a person comes from country B. Again, persons that do are coded 1, and those that do not
are coded 0.
Note that we have now for every value of Country (A, B, or C) a unique combination of the
variables countryA and countryB. All persons from country A have a 1 for countryA and a 0 for
countryB; all those from country B have a 0 for countryA and a 1 for countryB, and all those from
country C have a 0 for countryA and a 0 for countryB. Therefore a third dummy variable countryC 197 is
not necessary (i.e., is redundant): the two dummy variables give us all the country information we need.


Chapter 6.7: Analysing categorical predictor variables in R
Check chapter in the book

Written for

Institution
Study
Course

Document information

Uploaded on
January 21, 2021
Number of pages
1
Written in
2020/2021
Type
SUMMARY

Subjects

$4.16
Get access to the full document:

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


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.
kayleighdebruin1 Hogeschool Arnhem en Nijmegen
Follow You need to be logged in order to follow users or courses
Sold
47
Member since
7 year
Number of followers
25
Documents
46
Last sold
3 weeks ago

5.0

3 reviews

5
3
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

Working on your references?

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

Working on your references?

Frequently asked questions