Test Bank for Introduction to Statistics and Data Analysis Using Stata® From Research Design to Final Report,First Edition Lisa Daniels, Nicholas Minot
Data Analysis Take-home Final Exam To limit the amount of time that you will need in the computer lab, you can run the analyses in the lab and write up the answers to the questions at a later time. You can also spend time outside the lab, determining the appropriate statistical test for each problem before you go to the lab. You can even write up your entire syntax file in Word and then save it as ―plain text‖ file. Then, you can cut and paste this into a Stata do-file when you get to the lab. Questions 1. For each of the following situations, identify the statistical test that you would use to test the hypothesis of interest: A) You want to examine the relationship between car mileage and their weight in pounds. Ans: PEARSON CORRELATION B) You want to compare sales performance in dollars for three regional offices. Ans: ONE-WAY ANOVA C) You want to see if there is a relationship between annual income earned and IQ levels (both continuous, not categorical). Ans: PEARSON CORRELATION D) You want to know if men and women are equally likely to be happy (not happy, happy, very happy) about life in general. Ans: PEARSON CHI-SQUARE E) You want to test if the average amount of time spent surfing on the internet is the same for men and women at Washington College. Ans: TWO-INDEPENDENT SAMPLE T-TEST
F) You want to determine if the differences in commuting time (miles driven per day) is the same when considering different levels of education (categories of education, not years of education). Ans: ONE-WAY ANOVA G) You want to examine the relationship between SAT scores and variables that affect it such as private or public high school, GPA in high school, and the amount of sleep the night before. Ans: REGRESSION 2. Use the gssFT2012.dta (note ―FT‖—not the gss2012.dtav) data file to answer the following question. Create a table that shows the average income (coninc) by level of happiness (happy). In your table, format the numbers so there are only whole numbers or no numbers to the right of the decimal point. Then, test whether the average income is the same for each level of happiness. A. What is the null hypothesis? Ans: Average income is the same for all levels of happiness B. Can you reject the null hypothesis or hypotheses that you identified in part A? Ans: Yes, reject. C. Describe your results for a scholarly journal in a paragraph. Ans: Using a one-way analysis of variance, we examined the average income by three reported levels of happiness. Our results showed a statistically significant difference F (2, 842) = 9.55, p = 0.001. People who are very happy earn 68,705 on average (SD = 52,068) compared to the people who are pretty happy who earn 57,288 on average (SD = 47,283), and people who are not too happy earning 43,330 on average (SD = 36,978). Eta-squared indicated that only 2.2 percent of the variation in happiness can be explained by income. 3. Use the gss.sav data file to answer the following question. Are men and women (sex) equally likely to believe that there is life after this one (postlife)? A. What is the null hypothesis or hypotheses if there is more than one? Ans: The same proportion of men and women believe in life after death. B. Can you reject the null hypothesis or hypotheses that you identified in part A? Ans: Reject the null. C. Explain your answer to part B. Be sure to give a full explanation. Do not just write ―it was significant‖ or ―it was greater than 0.10.‖
Ans: When the null is true, the probability of observing a Pearson Chi-Square at least as large as 41.78 is less than 0.05 4. Use the country.sav data file to answer the following question. You want to examine what factors affect male life expectancy (lifeexpm) in years within different countries. In particular, you think that the following variables will have an impact on male life expectancy. The number of doctors per 10,000 people (docs) Gross Domestic Product (GDP) measured in dollars The country’s status as a developed or developing country (develop) where 0 = developed and 1 = developing) A) On the basis of your results, write out the equation that would represent the relationship between male life expectancy and the variables that were examined. Ans: Male life expectancy = 51.562 + 0.567 doctors per 10,000 people + 0 GDP per capita + 3.329 Developing country B) Can you reject the null hypothesis that there is no linear relationship between the dependent variable and the independent variables? Explain using statistics. Ans: Yes. Reject the null. When the null is true, the probability of observing an F ratio of 56.012 is less than 0.05 percent. C) How well does this model explain the variation in male life expectancy? Explain using statistics. Ans: 59% of the variation in male life expectancy is explained by the model. D) What is the null hypothesis for the coefficients for doctors per 10,000 people from your equation from Part A? Ans: Coefficient is equal to zero E) Can you reject the null hypothesis about the coefficient for doctors per 10,000 people? Ans: Yes… Reject the null F) Interpret the coefficient for doctors per 10,000 people in words. Do not use the word ―units.‖ Be specific. Ans: For every extra one doctor per 10,000 people, male life expectance goes up by 0.567 years. G) Interpret the coefficient for Status as a Developing Country in words.