### Description

Homework #3 (50 Points)

- (10 points total) You want to examine whether there is a difference in the number of hours worked per week between US citizens and people who are not US citizens residing in the United States. For this, you can do an analysis using the Baylor Religion Survey dataset in STATA, with the command: ttest hrsworkd, by(uscitizen)

Interpret this analysis as a hypothesis test, reporting:

a. (2 points) What are the null and alternative hypotheses?

b. (2 points) What is the obtained test statistic?

c. (2 points) What is the p-value?

d. (2 points) Using an alpha-level of .05, what decision do you make?

e. (2 points) Write a sentence or two interpreting this analysis.

- (12 points total) You want to examine whether there is a difference across regions of the United States in prevalence of people dating someone of a race different from their own. Using the Baylor dataset in STATA, use the command: tab region daterace, chi2 expected

Interpret this analysis as a hypothesis test, reporting:

a. (2 points) What are the null and alternative hypotheses?

b. (2 points) What is the obtained test statistic?

c. (2 points) What is the p-value?

d. (2 points) Using an alpha-level of .05, what decision do you make?

e. (2 points) In what region is the rate of dating people of a race different from the respondents’ own higher than “expected.”

f. (2 points) Write a sentence or two interpreting this analysis.

- (12 points total) With regard to hypothesis tests:

a. (2 points) What is a Type 1 error?

b. (2 points) What is the chance of making a Type 1 error?

c. (2 points) How does increasing the sample size (n) affect the chance of making a Type 1 error?

d. (2 points) What is a Type 2 error?

e. (2 points) How does lowering the alpha-level affect the chance of making a Type 2 error?

f. (2 points) How does increasing the sample size (n) affect the chance of making a Type 2 error?

- (6 points) If you think variable X has a causal influence on variable Y, what three things do you need to establish to determine whether this is so?
- (10 points) Using the WDI dataset, assess the relationship between national carbon dioxide (CO2) emissions per capita (v11) and GDP per capita (v25). a. (4 points) Do an analysis with the command: reg v11 v25. What does this analysis tell us about the connection between GDP per capita and emissions? b. (6 point) Now, you should assess whether the relationship between GDP per capita and emissions is mediated by energy use per capita (v20). Do an analysis with the command: reg v11 v25 v20. What does this analysis suggest about the relationship between GDP per capita and emissions that we do not see in the previous analysis?

1 attachmentsSlide 1 of 1

- attachment_1attachment_1

### UNFORMATTED ATTACHMENT PREVIEW

Data File: BAYLORW2(Full Data Codebook) http://www.thearda.com/Archive/Files/Downloads/BAYLORW2_DL2.asp 1) ID Respondent’s identification number RANGE: 1100281089 to 9880344400 N Mean Std. Deviation Total 1648 9133720687.132 2172325897.656 2) WEIGHT Weight variable RANGE: 0.2739 to 2.9067 N Mean Std. Deviation Total 1648 1 0.649 3) REGION Region where the RANGE: 1 to 4 N Mean Total 1648 2.573 1) East 357 2) Mid-West 386 3) South 509 4) West 396 respondent lives Std. Deviation 1.077 21.7 23.4 30.9 24.0 4) RELIG1 Q1a. With what religious family do you most closely identify? RANGE: 1 to 98 N Mean Std. Deviation Total 1608 27.056 15.13 1) Other 49 3.0 6) Adventist 4 0.2 7) African Methodist 6 0.4 9) Asian folk religion 1 0.1 10) Assemblies of God 21 1.3 12) Baptist 204 12.7 13) Bible 12 0.7 14) Brethren 2 0.1 15) Buddhist 11 0.7 16)

Do you have a similar assignment and would want someone to complete it for you? Click on the ORDER NOW option to get instant services at essayloop.com. We assure you of a well written and plagiarism free papers delivered within your specified deadline.