Run the regression of scores on a exam (Scores) on the three variables "Hours (worked)", "Beers (consumed)" and the dummy variable for "Male". Score Hours Beers M = 1 87 7 2 0 56 2 5 1 34 1 7 1 87 6 1 0 92 11 2 0 13 2 9 1 34 0 6 1 56 4 3 0 95 10 1 0 77 7 3 0 Which of the following statements is incorrect Select one: a. All independent variables are statistically significant b. A female who consumes one beer and works one hour would expect to score about 71.23 c. A male who consumes three beers and works two hours would expect to score about 72.76 d. A male who five hours and consumes two beers would expect to score about 91.96
R code:
> score=scan('clipboard')
Read 10 items
> score
[1] 87 56 34 87 92 13 34 56 95 77
> hours=scan('clipboard')
Read 10 items
> hours
[1] 7 2 1 6 11 2 0 4 10 7
> beer=scan('clipboard')
Read 10 items
> beer
[1] 2 5 7 1 2 9 6 3 1 3
> gender=scan('clipboard')
Read 10 items
> gender
[1] 0 1 1 0 0 1 1 0 0 0
> fit=lm(score~hours+beer+gender)
> summary(fit)
Call:
lm(formula = score ~ hours + beer + gender)
Residuals:
Min 1Q Median 3Q Max
-5.5381 -3.1075 -0.8385 2.8424 6.2616
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 77.6695 7.9591 9.759 6.66e-05 ***
hours 3.1900 0.8773 3.636 0.010886 *
beer -9.6304 1.4793 -6.510 0.000626 ***
gender 17.5983 8.7903 2.002 0.092168 .
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 5.201 on 6 degrees of freedom
Multiple R-squared: 0.9783, Adjusted R-squared: 0.9675
F-statistic: 90.33 on 3 and 6 DF, p-value: 2.205e-05
Estimated regression equation:
Score = 77.6695 + 3.1900 hours -9.6304 beer + 17.5983 Male
At 10% level of significance all variables are statistically significant.
Statement b is incorrect. (A female who consumes one beer and works one hour would expect to score about 77.6695 ).
Statement c is correct ( A male who consumes three beers and works two hours would expect to score about 72.76)
score = 77.6695 + 3.1900 (2) -9.6304 (3) + 17.5983 = 72.76
Statement d is correct . A male who five hours and consumes two
beers would expect to score about 91.96
score = 77.6695 + 3.1900 (5) -9.6304 (2) + 17.5983 = 91.96
Run the regression of scores on a exam (Scores) on the three variables "Hours (worked)", "Beers (consumed)" and the dummy variable for "Male". Score Hours Beers M = 1 87 7 2 0...
Problem 4: Variables that may affect Grades The data set contains a random sample of STAT 250 Final Exam Scores out of 80 points. For each individual sampled, the time (in hours per week) that the student spent participating in a GMU club or sport and working for pay outside of GMU was recorded. Values of 0 indicate the students either does not participate in a club or sport or does not work a job for pay. The goal of...
2. The following data were collected last semester on ten students. Complete a multiple regression analysis in which you use AGE (A), MATH PROFICIENCY (MP) (on a 1 –10 scale), and GENDER (G) (0 = male, 1 = female) as predictors of FINAL EXAM (FE) performance. Do this analysis in SPSS and then answer the following questions. Subject # A MP G FE 1 35 8 1 90 2 31 6 0 88 3 26 5 1 84 4 33...
1) A researcher believes that the mean starting salary of male occupational therapists is greater than the mean starting salary of female occupational therapists. State the null and alternative hypothesis for this conjecture. A) H: = (null hypothesis) H:H>, (alternative hypothesis) Where is the mean starting salary for male occupational therapists B) H:H= (null hypothesis) H:. (alternative hypothesis) Where is the mean starting salary for male occupational therapists C) H: > (null hypothesis) Hu u (alternative hypothesis) Where u is...
Responses to mean number of hours a college student works per week S/N Response_id Age Gender Employment Status Work Hours 1 164405 37 Female Part Time 10 2 164417 21 Male Part Time 10 3 164419 19 Female Part Time 35 4 164430 19 Female Part Time 30 5 164457 34 Female Unemployed 0 6 164545 20 Female Part Time 19 7 164573 23 Female Full Time 36 8 164609 18 Female Part Time 13 9 164685 19 Female Unemployed...
1. Identify the formula for predicting an individual's z score on the dependent variable from their z score on the independent variable. a.) (rxy)(zy) b.) (rxy)(zx) c.) zx/zy d.) (zx)(zy) 2. Data from the 1993 World Almanac and Book of Facts were used to predict the life expectancy for men in a country from the life expectancy of women in that country. The resulting regression equation was Yˆ = 9.32 + 0.79(X). Using the regression equation, what would you predict...
Professor Gill has taught General Psychology for many years. During the semester, she gives three multiple-choice exams, each worth 100 points. At the end of the course, Dr Gil gives a comprehensive alworth 200 poset, and represent students scores on exams 1, 2, and respectively. Let X represent the student's score on the final exam. Last semester De Gil had 25 students in her cess. The student exam scores are shows below 73 75 152 93 185 91 90 180...
1. In the regression equation, the value that gives the amount by which Y changes for one unit in X is called the (a) coefficient of correlation. (b) coefficient of determination. (c) slope. (d) intercept. 2. For any two categorical variables, X and Y, the best way to determine if they are related is to (a) calculate the correlation between X and Y. (b) draw a scatterplot of the X and Y values. (c) make a two-way table of the...
Answer all the multiple choice 2. Multiple Choice: Choose the Appropriate Methodology Consider the following statistical statistical models / methodologies: (a) Two-sample t-test (b) One-Way ANOVA using Dummy Coding (c) One-Way ANOVA using Cell Means Coding (d) One-Way ANOVA using Effects Coding (e) Two-Way ANOVA (f) Post-Hoc Analysis g) RCB (Completely Randomized Block Design) (h) BIBD (Balanced Incomplete Block Design) (i) ANCOVA (Analysis of Covariance) (i) Repeated Measures (k) None of the above 10 people to determine which of two...
Please provide answers according to question numbers thank you. STAT 160-991 Assignment 1 (based on Handouts 1 - 8) (1) Which of the following statements applies to this set of data values: 17, 15, 16, 14, 17 18, and 22? (a) The mean, median, and mode are all equal. b) Only the mean and median are equal. (c) Only the mean and mode are equal. (d) Only the median and mode are equal (2) A sample of students who have...
i need help on question 3 to 22 please. Midterm ex review. MATH 101 Use the following information to answer the next four exercises. The midterm grades on a chemistry exam, graded on a scale of 0 to 100, were: 62, 64, 65, 65, 68, 70, 72, 72, 74, 75, 75, 75, 76,78, 78, 81, 82, 83, 84, 85, 87, 88, 92, 95, 98, 98, 100, 100,740 1. Do you see any outliers in this data? If so, how would...