Question: table [ [ Party i , No . Guests,Total Cost ] , [ 1 , 6 3 , $ 1 , 4 6 3
tableParty iNo Guests,Total Cost$
To get a scatter chart of the data:
Select the cells in two columns where the data are. This assumes that the values are in the left column a the corresponding values are in the right column.
Insert tab Scatter XY chart
Select the chart and then add Chart elements such as Axis Titles, etc.
To get the regression equation, there are different ways:
Use INTERCEPT range, range and SLOPErange, range cell functions.
Note that the range must be listed first for both of these functions!
Right click on any of the points in your scatter chart and select "Add Trendline..." Then select the Linear trendregression type, and check the box near the bottom of the dialog box that says "Display Equation on chart."
Data tab Data Analysis Regression
In the Regression dialog box:
Input Y Range: Click & drag the cursor over the values in the data column only
Input Range: Click & drag the cursor over the values in the data column only
Output Options: Specify where you want the regression output to appear
Residuals: optionally check or more of the boxes, eg Residual Plots
Click OK button
& of the regression equation will be listed in the first rows below "Coefficients"
To get the correlation coefficient, there are different ways:
Use the CORRELrange, range cell function. This function does not care which range is listed first.
Data tab Data Analysis Correlation
In the Correlation dialog box:
Input Range: Click & drag the cursor over values in BOTH columns of data
Grouped by: Select radio button for Columns
Output Options: Specify where you want the results to appear
Click OK button
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
