What is a dummy variable, and when do you use it?

What will be an ideal response?


A dummy variable is created by turning a nominal variable into one or more twocategory variables. To do this, what we need to do is make one category into our
reference category, to which the others are going to be compared. Lets take state schools as our reference category in this example. We are first going to compare children in Catholic schools with children in state schools, and then children in local authority
schools with children in state schools. How do we do this? We will have to make two new variables, one for Catholic and one for local authority schools. We will have to recode our variable school type so that all Catholic schools are coded as 1, and all other schools
as 0.
We have to use dummy variables when we have nominal predictors in regression models.

Education

You might also like to view...

. Researchers have a ______ relationship with participants in qualitative research

A. interesting B. interactive C. intricate D. creative

Education

Which of the following is NOT a respiratory infection?

A) Tetanus. B) Pertussis. C) Measles. D) Influenza.

Education

Isolation and restraint laws are designed to::

a. Provide greater latitude to teachers in controlling disruptive behavior in the classroom b. Provide parents the flexibility to discipline their children c. Protect students from unwarranted and unsafe restraint and isolation measures d. None of the above

Education

Characteristics of conduct disordered youth include all of the following except:

A. Serious rule violation. B. Violation of the rights of others. C. Aggression. D. Unusual capacity to generate alternative solutions. E. Poor interpersonal relationships

Education