7. Going back to the two original regressions, which one fits the data better? CIRCLE ONE THE SIMPLE REGRESSION THE MULTIPLE REGRESSION How do you know? SECTION 2 College Grads The next questions use data on a 2013 survey of college graduates. This dataset divides marital status MARSTA into 1. married 2. living in a marriage-like relationship (but not married) 3. widowed 4. separated 5. divorced 6. never married Also, in this dataset GENDER is a string variable where males are coded M and female F. I want to study what kind of MEN live in a marriage-type relationship rather than get married. Therefore, I would like to only include those men who are married OR living in a marriage-like relationship, and make a variable “married” that =1 if the guy is married, 0 if the guy is living in a marriage-like relationship but not married, and missing otherwise. What Stata commands would I write to make this variable? I have made this variable “married” and run the following regression of this variable on: age: the age of the man (which goes from 20 to 75.) citizen: an indicator/dummy variable for if the man is a US citizen Note: I have erased some numbers. . regress married age citizen
7. Going back to the two original regressions, which one fits the data better? CIRCLE ONE THE SIMPLE REGRESSION THE MULTIPLE REGRESSION How do you know? SECTION 2 College Grads The next questions use data on a 2013 survey of college graduates. This dataset divides marital status MARSTA into 1. married 2. living in a marriage-like relationship (but not married) 3. widowed 4. separated 5. divorced 6. never married Also, in this dataset GENDER is a string variable where males are coded M and female F. I want to study what kind of MEN live in a marriage-type relationship rather than get married. Therefore, I would like to only include those men who are married OR living in a marriage-like relationship, and make a variable “married” that =1 if the guy is married, 0 if the guy is living in a marriage-like relationship but not married, and missing otherwise. What Stata commands would I write to make this variable? I have made this variable “married” and run the following regression of this variable on: age: the age of the man (which goes from 20 to 75.) citizen: an indicator/dummy variable for if the man is a US citizen Note: I have erased some numbers. . regress married age citizen
QM222-Project-Course-Test-2016-1.docx