Question

In: Math

Consider the following data set. x 1 2 3 4 5 6 y 3.00 0.21 0.61...

Consider the following data set.

x 1 2 3 4 5 6
y 3.00 0.21 0.61 0.70 1.13 1.17

a) plot the data (y versus x). Are there any points that appear to be outliers? If there are, circle them and label as such.

b) produce a regression of y against x. Add the regression line to the plot in a). Do you think that the regression line captures the most important features of the data set reasonably well?

c) using calculations at a 5% significance level, can you say that there is a significant linear relationship between the x and y? That is, can you say with 95% confidence that y linearly depends on x? Does this result agree with the conclusion you made in b)?

d) testing at a 5% significance level, can you say that the intercept (β0) is not zero? How does this conclusion agree with the plot in b)?

e) Assume that the first data point is an outlier (e.g. the value was misrecorded). Remove the outlier, and redo the parts b)-d). Plot the data set and both regression lines (before and after the outlier was removed). Comment on the difference. Also comment on the difference between the results of the tests in c) and d), if any.

Solutions

Expert Solution

a) plot the data (y versus x). Are there any points that appear to be outliers? If there are, circle them and label as such.

Ans: There is a data point appear to be the outlier.

b) produce a regression of y against x. Add the regression line to the plot in a). Do you think that the regression line captures the most important features of the data set reasonably well?

Ans:

We do not think that the regression line captures the most important features of the data set reasonably well because the fitted line does not pass through most of the data points.

c) using calculations at a 5% significance level, can you say that there is a significant linear relationship between the x and y? That is, can you say with 95% confidence that y linearly depends on x? Does this result agree with the conclusion you made in b)?

Ans:

Using calculations at a 5% significance level, we can say that there is not a significant linear relationship between the x and y. No, we can not say with 95% confidence that y linearly depends on x. Yes, this result agrees with the conclusion you made in b).

d) testing at a 5% significance level, can you say that the intercept (β0) is not zero? How does this conclusion agree with the plot in b)?

Ans: The p-value for intercept (β0) is 0.1388. Hence, we can not say that intercept (β0) is not zero. Yes, this conclusion agrees with the plot in b).

e) Assume that the first data point is an outlier (e.g. the value was misrecorded). Remove the outlier, and redo the parts b)-d). Plot the data set and both regression lines (before and after the outlier was removed). Comment on the difference. Also comment on the difference between the results of the tests in c) and d), if any.

Ans

Now, the fitted line passes near to all the data points and the R^2 value becomes 0.9398. It has a better model fitting.


Related Solutions

2. Consider the following data: x= 1, 2, 3, 4, 5 y =3, 2, 4, 6,...
2. Consider the following data: x= 1, 2, 3, 4, 5 y =3, 2, 4, 6, 5 By hand, not using Matlab, and showing your work: (a) Compute the correlation coefficient. (b) Find the least-squares line. (c) Find the standard deviation around the least-squares line.
Consider the following data table: x 8 5 4 6 2 5 3 y 1 3...
Consider the following data table: x 8 5 4 6 2 5 3 y 1 3 6 3 7 2 5 (15 points) Create a scatterplot of the data either by hand or with a computer.  Does there appear to be a linear relationship between x and y?  If so, what is the strength and direction of the relationship? (20 points) Give the Simple Linear Regression Model, using x as the predictor variable and y as the response variable.  What is the meaning...
Consider the following set of ordered pairs. x 4 2 4 3 6 4 y 5...
Consider the following set of ordered pairs. x 4 2 4 3 6 4 y 5 7 7 4 2 7 ​a) Calculate the correlation coefficient. ​b) Using alpha equals 0.05​, perform a hypothesis test to determine if the population correlation coefficient is less than zero. LOADING... Click the icon to view a portion of the​ Student's t-distribution table. ​a) requals nothing ​(Round to three decimal places as​ needed.) ​b) Determine the null and alternative hypotheses. Upper H 0​: rho...
Step 2 Data Set A x 1 2 3 4 5 6 7 y 7 7...
Step 2 Data Set A x 1 2 3 4 5 6 7 y 7 7 7 9 9 9 10 Data Set B x 1 2 3 4 5 6 7 8 9 10 11 y 4 6 6 6 8 9 9 9 10 10 10 Step 2 Find the equation for the least-squares line, and graph the line on the scatter plot. Find the sample correlation coefficient r and the coefficient of determination r2. Is r significant?...
Consider the following set of ordered pairs. x 5 2 2 3 7 6 y 3...
Consider the following set of ordered pairs. x 5 2 2 3 7 6 y 3 8 5 4 2 7 a. Using alphaequals0.10​, test for the significance of the regression slope. b. Construct a 90​% confidence interval for the population slope. a. Using alphaequals0.10​, test for the significance of the regression slope. Identify the null and alternative hypotheses. Upper H 0​: beta ▼ not equals less than greater than greater than or equals equals less than or equals nothing...
ID X Y 1 2 3 2 3 6 3 4 6 4 5 7 5...
ID X Y 1 2 3 2 3 6 3 4 6 4 5 7 5 8 7 6 5 7 7 6 7 8 8 8 9 7 8 10 12 11 Test the significance of the correlation coefficient. Then use math test scores (X) to predict physics test scores (Y).  Do the following: Create a scatterplot of X and Y. Write the regression equation and interpret the regression coefficients (i.e., intercept and slope). Predict the physics score for each....
3. Consider the following data for two variables, x and y. x   2 3 4 5 7...
3. Consider the following data for two variables, x and y. x   2 3 4 5 7 7 7 8 9 y 4 5 4 6 4 6 9 5 11 a. Does there appear to be a linear relationship between x and y? Explain. b. Develop the estimated regression equation relating x and y. c. Plot the standardized residuals versus yˆ for the estimated regression equation developed in part (b). Do the model assumptions appear to be satisfied? Explain. d....
X 1 3 5 3 4 4 Y 2 5 4 3 4 6 A: Plot...
X 1 3 5 3 4 4 Y 2 5 4 3 4 6 A: Plot the date B: find the line of best fit C: determine ŷ AT x=3 D: Find r and r^2 E: explain r and r^2
Consider the following data: X Y 1 13 3 10 5 9 5 5 6 3...
Consider the following data: X Y 1 13 3 10 5 9 5 5 6 3 Draw a Scatter Plot of the data. Do you believe the correlation coefficient r will be positive, negative or close to zero? Why What is your estimate to the value of Y associated with X=4?
Consider a set A = { 1, 2, 3, 4, 5, 6, 8} Consider these relations,...
Consider a set A = { 1, 2, 3, 4, 5, 6, 8} Consider these relations, 1. R1 = { ( a, b) | a = 3b } Can you write down the pairs ? one such pair is ( 3, 1) 2. R2 = { (a, b) | 2a = b } Can you write down the pairs ? one such pair is (2, 4) 3. R3 = { ( a, b) | a >= 2b } Can you...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT