Question

x=c( 13, 18, 36, 43, 45, 116) y=c( 270, 350, 470, 500, 560, 1280) # Construct a scatterplot using...

x=c( 13, 18, 36, 43, 45, 116)
y=c( 270, 350, 470, 500, 560, 1280)

# Construct a scatterplot using R.
plot(x,y)

# Calculate the least squares regression line
mod = lm(y~x)
summary(mod)

# Correlation
cor(x,y)

(b) From the R output give the equation of the estimated regression line. (Round all numerical values to two decimal places.)

(c) What is the correlation coefficient r? (Round your answer to three decimal places.)

(d) Because the largest x value in the sample greatly exceeds the others, this observation may have been very influential in determining the equation of the line. Delete this observation and recalculate the equation. (Round all numerical values to two decimal places.)

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

>x=c(13,18,36,43,45,116)
>y=c(270,350,470,500,560,1280)

# Construct a scatter plot using R.
>plot(x,y)

8 8 120 100
(b) Calculate the least squares regression line
>mod = lm(y~x)

>mod

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept) x
131.82 9.74

> summary(mod)

Call:
lm(formula = y ~ x)

Residuals:
1 2 3 4 5
-17.7622 22.7273 0.4895 -24.8252 19.3706

Coefficients:
Estimate Std. Error t value Pr(>|t|)   
(Intercept) 185.0350 28.3283 6.532 0.00729 **
x 7.9021 0.8417 9.388 0.00256 **
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 24.66 on 3 degrees of freedom
Multiple R-squared: 0.9671,   Adjusted R-squared: 0.9561
F-statistic: 88.13 on 1 and 3 DF, p-value: 0.002561

(c) Correlation

>cor(x,y)

[1] 0.996

(d) After removing largest x value

> x=c(13,18,36,43,45)
> y=c(270,350,470,500,560)
> mod=lm(y~x)
> mod

Call:
lm(formula = y ~ x)

Coefficients:
(Intercept) x
185.04     7.90

Add a comment
Know the answer?
Add Answer to:
x=c( 13, 18, 36, 43, 45, 116) y=c( 270, 350, 470, 500, 560, 1280) # Construct a scatterplot using...
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
  • Consider the following sample data: x 32 23 18 36 13 40 35 24 y 31...

    Consider the following sample data: x 32 23 18 36 13 40 35 24 y 31 37 34 60 25 45 43 38 Click here for the Excel Data File b. Calculate b1 and b0. What is the sample regression equation? (Round intermediate calculations to at least 4 decimal places and final answers to 2 decimal places.)   yˆy^  +  x c. Find the predicted value for y if x equals 11, 16, and 21. (Round intermediate coefficient values and final answers to...

  • Given are five observations for two variables, x and y. xi 3 12 6 20 14...

    Given are five observations for two variables, x and y. xi 3 12 6 20 14 yi 50 45 55 15 15 (d) Develop the estimated regression equation by computing the values of b0 and b1 using b1 = Σ(xi − x)(yi − y) Σ(xi − x)2 and b0 = y − b1x. ŷ = (e) Use the estimated regression equation to predict the value of y when x = 9. Observation 1 2 3 4 5 6 7 8...

  • The best predicted gross for a movie with a ​$125 million budget is............million. co Use the...

    The best predicted gross for a movie with a ​$125 million budget is............million. co Use the given data to find the equation of the regression line. Examine the scatterplot and identify a characteristic of the data that is ignored by the regression line. х 11 y 12.29 12 12.17 8 10.68 5 6.11 14 9 10.93 11.55 6 7.97 13 11.71 10 12.08 4 3.93 7 9.49 Ý=+* (Round to two decimal places as needed.) Create a scatterplot of the...

  • Bivariate data obtained for the paired variables x and y are shown below, in the table...

    Bivariate data obtained for the paired variables x and y are shown below, in the table labelled "Sample data." These data are plotted in the scatter plot in Figure 1, which also displays the least-squares regression line for the data. The equation for this line is y = -0.17+ 1.17x. In the "Calculations" table are calculations involving the observed y values, the mean y of these values, and the values y predicted from the regression equation. Sample data Calculations 69...

  • Bivariate data obtained for the paired variables x and y are shown below, in the table...

    Bivariate data obtained for the paired variables x and y are shown below, in the table labelled "Sample data." These data are plotted in the scatter plot in Figure 1, which also displays the least-squares regression line for the data. The equation for this line is y-23733-0.81 In the "Calculations" table are calculations involving the observed y values, the mean y of these values, and the values y predicted from the regression equation Sample data Calculations 107.7 155.1 117.3 135.2...

  • b. What is the equation of the regression line for the set of ​points? The best...

    b. What is the equation of the regression line for the set of ​points? The best predicted weight for a bear with a chest size of 48 inches is .......nothing pounds. The best predicted temperature when a bug is chirping at 3000 chirps per minute is .........F. Use the given data to find the equation of the regression line. Examine the scatterplot and identify a characteristic of the data that is ignored by the regression line. x 10 15 y...

  • Question 2 (2 points) The data below gives the number of pages, x, and the cost,...

    Question 2 (2 points) The data below gives the number of pages, x, and the cost, y, for a sample of six textbooks. Note that the data given in this problem is not necessarily the same as in the other problems. Find the equation of the regression line, y = a + bx, and correlation coefficient r for the data. Round all values to the nearest thousandth (to three decimal places). #pages, 1889416614 633 500 577 Cost, $189 S112 S152...

  • #3 #5 #6 #7 please help me! Suppose IQ scores were obtained for 20 randomly selected...

    #3 #5 #6 #7 please help me! Suppose IQ scores were obtained for 20 randomly selected sels of siblings. The 20 pairs of measurements yield x=98.82, y = 101.15, r=0.907, P-value = 0.000, and = -4.91 + 1.07x, where x represents the IQ score of the younger child. Find the best predicted value of ý given that the younger child has an IQ of 106? Use a significance level of 0.05. Click the icon to view the critical values of...

  • Using your calculator, run a regression analysis on the following bivariate set of data with y as the response variable. x y 71.2 23.1 90.8 122.9 88.8 82.9 57.7 18.3 71.4 8.6 60.4 25.9 60.2 -43.1 88.5...

    Using your calculator, run a regression analysis on the following bivariate set of data with y as the response variable. x y 71.2 23.1 90.8 122.9 88.8 82.9 57.7 18.3 71.4 8.6 60.4 25.9 60.2 -43.1 88.5 77.4 68.2 -5.9 41.1 -83 61.4 -2.5 87.1 39.4 Find the correlation coefficient and report it accurate to three decimal places. r = What proportion of the variation in y can be explained by the variation in the values of x? Report answer...

  • 1. 2. 3. Use the given data to find the equation of the regression line. Examine...

    1. 2. 3. Use the given data to find the equation of the regression line. Examine the scatterplot and identify a characteristic of the data that is ignored by the regression line. X 5 14 13.31 13 13.66 12 13.74 10 13.05 9 12.30 4 4.31 6 8.34 8 11.25 11 13.54 7 9.94 y 6.46 = 3.00 + 0.80 (Round to two decimal places as needed.) The data show the chest size and weight of several bears. Find the...

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