answersLogoWhite

0


Best Answer

To capture and express differences between group means produced by categorical predictors (independent variables) using correlational/regression techniques, one typically encodes categorical variables vis-a-vis dummy, contrast or effects coding to produce vectors, each of which define a group difference in the form of a slope coefficient. Each vector can be thought of as a predictor variable which targets a single degree of freedom difference (or the difference between two group means). The correlation between a vector and the criterion (dependent variable), when squared, expresses the difference between two group means as a proportion of variance accounted for (the proportion of variance in DV accounted for by being either in grp1 or grp2). Coding allows one to easily partition the between groups variance. The vectors are always single degree of freedom values (two coded values for two groups). How many vectors? The number is equal to the degrees of freedom of the between groups term or one less than the number of groups. Take a look at Kepple & Zeddeck 1989 "data analysis for research designs". Hope this helps.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why do you have to recode a categorical variable into dummy variables?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between dummy and categorical variable?

A dummy variable assumes a value of either 0 or 1. A categorical variable assumes one of a usually small number of values. For example, a categorical variable might assume the values 'F' or 'M' for female or male.


What are dummies variables?

A dummy variable is a variable that takes on the values 1 and 0; 1 means something is true. These are used in statistical analyses.


What are the advantages of using pointers in a program?

pointers points to the memory address of another variable.....in functions we have two kind of variables the actual and dummy variable. when we operate on variables..the value of dummy variables are effected, but if we want to make changes in the actual variable then we have to refer to their address..and we can reach to address of the variables by only using pointers.


What is a dummy variable in Operations research?

There are various forms. In linear programming, a dummy variable may be used to convert an inequality into an equation. For example x < 10 can be written as x + u = 10 where u > 0. In this case, it is also called a slack variable. Dummy variables are used in regression to indicate the presence or absence of a factor, or for binary variables. For example, male/female could be coded numerically as 0/1 where, because the question is binary, the exact coding does not matter.


How do you interpret coefficient of dummy variable?

To interpret the coefficient of a dummy variable is to follow all of the steps of the equation that is being used as if the dummy variable was a real one.


Why do you use dummy variables?

to quantify the qualitative variables.


Is a dummy variable equal to y?

It can be.


What does a dummy variable mean?

It is a variable which usually the values 0 and 1 depending on the presence and absence of a particular factor in a set of trails. Similarly, the gender of a person could be coded as 0 (= Male) and 1 (= Female) - or the other way around. The actual coding does not matter but it allows for comparisons between the two sub-sets of the population.


Can dummy variables be used in multiple linear regression analysis?

Yes they can.


How to change superiority to equality?

Add a negative dummy variable to the side that was superior, or a positive dummy variable to the side that was inferior. For example, X > 5 could be replaced by X-a = 5 or X = 5+b where a and b are positive.


In an experiment the group is used to test the effect of the independent variable?

i dont know u tell me you dummy


In an experiment is the control group used to test the effect of the independent variable?

i dont know u tell me you dummy