Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For each of the following, show how you would typically code dummy (or indicator

ID: 3253871 • Letter: F

Question

For each of the following, show how you would typically code dummy (or indicator) variables to include in a regression model. a) Company unionization status (Unionized, No Union) b) Gender (Female, Male) c) Account Status (Paid on time, Past Due) d) Political party affiliation (Democrat, Republic, Other) a) Choose the correct answer below. A. Unionized = Yes, No Union = No B. Unionized = 1, No Union = 0 C. Two variables. One variable has Unionized = 1, 0 otherwise and another variable has No Union = 1, 0 otherwise. D. Unionized = A, No Union = B b) Choose the correct answer below. A. Female = F, Male = M B. Two variables. One variable has Female =1, 0 otherwise and another variable has Male = 1, 0 otherwise. C. Female = 0, Male = 1 D. Female = True, Male = False c) Choose the correct answer below. A. Two variables. One variable has Paid on time = 1, 0 otherwise and another variable has Past Due = 1, 0 otherwise. B. Paid on time = Yes, Past Due = No C. Paid on time = X, Past Due = Y D. Paid on time = 1, Past Due = 0 d) Choose the correct answer below. A. Democrat = 0, Republican = 1, Other = 2 B. Democrat = D, Republican = R C. Democrat = 1, Republican = 0 D. Two variables. One variable has Democrat =1, 0 otherwise and another variable has Republican = 1, 0 otherwise.

Explanation / Answer

ANSWERS

a.)

C.) Two variables, onevariable has unionized= 1,0 otherwise and another variable has No Union= 1,0 otherwise.

b.)

B.) Two variables, One variable has Female =1,0 otherwise and another variable has Male=1,0 otherwise.

c.)

A.) Two variables. One variable has Paid on time=1,0 otherwise and another variable has Past Due =1, 0 otherwise.

d.)

D.) two variables. One variable has Democrat=1, 0 otherwise and another variable has Republican =1, 0 otherwise.