Question

For this problem, you are provided with both a dataset and a regression equation that relates...

For this problem, you are provided with both a dataset and a regression equation that relates the predictor and dependent variables. Given the regression equation, calculate by hand the correlation between the two. You must show all your work in order to receive full credit. Use R to check your computations, and attach the R output.

A researcher believes that if people put effort into a charitable cause, they will be more willing to contribute money to that cause. A group of students was asked to work at a Habitat for Humanity building site for part of one day. At the end of their workday, the students were asked to pledge a sum of money to help the family who would move into that house. The number of hours worked and the sum of money pledged are recorded below. (critical r = .878)

Student Hours Worked $ Pledged
1 7 18
2 4 3
3 6 8
4 3 1
5 5 7

$ Pledged = -12.1 + 3.9(Hours)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The correlation coefficient is obtained using the formula

r=\frac{n\left ( \sum XY \right )-\sum X \sum Y}{\sqrt{\left [ n\left ( \sum X^2 \right ) - \left ( \sum X \right )^2 \right ]\left [ n\left ( \sum Y^2 \right ) - \left ( \sum Y \right )^2 \right ]}}

From the data values,

Student Hours Worked, X $ Pledged, Y X^2 Y^2 XY
1 7 18 49 324 126
2 4 3 16 9 12
3 6 8 36 64 48
4 3 1 9 1 3
5 5 7 25 49 35
SUM 25 37 135 447 224

r=\frac{5\left ( 224 \right )-25\times 37}{\sqrt{\left [ 5\left ( 135 \right ) - \left ( 25 \right )^2 \right ]\left [ 5\left ( 447 \right ) - \left ( 37 \right )^2 \right ]}}=0.9371

The R code is given below,

x <- c(7, 4, 6, 3, 5)

y <- c(18, 3, 8, 1, 7)

cor(x, y, method = c("pearson"))

[1] 0.9371102

Add a comment
Know the answer?
Add Answer to:
For this problem, you are provided with both a dataset and a regression equation that relates...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Answer the following questions about 2. what test needs to be used explain why by making a null hypothesis. 5. Create a regression equation with the data giving underneath the problem. A manger is i...

    Answer the following questions about 2. what test needs to be used explain why by making a null hypothesis. 5. Create a regression equation with the data giving underneath the problem. A manger is interested in employee turnover. They examine data from 40 of its employees. The following variables were collected: - Employee Type: Employees are either current or former. - Department: Employees either work in sales or in the warehouse. - Rating: The employee's most recent performance rating out...

  • Questions 6, 7, 10, 11 and 12. Question 6 1 pts Select the appropriate equation for...

    Questions 6, 7, 10, 11 and 12. Question 6 1 pts Select the appropriate equation for the line of prediction from the SPSS output. Coefficients Standardized Coefficients Beta Sig. Unstandardized Coefficients Model B Std. Error 1 (Constant) 3.977 1.193 Variable 1 414 096 Variable 2 -2019 2011 a. Dependent Variable: Outcome (Y) 458 -181 t 3.333 4.313 -1.704 .001 000 ,093 O Yhat = 3.977 +4.313X1 - 1703X2 Yhat - 3.977 +0.458X, -0.181X2 Yhat = 3.333+4.313X1 - 1703X, Yhat =...

  • Assignment 1: Bivariate Regression ECO 321 DUE Thursday, February 20 at the beginning of class. You...

    Assignment 1: Bivariate Regression ECO 321 DUE Thursday, February 20 at the beginning of class. You must submit a hard copy of the assignment. 1. Consider the standard bivariate regression Y B + B,X, + a) Suppose that we estimate the above function using a sample of data and the ordinary least square method (OLS). Write down the sample regression function b) Name each of the components in part (a). Then graph an example of the function along with some...

  • DIRECTIONS: Make sure your responses are neat and readable. You must show me your calculation in...

    DIRECTIONS: Make sure your responses are neat and readable. You must show me your calculation in a separate piece of paper. Homework that is difficult to grade due to messiness will be returned ungraded. If you would like to get full credit, do not forget to attach the Excel output. The number of hours 10 students spent studying for a test and their scores on that test is represented in the table below. 0 2 4 5 5 Hours spent...

  • Question 1 Which of the following choices best describes the scatterplot shown below? Group of answer...

    Question 1 Which of the following choices best describes the scatterplot shown below? Group of answer choices Linear, negative, strong No form, weak Linear, positive, strong Curved, weak Question 2 Which of the following choices is most likely to be the correlation of the data in the scatterplot shown below? Group of answer choices -0.14 1.04 0.86 -0.92 Question 3 Most roller coasters get their speed by dropping down a steep initial incline, so it makes sense that we can...

  • Everyone Loves Mrs. Noble Sharon Noble is in charge of the main office at Essex High...

    Everyone Loves Mrs. Noble Sharon Noble is in charge of the main office at Essex High School, a position she has held for nearly 30 years. She does not have a college degree, but that does not seem to hinder her work as “secretary” for the school. She is an extravert, and people say her jokes are corny, but she runs the office efficiently and well, getting along with teachers and students and dealing with the rules and procedures that...

  • Read this article. Then write a 250 word response on two of the programs you like...

    Read this article. Then write a 250 word response on two of the programs you like the most. Open source business intelligence software 1. BIRT BIRT is an open source BI program that CloudTweaks says is often viewed as the industry standard. BIRT boasts “over 12 million downloads and over 2.5 million developers across 157 countries.” Its users include heavyweights such as Cisco, S1, and IBM (which is also a BIRT sponsor). They also have maturity going for them, as...

  • Actions that damage a company and its employees should be stamped out, everyone would agree. But ...

    Actions that damage a company and its employees should be stamped out, everyone would agree. But should the people responsible be stamped out, too? HBR CASE STUDY The Reign of Zero Tolerance by Ben Gerson "Mr. Pemberton?" manager. The guards had radioed her that the "Yes, that's me," Simon replied distractedly, his back turned. target wasn't putting up much resistance. "Your personal belongings will be messen The two burly gentlemen who had suddenly gered to your home later today," Sallie...

  • Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of...

    Using the book, write another paragraph or two: write 170 words: Q: Compare the assumptions of physician-centered and collaborative communication. How is the caregiver’s role different in each model? How is the patient’s role different? Answer: Physical-centered communication involves the specialists taking control of the conversation. They decide on the topics of discussion and when to end the process. The patient responds to the issues raised by the caregiver and acts accordingly. On the other hand, Collaborative communication involves a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT