###### Asked in Statistics

Statistics

# How do you interpret coefficient of binary variable in linear regression?

## Answer

###### Wiki User

###### March 31, 2008 10:04PM

This is my best shot. I've been trying to find this answer since I'm doing regressions right now.

Let's say you have a dummy variable "male" where 1 = male, 2 = female.

You regress:

toads_owned = c(1) + c(2)*male

You get the result:

MALE:

Coefficient: 2

T-test: 3.1

toads_owned = c(1) + 2*male

So now, I think that means that if you are a male, you are likely to own 2 more toads on average than if you were a female.

The coefficient on a dummy variable simply says how different you are from the base group (the group that equals 0) if you equal 1.

## Related Questions

###### Asked in Math and Arithmetic, Statistics, Learning Theories, Transportation and Logistics

### What is binary logistic regression?

Binary logistic regression is a logistic regression that applies
to binary (0,1) variables (e.g. live or die, fail or pass...).
Binary logistic regression is used to predict and model 0,1
problems in medicine, BI and many more fields. The reason logistic
regression is preferred by many researchers is that it allows one
to see the effect every variable has on the model in contrast to
black boxed models such as neural networks.

###### Asked in Statistics

### Can you use a binary variable as the dependent variable in a regression?

If your dependent variable is dummy coded (binary) then you must
use a logistic regression for you analysis. There are two types;
logit and probit. Both types return very similar results and your
decision on which to use is based on personal preference and
discipline standards. Economics and marketing tend to use probit
while sociology tends to use logit.

###### Asked in Numerical Analysis and Simulation

### 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.

###### Asked in Consumer Electronics, Computer Networking, Computer Programming

### Whats a bit?

A binary digit, the smallest unit in a base-2 (binary) counting
system, which we interpret as the digit 0 or 1. To the computer, a
bit is simply the absence or presence of a sufficient charge within
a capacitor. Every capacitor in memory is paired with a transistor
which can fill or drain the capacitor in order to switch the state.
We interpret the combined states of these capacitors as binary
numbers which can be converted to decimal numbers. Thus any data
that can be represented as decimal numbers can be stored and
manipulated by a binary computer.

###### Asked in Astronomy, Biology, Chemistry

### What is a binary-stage classification system?

Binary classification? - Classification from a binary
target variable, i.e. a variable which can accept only two values.
It is obvious that in such problems the question on an object
accessory to one of two classes is dealt with. Use conditions 0 and
1 more often, but can be and others, for example Yes or not, Y or N
etc. As practice shows, the majority of problems of classification
in Data Mining can be shown to the binary. At their use it is
possible to simplify model and to take off some restrictions
connected with a great number of possible conditions of a target
variable. Besides, binary models are more clear and interpreted

###### Asked in C Programming

### How do you convert exe to binary?

An exe is machine code and machine code is written entirely in
binary. No conversion is necessary.
A hex-editor is the simplest way to view the binary code. The
code will be shown in hexadecimal rather than binary, however this
actually makes it much easier for humans to interpret the binary
code because the conversion from hex to binary is so simple. Each
hex digit represents a unique 4-bit binary pattern:
0x0 = 0000
0x1 = 0001
0x2 = 0010
0x3 = 0011
0x4 = 0100
0x5 = 0101
0x6 = 0110
0x7 = 0111
0x8 = 1000
0x9 = 1001
0xA = 1010
0xB = 1011
0xC = 1100
0xD = 1101
0xE= 1110
0xF = 1111
Thus the hex value 0x9A translates directly to the 8-bit binary
value 10011010. That is, 8 binary digits reduce to just 2 hex
digits and therefore makes it much easier for humans to interpret
the binary value.

###### Asked in Math and Arithmetic

### What is The actual numerical value assigned to nominal level variable?

The whole point of a nominal variable is that is has no
numerical value associated with it. With a binary measure you can
allocated the values 1 and 0 or +1 and -1 for observations where
the attribute is present or absent. If there are more than 2 values
that the nominal variable can take then you can allocate any
numbers that you want but in all cases the numbers do not have a
value: they are simply symbols which can help for sorting and for
binary comparisons.

###### Asked in Linux

### What is a command interpretation?

###### Asked in Computer Hardware, Computer Terminology

### Why the computer start with 8 bit?

It didn't, early computers had a very wide range of word and
character sizes many machines were decimal so their word/character
sizes were defined in decimal digits not binary bits. Even
microprocessors the first commercial microprocessor the Intel 4004
was a 4 bit not 8 bit machine. The 8 bit byte as a standard only
originated in 1964 with the IBM System/360.
Some examples of different computers of the past:
ABC: 50 bit binary words; no characters.
ENIAC: 10 digit decimal words; no characters.
IAS: 40 bit binary words; no characters.
UNIVAC 1: 12 character/digit decimal words; 1 digit
characters.
IBM 701: 36/18 bit binary words; 6 bit characters.
IBM 702: variable length character/digit words; 1 digit (6 bit)
characters.
UNIVAC 1101: 36 bit binary words; 6 bit characters.
IBM 650: 10 digit decimal words; 2 digit characters.
IBM 704: 36 bit binary words; 6 bit characters.
UNIVAC 1103: 36 bit binary words; 6 bit characters.
IBM 705: variable length character/digit words; 1 digit (6 bit)
characters.
IBM 709: 36 bit binary words; 6 bit characters.
IBM 7090: 36 bit binary words; 6 bit characters.
IBM 1620: variable length decimal words; 2 digit
characters.
IBM 1401: variable length character/digit words; 1 digit (6
bit) characters.
DEC PDP-1: 18 bit binary words; 6 bit characters.
IBM 7030: 64 bit binary words, variable length character/byte
strings; variable length (4 to 8 bits) characters/bytes.
CDC 6600: 60 bit binary words; 6 bit characters.
DEC PDP-8: 12 bit binary words; 6 or 8 bit characters.
IBM System/360: 32 bit binary words, variable (up to 32 digits)
length decimal words; 8 bit characters/bytes.
DEC PDP-10: 36 bit binary words; variable length (1 to 36 bits)
characters.
UNIVAC 1110: 36 bit binary words; 6 or 9 bit
characters/bytes.
etc.

###### Asked in C Programming

### Swap 2 variable without a 3rd variable in c program?

This can be done using the bitwise exclusive-or(XOR)
operator.
int X = 16 // Binary 010000
int Y = 32 // Binary 100000
X = X ^ Y // X = 110000
Y = X ^ Y // Y = 010000
X = X ^ Y // X = 100000
This is good to know but is not widely practiced, as it is far
simpler to use a temporary variable, and less prone to bugs.
int temp = X;
X = Y;
Y = temp;

Load More