Assignment 2: Linear Regression

In this assignment, you will use a spreadsheet to examine pairs of variables, using the method of linear regression, to determine if t

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

here

is any correlation between the variables. Afterwards, you will postulate whether this correlation reveals a causal relationship (and why).

Click here to open the Excel spreadsheet containing the data for this assignment. 

This spreadsheet contains the data from a study that attempted to see if there is a correlation between the hours that a student studies and the grade that they earned on a test. The correlation test you are about to run will help you to determine if there is, in fact, a correlation between study time and test score. If you find a strong correlation, then you will postulate whether you feel this indicates a causal relationship.

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Below are instructions on how to perform this correlation test in Microsoft Excel. 

In the Excel spreadsheet, perform the following operations:

  1. Save the spreadsheet to your computer. 
  2. With your mouse, highlight all of the data on the spreadsheet in columns A and B.
  3. In the tabs at the top of the page, click Insert.
  4. In the Insert ribbon, in the Charts section, click Scatter. Be sure to select the option where it will just plot dots, it will be called Scatter with only Markers. If you do this right, then you’ll see a chart on the page.
  5. Now, on the chart, right-click on one of the data points (dots). Just pick a dot somewhere near the middle of the distribution.
  6. Select Add Trendline from the drop-down menu that appears when you right-click on a dot.
  7. A new menu will appear. Select Linear, select Automatic, and click the boxes next to Display Equation on chart and Display r-squared value on chart.
  8. Click Close.
  9. Now, you should see a line drawn through the dots. It will roughly cut through the middle of the dot distribution.
  10. You’ll also see the linear regression equation and r2 value displayed next to the line. 

To see an example spreadsheet containing a completed analysis click here.

Now that you’ve completed your analysis and determined the linear regression formula and r2, it now time to report on the results of your study and examine your findings.

In a Microsoft Word document, respond to the following:

  1. Report the sample you selected and the question that was explored in the study.
  1. Report the r2 linear correlation coefficient and the linear regression equation produced in the Excel spreadsheet.
  1. What would be the value of Pearson’s r (simply the square root of r2)?
  1. Would Pearson’s r be positive or negative? What does this imply about the relationship between the factors in this study?
  1. What is the implication of any correlation found between the variables in the study you picked?
  1. Does this correlation imply a causal relationship? Explain.
  1. Are there other variables that you think should have been examined that would have improved this study or help to pinpoint what factors are causal?

For this assignment, you will submit a spreadsheet and a report. The spreadsheet will be the Microsoft Excel file containing your scatterplot and analysis. Name your Microsoft Excel file as follows: LastnameFirstInitial_M3_A2.xls.

The report will be a Microsoft Word document in which you will address all of the questions in this assignment in the form of a narrative.  Name your Microsoft Word document as follows: LastnameFirstInitial_M3_A2 x.

Sheet1

3

5

80

6

65

4

8

9

12

94

Hours of Study Exam score
7 6 3
4 60
4

8
2.

5 51
16 80
65
1.7 53
13 83
12
73
9
18 82
85
67
69
11.5 72
74
14 75
17 78
21 91.5
20 94
25 97
22 93
24 89
19 90
26 88
27 95
18.5 84
25.5
19.6 90.5

Sheet2

Sheet3

2

>Your Data

2

1 5
10
3 15
4 20
Start with your data

Chart

1 5
2 10
3 15
4 20

Highlight the data
Click Insert and then
charts (use the Scatter chart)

Your Chart

1 5
2 10
3 15
4 20

Your Chart

Linear Correlation and Regressi

1 5
2 10
3 15
4 20

Directions:
1. On the chart, right click on a data point.
2. From the dropdown menu, choose Add Trendline. 22.82
3. Click the boxes indicating you want to see the
correlation coefficient, and the equation.
For Example: This is a line with a perfectly linear R^2 value of 1,
and with the equation y= 5x.
A linear equation can be used to make predictions.

Linear Correlation and Regressi

Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER