Question

In: Physics

The following table shows the average stock price, in dollars, of XYZ Corporation in the given...

The following table shows the average stock price, in dollars, of XYZ Corporation in the given month.

Month Stock price
January 2011 $43.73
February 2011 $44.23
March 2011 $44.42
April 2011 $45.21
May 2011 $45.92

(a) Find the equation of the regression line. (Let P be the stock price in dollars and t the time in months since January, 2011. Round the regression coefficients to three decimal places.)
P(t) =

Solutions

Expert Solution

For the given data

Month Stock Price
Jan-11 43.73
Feb-11 44.23
Mar-11 44.42
Apr-11 45.21
May-11 45.92

a. let equation of the regression line be y = mx + c
here y represents the stock price and x represents number of months from January, hence January being 1
so,
From the data
y'(1) = 43.73
y'(2) = 44.23
y'(3) = 44.42
y'(4) = 45.21
y'(5) = 45.92
also,
y(1) = m + c
y(2) = 2m + c
y(3) = 3m + c
y(4) = 4m + c
y(5) = 5m + c

to minimise the error
E = (y'(1) - y(1))^2 + (y'(2) - y(2))^2 + (y'(3) - y(3))^2 + (y'(4) - y(4))^2 + (y'(5) + y(5))^2 has to be minimised
E = (43.73 - m - c)^2 + (44.23 - 2m - c)^2 + (44.42 - 3m - c)^2 + (45.21 - 4m - c)^2 + (45.92 - 5m - c)^2 has to be minimised
hence
dE/dm = 0 and dE/dc = 0
dE/dm = -2(43.73 - m - c) - 4(44.23 - 2m - c) - 6(44.42 - 3m - c) - 8 (45.21 - 4m - c) - 10(45.92 - 5m - c) = 0
dE/dc = -2[(43.73 - m - c) + (44.23 - 2m - c) + (44.42 - 3m - c) + (45.21 - 4m - c) + (45.92 - 5m - c)] = 0
223.51 - 15m - 5c = 0
and
1351.78 = 110m + 30c
c = (1351.78 - 110m)/30
223.51*6 - 1351.78= 15m*6 - 110 m
m = 0.5359 , c = 43.09436666666
hence the equation fo regression is
P(t) = 0.5359*t + 43.094
P(0) = 43.094
P(1) = 43.6299
P(2) = 44.1658
P(3) = 44.7017
P(4) = 45.2376
P(5) = 45.7735

this is clsoe to our data


Related Solutions

Price of eggs and milk: The following table presents the average price in dollars for a...
Price of eggs and milk: The following table presents the average price in dollars for a dozen eggs and a gallon of milk for each month from February through November 2001. Use a TI-84 calculator to answer the following. Dozen Eggs Gallon of Milk 1.21 2.66 1.13 2.67 1.01 2.69 1.20 2.68 1.15 2.71 1.28 2.67 1.26 2.90 1.33 2.91 1.45 2.94 1.56 2.95 If the price of eggs differs by $0.30 from one month to the next, by how...
Price of eggs and milk: The following table presents the average price in dollars for a...
Price of eggs and milk: The following table presents the average price in dollars for a dozen eggs and a gallon of milk for each month from January through October 2010 . Dozen Eggs Gallon of Milk 1.79 3.12 1.77 2.69 1.28 3.76 1.78 2.78 0.88 3.00 0.98 3.08 1.15 3.31 1.05 3.15 1.86 2.94 1.83 2.73 If the price of eggs differs by $0.25 from one month to the next, by how much would you expect the price of...
The following table presents the average price in dollars for a dozen eggs and a gallon...
The following table presents the average price in dollars for a dozen eggs and a gallon of milk for each month in a recent year. Dozen Eggs Gallon of Milk 1.94 3.58 1.80 3.52 1.77 3.50 1.83 3.47 1.69 3.43 1.67 3.40 1,65 3.43 1.88 3.47 1.89 3.47 1.96 3.52 1.96 3.54 2.01 3.58 If a linear regression model were fit, what is the value of the slope and the value of the y-intercept? Please round to 3 decimal places...
XYZ Corporation acquires the stock of TMP Corporation for $150 million dollars. As part of the...
XYZ Corporation acquires the stock of TMP Corporation for $150 million dollars. As part of the transaction, XYZ does an appraisal and determines that the value of all of the assets of TMP is only $100 million. Does this mean that XYZ paid too much to buy TMP? Explain your answer.
Q1: The following table shows average income of buyers, the price of good G, the price...
Q1: The following table shows average income of buyers, the price of good G, the price of good H, the quantity demanded (QD) of good G and the quantity demanded (QD) of good H for 5 periods. Use the information in the table to answer the following questions. Do not round your answers early because your final results will be less accurate. Period Average Income Price of Good G Price of Good H QD of Good G QD of Good...
The remaining problems will refer to the following table, which shows the average price of one...
The remaining problems will refer to the following table, which shows the average price of one gallon of gas in the United States over the past few weeks. (Data from ycharts.com/indicators/us gas price) Date March 2 March 9 March 16 March 23 March 30 Price per gallon $2.514 $2.468 $2.343 $2.217 $2.103 Let f(t) be the price of one gallon of gas t days after February 29. (So, for example, the table shows that f(9) = 2.468.) Estimate f′(30). Use...
You are given the following demand table which shows the relationship between the price of a...
You are given the following demand table which shows the relationship between the price of a Honda Civic and the quantity demanded of Civics and Toyota Corollas: Price of Civic Quantity of Civics Quantity of Corollas $20,000 600 1000 $16,000 1200 800 a) What is the arc price elasticity of demand for Civics? b) What is the cross-price elasticity of demand for Corollas with respect to Civics?
The following table shows the average retail price of butter and the Consumer Price Index from 1980 to 2010
The following table shows the average retail price of butter and the Consumer Price Index from 1980 to 2010, scaled so that the CPI 100 in 1980. 1980199020002010CPI100158.56208.98218.06Retail price of butter(salted, grade AA, per lb.)$1.88$1.99$2.52$2.88a. Calculate the real price of butter in 1980 dollars. Has the real price increased/decreased/ stayed the same from 1980 to 2000? From 1980 to 2010? b. What is the percentage change in the real price (1980 dollars) from 1980 to 2000? From 1980 to 2010? c. Convert the...
The following table shows the average petrol price and the number of online shopping orders over...
The following table shows the average petrol price and the number of online shopping orders over a given month: Petrol Price and Online Shopping Average Petrol Price per gallon over a month ($) Number of Online Shopping Orders 3.8025 3,860 4.975 4,172 1.525 1,389 3.81 3,766 1.515 2,072 4.0275 3,286 4.7075 3,840 4.8725 4,688 1.7425 1,795 1.3225 1,539 The relationship between the average petrol price and the number of online shopping orders in a given month is proposed to follow...
The following table shows the average petrol price and the number of online shopping orders over...
The following table shows the average petrol price and the number of online shopping orders over a given month: Petrol Price and Online Shopping Average Petrol Price per gallon over a month ($) Number of Online Shopping Orders 1.57 1,398 4.8225 4,109 2.2725 2,257 3.42 2,644 3.2225 3,257 4.3175 3,530 1.3275 1,791 3.68 3,859 4.3025 3,544 2.065 2,173 The relationship between the average petrol price and the number of online shopping orders in a given month is proposed to follow...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT