Question

In: Math

Problem 1: Oil Production Data: The Data in the following are the annual world crude oil...

Problem 1: Oil Production Data: The Data in the following are the annual world crude oil production in millions of barrels for the period 1880-1988. The data are taken from Moore and McCabe( 1993, p. 147).

Here is the code help you to paste the data into your R.

data5<-'year barrels
1880 30
1890 77
1900 149
1905 215
1910 328
1915 432
1920 689
1925 1069
1930 1412
1935 1655
1940 2150
1945 2595
1950 3803
1955 5626
1960 7674
1962 8882
1964 10310
1966 12016
1968 14104
1970 16690
1972 18584
1974 20389
1976 20188
1978 21922
1980 21722
1982 19411
1984 19837
1986 20246
1988 21388
'
data5n<-read.table(textConnection(object=data5),
header=TRUE,
sep="",
stringsAsFactors = FALSE)

  1. Fit a linear regression line of log (OIL) on Year. Assess the goodness of fit of the model.
  2. Construct the index plot of the standardized residuals. This graph shows clearly that one of the standard assumptions is violated. Which one?

Solutions

Expert Solution

Code:

#Data

Year=c(1880,1890,1900,1905,1910,1915,1920,1925,1930,1935,1940,1945,1950,1955,1960,1962,1964,1966,1968,1970,1972,1974,1976,1978,1980,1982,1984,1986,1988)
Oil=c(30,77,149,215,328,432,689,1069,1412,1655,2150,2595,3803,5626,7674,8882,10310,12016,14104,16690,18584,20389,20188,21922,21722,19411,19837,20246,21388)
data5<-data.frame(Year=c(1880,1890,1900,1905,1910,1915,1920,1925,1930,1935,1940,1945,1950,1955,1960,1962,1964,1966,1968,1970,1972,1974,1976,1978,1980,1982,1984,1986,1988),
Oil=c(30,77,149,215,328,432,689,1069,1412,1655,2150,2595,3803,5626,7674,8882,10310,12016,14104,16690,18584,20389,20188,21922,21722,19411,19837,20246,21388))

#Fitting regression model
LR<-lm(log(Oil)~Year,data = data5)
summary(LR)

#Plot Regression line
plot(Year,Oil)
abline(LR)

#std residuals plot
oil.stdres <-rstandard(LR)
plot(data5$Year, oil.stdres,
ylab="Standardized Residuals",
xlab="Year")
abline(0, 0)

Answer:

summary(LR)

Call:

lm(formula = log(Oil) ~ Year, data = data5)

Residuals:

Min 1Q Median 3Q Max

-0.58645 -0.07824 0.07245 0.16625 0.29754

Coefficients:

Estimate Std. Error t value Pr(>|t|)   

(Intercept) -1.119e+02 2.994e+00 -37.37 <2e-16 ***

Year 6.159e-02 1.536e-03 40.09 <2e-16 ***

---

Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.2564 on 27 degrees of freedom

Multiple R-squared: 0.9835, Adjusted R-squared: 0.9829

F-statistic: 1607 on 1 and 27 DF, p-value: < 2.2e-16

a. As the adjusted R squared is 0.9829 is high , this is regression model is good fit.

b. This graph shows that assumption of independence of error term is violated. This shows there is dependent positive correlation exist.


Related Solutions

Problem 1: Oil Production Data: The Data in the following are the annual world crude oil...
Problem 1: Oil Production Data: The Data in the following are the annual world crude oil production in millions of barrels for the period 1880-1988. The data are taken from Moore and McCabe( 1993, p. 147). Here is the code help you to paste the data into your R. data5<-'year barrels 1880 30 1890 77 1900 149 1905 215 1910 328 1915 432 1920 689 1925 1069 1930 1412 1935 1655 1940 2150 1945 2595 1950 3803 1955 5626 1960...
Iran supplies 10% of the world market in Crude oil. The market demand for Crude is...
Iran supplies 10% of the world market in Crude oil. The market demand for Crude is price-inelastic, with εCC = -0.25. The Ayatollah has come up with a new idea – “we’ll withhold half of our oil from the market, raise price and get more revenue, given that demand is so inelastic. You are the economic advisor to the Ayatollah. a)Is the Ayatollah right? b)Explain your answer to (a).
If you look at the US production of crude oil, you can see that the data...
If you look at the US production of crude oil, you can see that the data trend for peak oil occurring around 1970. Since then it has declined with a plateau here and there. However around 2010, US oil production has increased quite a bit. What do you think is the cause for increase in oil production at the time?
World production of crude oil in 2010 was about 3.5 billion tonnes. Assume that we wish...
World production of crude oil in 2010 was about 3.5 billion tonnes. Assume that we wish to replace 10% of this supply with a transportation fuel derived from biomass. Assume that the energy content of biomass is about 1% of incident solar energy during the growing season. How many hectares of arable land worldwide would be needed to supply this quantity of biomass fuel? What fraction of arable land area worldwide does this represent?
Table: Production Possibilities for Tractors and Crude Oil Country Tractors Crude Oil (thousands of barrels) United...
Table: Production Possibilities for Tractors and Crude Oil Country Tractors Crude Oil (thousands of barrels) United States 80 40 Mexico 60 180 Reference: Ref 8-5 Table: The Production Possibilities for Tractors and Crude Oil (Table: The Production Possibilities for Tractors and Crude Oil) Use Table: The Production Possibilities for Tractors and Crude Oil. The United States has a comparative advantage in _____, and Mexico has a comparative advantage in _____. Select one: a. both goods; neither good b. tractors; crude...
1. (6 marks) Tenet Oil Production (TOP) is the largest producer of offshore crude oil and...
1. Tenet Oil Production (TOP) is the largest producer of offshore crude oil and natural gas in Country X. With the aging of her existing oil fields, the company is considering a proposal of developing an oil well located in the Atlantic Ocean acquired 2 years ago. TOP is considering whether to develop the Atlantic Ocean oil well next year. Some relevant financial figures of this proposal are as follows: • The $800 million of initial acquisition cost of the...
chandler Oil has 5000 barrels of crude oil 1 and 10,000 barrels of crude oil 2...
chandler Oil has 5000 barrels of crude oil 1 and 10,000 barrels of crude oil 2 available. Chandler sells gasoline and heating oil. These products are produced by blending the two crude oils together. Each barrel of crude oil 1 has a quality level of 10 and each barrel of crude oil 2 has a quality level of 5.6 Gasoline must have an average quality level of at least 8, whereas heating oil must have an average quality level of...
SOLVE USING MATLAB Consider the world oil production data of Computer Problem 3.2.3. Find the best...
SOLVE USING MATLAB Consider the world oil production data of Computer Problem 3.2.3. Find the best least squares (a) line, (b) parabola, and (c) cubic curve through the 10 data points and the RMSE of the fits. Use each to estimate the 2010 production level. Which fit best represents the data in terms of RMSE? year bbl/day (×106) 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 67.052 68.008 69.803 72.024 73.400 72.063 74.669 74.487 74.065 76.777
The rate of crude oil production from 2008 to 2013 by an oil company can be...
The rate of crude oil production from 2008 to 2013 by an oil company can be approximated by ?(?) = 6.2?^2 − 146? + 1910 million barrels per year where ? is time in years since the start of 2000. During that time, the price of oil was approximately ?(?) = 47?^0.046? dollars per barrel. Obtain an expression for the total oil revenue ?(?) from the start 0f 2008 to the start of year ? as a function of ?....
Energy markets are flashing a warning: The world is swimming in crude oil, and the glut...
Energy markets are flashing a warning: The world is swimming in crude oil, and the glut won't drain away any time soon. Twin shocks -- the coronavirus pandemic and the breakdown of Russia's partnership with the Organization of the Petroleum Exporting Countries -- threaten to flood the market with cheap oil at a time when demand is falling. That has caused the relationship between oil prices at different dates, a closely watched barometer of the balance between supply and demand,...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT