Question
Please use R program to solve with explanation.

Enterprise Industries produces Fresh, a liquid landry detergent. The company wishes to study the relationship between price and demand for the large size bottle of Fresh in its sales regions. The company has gathered data (see Table) concerning demand for Fresh in 30 sales regions of equal sales potential.

i = 1,2,.,30 ythe demand for the large size bottle of Fresh (in hundreds of thousand) in sales region i Xithe price (in dolla
0 0
Add a comment Improve this question Transcribed image text
Answer #1

I used R software to solve this problem.

R code:

> x=c(-0.05,0.25,0.6,0,0.25,0.2,0.15,0.05,-0.15,0.15,0.2,0.1,0.4,0.45,0.35,0.3,0.5,0.5,0.4,-0.05,-0.05,-0.1,0.2,0.1,0.5,0.6,-0.05,0,0.05,0.65)
> y=c(7.38,8.51,9.52,7.5,9.33,8.28,8.75,7.87,7.1,8,7.89,8.15,9.1,8.86,8.9,8.87,9.26,9,8.7,7.95,7.65,7.27,8,8.5,8.75,9.21,8.27,7.67,7.93,9.26)
> fit=lm(y~x)
> summary(fit)

Call:
lm(formula = y ~ x)

Residuals:
Min 1Q Median 3Q Max
-0.44792 -0.23301 -0.06905 0.16779 0.86284

Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 7.8209 0.0807 96.91 < 2e-16 ***
x 2.5849 0.2558 10.10 7.66e-11 ***
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.3212 on 28 degrees of freedom
Multiple R-squared: 0.7847, Adjusted R-squared: 0.7771
F-statistic: 102.1 on 1 and 28 DF, p-value: 7.664e-11

a) Least square regression equation:

Y = 7.8209 + 2.5849 X

b)

> anova(fit)
Analysis of Variance Table

Response: y
Df Sum Sq Mean Sq F value Pr(>F)
x 1 10.5347 10.5347 102.08 7.664e-11 ***
Residuals 28 2.8896 0.1032
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Total variation = 10.5347 + 2.8896 = 13.4243

Explained variation = 10.5347

SSE = 2.8896

r2 = 0.7847

It means that price difference explains 78.47 % of variation in demand.

c)

t statistic = 10.10 p value = 7.66e-11

Since p value is less than 0.05 we reject H0.

d)

F statistic = 102.08 p value = 7.664e-11

Since p value is less than 0.05 we reject H0 and conclude that relationship is statistically significant.

e)

t statistic = 96.91 p value < 2e-16

Hence coefficient of intercept (beta) is statistically significant.

f)

s = residual's standard error = 0.3212

s2 = Residual variance = 0.1032

Add a comment
Know the answer?
Add Answer to:
Please use R program to solve with explanation. Enterprise Industries produces Fresh, a liquid landry detergent....
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
  • Clean Industries produces Fresh, a brand of liquid laundry detergent. In order to better manage its...

    Clean Industries produces Fresh, a brand of liquid laundry detergent. In order to better manage its inventory and make revenue projections, the company would like to better predict the quantity demanded for its product. The company has gathered data concerning the quantity demanded for Fresh, along with variables believed to affect the demand for Fresh, over the last 30 sales periods. The following information was collected: Variable Description Name DEMAND sales pericd PRICE The quantity demanded for the large size...

  • 4. (20 points) Enterprise Industries produces Fresh, a brand of liquid laundry detergent. In order to study the relati...

    4. (20 points) Enterprise Industries produces Fresh, a brand of liquid laundry detergent. In order to study the relationship between price and demand for the large bottle of Fresh, the company has gathered data concerning demand for Fresh over the last 30 sales periods. The response variable, demand, is the demand for the large bottle of Fresh (in hundreds of thousands of bottles) in the sales period. The explanatory variable, pricedif, is the average industry price of competitors detergents in...

  • The following partial MINITAB regression output for the Fresh detergent data relates to predicting demand for...

    The following partial MINITAB regression output for the Fresh detergent data relates to predicting demand for future sales periods in which the price difference will be. 10 Predicted Values for New Observations New ObsFit SE Fit 1 8 .0806 0.0648 2 8 .4804 0.0586 95% CI (7.9479, 8.2133) (8.3604, 8.6004) 95% PI (7.4187, 8.7425) (7.8209, 9.1398) Click here for the Excel Data File (a) Report a point estimate of and a 95 percent confidence interval for the mean demand for...

  • Consider the demand for Fresh Detergent in a future sales period when Enterprise Industries' price for...

    Consider the demand for Fresh Detergent in a future sales period when Enterprise Industries' price for Fresh will be x1 = 3.70, the average price of competitors’ similar detergents will be x2 = 3.90, and Enterprise Industries' advertising expenditure for Fresh will be x3 = 6.50, y = the demand in hundreds of thousands of bottles. A 95 percent prediction interval for this demand is given on the following Excel add-in (MegaStat) output: 95% Confidence Interval 95% Prediction Interval Predicted...

  • Consider the demand for Fresh Detergent in a future sales period when Enterprise Industries' price for...

    Consider the demand for Fresh Detergent in a future sales period when Enterprise Industries' price for Fresh will be x1 = 3.70, the average price of competitors’ similar detergents will be x2 = 3.90, and Enterprise Industries' advertising expenditure for Fresh will be x3 = 6.50, y = the demand in hundreds of thousands of bottles. A 95 percent prediction interval for this demand is given on the following Excel add-in (MegaStat) output: 95% Confidence Interval 95% Prediction Interval Predicted...

  • SOLVE C & D PLEASE The following partial MINITAB regression output for the Fresh detergent data...

    SOLVE C & D PLEASE The following partial MINITAB regression output for the Fresh detergent data relates to predicting demand for future sales periods in which the price difference will be 10 Predicted Values for New Observations New Obs Fit SE Fit 1 8.1879 .1607 2 8.3020 .135 95% CI (7.8588, 8.5170) (8.0262, 8.5779) 95% PI (6.6529, 9.7228) (6.7776, 9.8264) (a) Report a point estimate of and a 95 percent confidence interval for the mean demand for Fresh in all...

  • The following partial MINITAB regression output for the Fresh detergent data relates to predictin...

    The following partial MINITAB regression output for the Fresh detergent data relates to predicting demand for future sales periods in which the price difference will be.10 Predicted Values for New Observations New Obs Flt 8.4139 2 8.4845 SE FIt 1483 125 95% CI (8.1101, 8.7177) (8.2284, 8.7407) 95% PI (6.9872, 9.8406) 7.0672, 9.9019) (a) Report a point estimate of and a 95 percant confidence interval for the mean demand for Fresh in all sales periods when the price difference is.10....

  • The following partial MINITAB regression output for the Fresh detergent data relates to predicting demand for...

    The following partial MINITAB regression output for the Fresh detergent data relates to predicting demand for future sales periods in which the price difference will be .10 Predicted Values for New Observations New Obs Fit SE Fit 8.4139 2 8.4845 1483 125 95% CI (8.1101, 8.7177) (8.2284, 8.7407) 95% Pl (6.9872, 9.8406) (7.0672, 9.9019) (a) Report a point estimate of and a 95 percent confidence interval for the mean demand for Fresh in all sales periods when the price difference...

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