Question

In: Statistics and Probability

1. Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a...

1. Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​ (c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with the altitude of 6327 ft​ (or 6.327 thousand​ feet).

Altitude

4

10

13

22

29

31

32

Temperature

60

38

24

−5

−31

−41

−60

a. Find the explained variation. ​(Round to two decimal places as​ needed.)

b. find the unexplained variation ( two decimal places)

c. the indicated prediction interval (two decimal places)

2. The table below lists weights​ (carats) and prices​ (dollars) of randomly selected diamonds. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​ (c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with a diamond that weighs 0.8 carats.

Weight

0.3

0.4

0.5

0.5

1.0

0.7

Price

​$510

​$1154

​$1338

​$1405

​$5654

​$2264

a. Find the explained variation. ​(Round to the nearest whole number as​ needed.)

b. Find the unexplained variation (Round to the nearest whole number as​ needed.)

c. Find the prediction interval (Round to the nearest whole number as​ needed.)

Solutions

Expert Solution

## R command


## Question 1)
Altitude=c(4,10,13,22,29,31,32)
Temperature=c(60, 38, 24, -5, -31, -41, -60)

model.aov=aov(Temperature~Altitude)
summary(model.aov)
# a. The explained variation is 11653.
# b. The unexplained variation is 202.

model=lm(Temperature~Altitude)
summary(model)

predict(model, data.frame(Altitude=6.327), level=1-0.05, interval="prediction")

# c. The 95% prediction interval with the altitude of 6327 is (32.8414, 71.43875)


## Question 2

##
Weight=c(0.3,0.4,0.5,0.5,1.0,0.7)
Price=c(510,1154,1338,1405,5654,2264)
model.aov1=aov(Price~Weight)
summary(model.aov1)

# a. The explained variation 16024104.

# b. The unexplained variation 1107789.

model.1=lm(Price~Weight)
summary(model.1)
predict(model.1, data.frame(Weight=0.8), level=1-0.05, interval="prediction")

# c. The 95% prediction interval of price when weighs=0.8 carats is (2031.154, 5414.442)

## End


Related Solutions

Listed below are altitudes (in thousands of feet) and outside air temperatures (in °F) recorded by...
Listed below are altitudes (in thousands of feet) and outside air temperatures (in °F) recorded by a curious passenger during Delta Flight 1053 from New Orleans to Atlanta. Altitude 3 10 14 22 28 31 33 Temperature 57 37 24 -5 -30 -41 -54 Below is the scatterplot of this data with the best-fit line. Correlation coefficient (r) = -0.997 Meanaltitude = 20.14 Meantemperature = -1.71 Standard deviationaltitude (sx) = 11.423 Standard deviationtemperature (sy) = 42.221 Write down the equation...
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight....
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​ (c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with the altitude of 6327 ft​ (or 6.327 thousand​ feet). Altitude 4 6 16 22 27 31 33...
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight....
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​ (c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with the altitude of 6327 ft​ (or 6.327 thousand​ feet). Altitude   Temperature 3   60 10   40 13   22...
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight....
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​ (c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with the altitude of 6327 ft​ (or 6.327 thousand​ feet). Altitude Temperature 2 55 9 33 16 23...
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight....
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​(c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with the altitude of 6327 ft​ (or 6.327 thousand​ feet). Altitude 4 11 15 20 29 31 33   ...
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight....
Listed below are altitudes​ (thousands of​ feet) and outside air temperatures​ (°F) recorded during a flight. Find the​ (a) explained​ variation, (b) unexplained​ variation, and​ (c) indicated prediction interval. There is sufficient evidence to support a claim of a linear​ correlation, so it is reasonable to use the regression equation when making predictions. For the prediction​ interval, use a​ 95% confidence level with the altitude of 6327 ft​ (or 6.327 thousand​ feet). Altitude 4 12 15 20 28 31 33...
Listed below are altitudes (thousands of feet) and outside air temperatures (degrees Fahrenheit) recorded during Delta...
Listed below are altitudes (thousands of feet) and outside air temperatures (degrees Fahrenheit) recorded during Delta Flight 1053 from New Orleans to Atlanta. Construct a scatterplot, and find the value of the linear correlation coefficient Also find the -value or the critical values of from Table A-6 (page 732) using Is there sufficient evidence to support a claim that there is a linear correlation between altitude and outside air temperature? Altitude 3 10 14 22 28 31 33 Temp 57...
1. Listed below are altitudes (thousands of feet) and air temperatures (degree Fahrenheit). Altitude 3 10...
1. Listed below are altitudes (thousands of feet) and air temperatures (degree Fahrenheit). Altitude 3 10 14 22 28 31 33 Temperature 57 37 24 -5 -30 -41 -54 a. Construct a scatterplot. b. Find the value of the linear correlation coefficient r. c. Find the regression equation and draw the regression line on the scatterplot in a). d. Find the critical values from Table A-6 using α = .05 and draw the graph. e. Determine whether there is sufficient...
recorded temperatures (in F) and precipitation in (inches) at a place are as follows: Temperature(x) 86,...
recorded temperatures (in F) and precipitation in (inches) at a place are as follows: Temperature(x) 86, 81,83,89,90,74,64 Precipitation(y) 3.4,1.8,3.5,3.6,3.7,1.5,0.2 A Find the sample correlation coeficcient, r B. What is the meaning of the value of r that you have calculated in part A? C. Find the significance of the population correlation coefficient, p at a=0.05 D. Find the value of the coefficient of variation r2 E. What is the meaning of r2 value you have calculated in part D? F....
1.The yearly salary (in thousands of dollars) for a small company are listed below. Find the...
1.The yearly salary (in thousands of dollars) for a small company are listed below. Find the mode, mean, median and population standard deviation and use the Empirical Rule to find a 95% confidence interval. 74 46 397 75 98 67 46 96 2. From the Measures of Central Tendencies computed above, which one would you use to represent the “average” company salary. Explain your reasoning.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT